Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Windows 7 Scripted OS Install Unattended xml file

Updated: 19 Sep 2010 | 2 comments
spazzzen's picture
0 0 Votes
Login to vote

I have DS 6.9 SP3 which supports Windows 7, so I am trying to get a jump on things and get a working Scripted OS Install (SOI) working.  While the install seams to work correctly with WinPE I can't get the xml file to make it completely automated.  I tried using the xml file posted here but it still asks me questions like language, hard drive, and which version of Windows 7.  The xml files is a complete copy of the one on the page and it still asks me for more information.  Any ideas on how to make the SOI work without any user intervention?

Comments

MurrayW's picture
20
Sep
2009
0 Votes 0
Login to vote

Hi, I was tackling the same

Hi, I was tackling the same thing, so maybe this will help. Firstly I am using SP2 at the moment, so I am needing to script my own solution. I have a completely silent instalaltion of W7, and have acheived this by:

1) I execute a "Run Script" task on the DS (without waiting for agent), this executes a "ReplaceTokens" pass on a pre-configured "unattend.xml" file and pulls custom build data from some custom data sources etc. The output XML is named with "%ID%" and placed in the temp folder.

2) I then deploy my base Altiris IMG version of a W7 install. A couple of things here;

  • Microsoft indicates that using an unattend with the "install.wim" on the instalaltion disc/ISO will not work correctly. Some people have this working, but I don't know how. Create a "master" computer by doing a base install, then use IMAGEX to capture your own customised WIM and/or IMG file.
     
  • Don't bother enabling the built-in administrator and customising it's profile etc. If you use SYSPREP this will all get reset/deleted during the OOBE phase.
     
  • Yes, I am still using IMG formats. There are a number of things I would love to use WIMs for, but our deployment environemtn needs multi-casting and we don't have the bits to enable that. A SYSPREP generalized image works a treat though.

3) I then use another "Run Script" to fix the boot manager and copy the modified XML file over to the "Panther" folder.

4) I generated my XML in WSIM, but found that the following sections/passes were required to make it silent:

  • Specialize Pass: Microsoft-Windows-Shell-Setup = ComptuerName, RegisteredOwned
  • Specialize Pass: Microsoft-Windows-Setup <ImageInstall \ OSImage> = InstallTo (Disk / Partition)
  • OOBE Pass: Microsoft-Windows-Shell-Setup = RegisteredOwned, TimeZone, RegisteredOrganization
  • OOBE Pass: Microsoft-Windows-Shell-Setup <OOBE> = HideEula, HideWirelessSetupInOOBE, NetworkLocation, ProtectYourPC
  • OOBE Pass: Microsoft-Windows-Shell-Setup <UserAccounts \ LocalAccounts> = Name, Group (Administrators), DisplayName, Description, Password
  • OOBE Pass: Microsoft-WindowsInternational-Core = InputLocale, SystemLocale, UILanguage, UILanguageFallback, UserLocale

Sure, the above won't handle partition, but will hide everything else.

Good luck... and hit me back if you find a way to install DAgent without breaking the "setupcomplete.cmd" etc.

Murray

Quote: "I know not what other much is else. But what other else is there?" - ***** (OP hidden as that was too awful! Lol)

JohnyN's picture
19
Mar
2010
0 Votes 0
Login to vote

If you're struggling with DAgent still

I have a post image script to copy the dagent.msi file from the altiris share to the local computer and then use SetupComplete.cmd to install it.