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


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

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:

%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:

%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.

My System SpecsSystem Spec


Thread Tools

Similar help and support threads
Thread Forum
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
Unattended Bluescreens
Hopefully someone will be able to help me as I am coming unravelled trying to fix this problem. I built this PC myself and it has run without issue for months, up until a week ago. At that time I started receiving random BSODs although only when the computer was not being used actively (i.e....
BSOD Help and Support
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
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 16:33.
Twitter Facebook Google+