![]() ![]() ![]() Set WshShell = WScript.CreateObject("WScript.Shell") UnattendFile = "C:\Windows\Panther\unattend.xml" In Specialize Pass//Microsoft-Windows-UnattendedJoin//Identificationĭim answer, WorkgroupName, unattendFile, WshShell, fso, unattendFileObject, strContents Now you will have to Edit your Win7 Image and switch the unattend.xml against one which contains Reg add HKLM\System\Setup /v CmdLine /t REG_SZ /d „cmd /c cscript //nologo c:\INSTALL\EditUnattend.vbs“ /f We used this method when it wasnt possible to have the setup ask for the computername in "the early days" of windows 7 and wrote the workstation name into the unattend.xml during/before Windows-Setup is executedĪfter Running Sysprep (without shutdown option), add this command and afterwards reboot and take the Image: You could define a pre-setup script asking for the workgroup name and write this information into you unattend.xml so its ready when specialize phase comes up Okay, I think a dialogue asking for workgroup name cant be done by sysprep settings
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |