Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Unattended.xml

08 Feb 2016   #1
vs2015sv

NY
 
 
Unattended.xml

I have a question.

If I have a unattended.xml and place it into c:\windows\system32\sysprep and if I run sysprep.exe with OOBE, will the unattended get copied into c:\windows\panther?


Is the unattended file required to be in in c:\windows\panther?


My System SpecsSystem Spec
.
11 Feb 2016   #2
Kari

Microsoft Community Contributor Award Recipient

 

When the Sysprep is run and the /unattend:X:\MyAnswerFile switch is not used (X:\MyAnswerFile = path to your answer file), Sysprep looks if the folder C:\Windows\System32\Sysprep contains an answer file unattend.xml. If not, Sysprep will be run without an answer file.

In other words, if you name your answer file as unattend.xml and save it to C:\Windows\System32\Sysprep folder, it will be used. If you name it anything else, or if you place it to any other location, you have to use the /unattend:X:\MyAnswerFile switch.

Example 1: An answer file called unattend.xml saved in C:\Windows\System32\Sysprep folder, this command would run Sysprep using that answer file, rebooting to OOBE mode:

Code:
%windir%\system32\sysprep\sysprep.exe /oobe /reboot
The /unattend switch was not needed because Sysprep found an answer file with default name in default location.

Example 2: An answer file called MyAnswerFile.xml saved in X:\AnswerFiles folder, this command would run Sysprep using that answer file, rebooting to OOBE mode:

Code:
%windir%\system32\sysprep\sysprep.exe /oobe /reboot /unattend:X:\AnswerFiles\MyAnswerFile.xml
The answer file will remain intact and after the OOBE it can be found where you had stored it if your answer file does not specifically tell Sysprep to remove it when ready.

The folder C:\Windows\System32\Sysprep\Panther contains logs of all Sysprep runs, nothing else.

Kari
My System SpecsSystem Spec
Reply

 Unattended.xml




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
BSOD-usually When Unattended
I have recently upgraded two virtually identical PCs from XP to W7. One is fine, one crashes, always when not in use. Debug files are attached I have googled a some of the error messages and they seem to indicate a drive going bad, but not sure. The drive is about a year old and was part of the...
BSOD Help and Support
need help on my unattended.xml
<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"...
General Discussion
WAIK, unattended.xml and what then...?
I try to make some little modifications to my Win7 installation. I installed WAIK and with some tutorials created unattended.xml. But while the tutorials concentrate on the creation of unattended.xml, they don't communicate to me clearly what to do with the file in order to create a working...
Installation & Setup
W7 - WINNT.SIF for unattended ???
Hi guys! I hope someone here could help me out. I'm sort of an XP fanboy. I was so annoyed by the standard folders eg. "Documents and settings" and "Program Files" so I found my way of creating a customized install disc. I simply extracted my whole install disc into a folder, used notepad to...
Installation & Setup
Unattended Install
I'm setting up an answer file for Windows 7 RC so that the only thing it prompts you for is the computer name. It keeps prompting me for the regional settings despite having this in phase 7 <component name="Microsoft-Windows-International-Core" processorArchitecture="x86"...
Installation & Setup
How to..? Unattended Install..?
Hi, I'm interested in creating an unattended Win7 Install, but most important, I would like to add a .exe file after my first reboot. Can someone help me do this? Many thanks in advance. Regards,
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:24.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App