MSFN Forum: Edit unattend.xml offline after Sysprep has run - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Edit unattend.xml offline after Sysprep has run Rate Topic: -----

#1 User is offline   Mahon 

  • Group: Members
  • Posts: 1
  • Joined: 20-November 08

Posted 28 January 2009 - 05:09 AM

Hi all,

Just starting to get to grips with Vista, Sysprep and unattended installations. I was wondering if it's possible to edit the unattend.xml file in offline mode after Sysprep has run? What I'm currently doing is:

1. Install Vista Enterprise
2. Configure system, install applications
3. Create unattend.xml file using SIM
4. Run sysprep /generalize /oobe /shutdown /unattend:unattend.xml
5. PC shuts down, boot to WinPE, capture image

Once I've captured the image, I can mount it in offline mode and inject drivers using pkgmgr. Is it possible at this stage to edit the unattend.xml file, commit the changes to the image, so that when it runs, setup will use the new settings I've specified? Or have the settings from unattend.xml already been parsed into the system?

The reason I want to do it is to cut out the image capture part of the process (i.e. every time I want to change a setting in unattend.xml I'll have to recapture the image)

Cheers!


#2 User is offline   solar 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 26-January 09

Posted 03 February 2009 - 01:09 AM

View PostMahon, on Jan 28 2009, 12:09 PM, said:

Hi all,

Just starting to get to grips with Vista, Sysprep and unattended installations. I was wondering if it's possible to edit the unattend.xml file in offline mode after Sysprep has run? What I'm currently doing is:

1. Install Vista Enterprise
2. Configure system, install applications
3. Create unattend.xml file using SIM
4. Run sysprep /generalize /oobe /shutdown /unattend:unattend.xml
5. PC shuts down, boot to WinPE, capture image

Once I've captured the image, I can mount it in offline mode and inject drivers using pkgmgr. Is it possible at this stage to edit the unattend.xml file, commit the changes to the image, so that when it runs, setup will use the new settings I've specified? Or have the settings from unattend.xml already been parsed into the system?

The reason I want to do it is to cut out the image capture part of the process (i.e. every time I want to change a setting in unattend.xml I'll have to recapture the image)

Cheers!



Good question.. typically no one replies ;)

#3 User is offline   nyoung21 

  • Group: Members
  • Posts: 1
  • Joined: 04-June 08

Posted 03 April 2009 - 06:00 PM

Excellent question.

I have come across this same exact problem on a Windows Server Core deployment.

Thus far I have tried editing the C:\Windows\Panther\unattend.xml with no luck.

Is there some type of way to replace the unattend.xml with a modified copy like we could with sysprep.inf?

- Nick

#4 User is offline   graham6282 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 24-February 07

Posted 09 November 2009 - 11:25 PM

View PostMahon, on Jan 28 2009, 11:09 AM, said:

Hi all,

Just starting to get to grips with Vista, Sysprep and unattended installations. I was wondering if it's possible to edit the unattend.xml file in offline mode after Sysprep has run? What I'm currently doing is:

1. Install Vista Enterprise
2. Configure system, install applications
3. Create unattend.xml file using SIM
4. Run sysprep /generalize /oobe /shutdown /unattend:unattend.xml
5. PC shuts down, boot to WinPE, capture image

Once I've captured the image, I can mount it in offline mode and inject drivers using pkgmgr. Is it possible at this stage to edit the unattend.xml file, commit the changes to the image, so that when it runs, setup will use the new settings I've specified? Or have the settings from unattend.xml already been parsed into the system?

The reason I want to do it is to cut out the image capture part of the process (i.e. every time I want to change a setting in unattend.xml I'll have to recapture the image)

Cheers!



That is a good question and one i have had trouble looking up, i wonder if you have tested if it works yet???

I am currently doing a laptop, with all apps installed, and drivers and with windows activated, although i let it run into windows after sysprep and shutdown. It never stored all the changes and it even asked for the key (i double checked i put that in there lol), once i got back into windows, for some reason, windows was activated?? Must store the reg key or something??

Anyways, i wanted to use the image for another computer but i wondered if it would keep the drivers installed?? or not?? also since it asks for the key, i was thinking of entering a different key for the other computer, but one thing gets me. Windows was activated?? If it stores that info, what other info has it stored that might corrupt the installation, or at least cause problems in the future, or performance issues.

I will try it, but have got a few things to do over the next few days so might not be this week so would be nice if you could leave feedback on what you done and if any errors occurred.

Cheers :)


edit: Actually, just thought, will have something to do with passes, so if you use settings at /generalize, then they WILL be applied. Don't know when specialize is run, but oobe is obviously not run until first login. Will look that up actually :)

This post has been edited by graham6282: 10 November 2009 - 11:11 AM


#5 User is offline   gpglang 

  • Group: Members
  • Posts: 5
  • Joined: 13-April 05

Posted 12 October 2010 - 04:21 AM

For those still not knowing, the place to store your edited unattend.xml is:
C:\Windows\Panther\unattend\unattend.xml
Now it will work

Goog luck

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy