Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Recommendations for Vista sysprep usage?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
BoostFrenzy

BoostFrenzy
  • Member
  • 4 posts
  • Joined 14-October 05
I like to install windows fresh, apply all updates and new drivers, customize the environment/add some branding, then run sysprep and make an image... that way when using the image it comes to OOBE and asks for product key but SIDs are changed and drivers are all fresh.

With vista, when i run sysprep with oobe and generalize switches, when it reboots to oobe it doesn't ask for a product key and it deletes all the drivers i installed before sysprepping, but my customizations/environments settings seem to be retained

what can i do? i don't want to make images and have to manually update the drivers, i don't want to script them either, i just want them to stay during a sysprep :/

thanks


How to remove advertisement from MSFN

#2
fletcherjames

fletcherjames

    Newbie

  • Member
  • 19 posts
  • Joined 02-June 07
This is the setting I used (in my case, it was to keep VMWare Tools installed):

<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>

#3
BoostFrenzy

BoostFrenzy
  • Member
  • 4 posts
  • Joined 14-October 05

This is the setting I used (in my case, it was to keep VMWare Tools installed):

<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>


I can't do it from the command line? I'm not using any XML files on reseal or anything

#4
BoostFrenzy

BoostFrenzy
  • Member
  • 4 posts
  • Joined 14-October 05
how do i generate an answer file? i guess this is the only option :/

#5
fletcherjames

fletcherjames

    Newbie

  • Member
  • 19 posts
  • Joined 02-June 07
That's a long story... it's essentially the main topic of this entire forum. It boils down to two methods:

Option A:

Download Microsoft's Business Desktop Deployment kit, the WAIK (Windows Automated Installation Kit) etc. Read a bunch of manuals. There's a program called Windows SIM and another called "ImageX" that are involved. You create a special image file of your system disk with ImageX, and then use Windows SIM to create an answer file. You also need to have a stock Windows Vista CD available. This system offers a GUI, lists all of your options, does syntax checks, and helps keep some sort of inventory of your various setups.

My impression is (not having used it) that there's a steep learning curve, and then you can manage a large number of images and so forth quite well. This forum contains a guide which is much easier to understand than MS's fragmented documentation.

Option B:

Scan this forum for examples of Unttend.xml files (or Autounttend.xml), and grab bits and pieces. (For example, I posted one a couple of days ago in another thread regarding NetworkLocation and DontClearTaskBar -- it almost works in my application <g>). You can use XML Notepad or any other XML-aware editor (I use UltraEdit) to do the edits. The XML syntax is very rudimentary.

IN EITHER CASE, there are a large number of fairly complex & confusing settings, which are a major topic of discussion here. You will wish to refer to:

http://technet2.micr...3.mspx?mfr=true

This is the reference guide for all settings.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users