Share via


sysprep answer file save location

Question

Tuesday, June 21, 2016 6:29 PM

The tutorial I'm using to prepare a Win10 image states that I must save the .xml answer file I create to the root of a drive other than C: Is this truly the case? On our existing Win7 images we save the .xml file in C:\Windows\System32\Sysprep and point the sysprep.bat file to that path and it works just fine. I can't imagine having to have a memory stick with the .xml file plugged in everytime we deploy a system. How are others out there handling this?

All replies (6)

Wednesday, June 22, 2016 12:00 AM ✅Answered

I still place the sysprep unattended file in the C:\Windows\System32\Sysprep folder.

Sean Liming - Book Author: Starter Guide SIM (WEI), Pro Guide to WE8S & WES 7, Pro Guide to POS for .NET - www.annabooks.com / www.seanliming.com


Wednesday, June 22, 2016 7:07 PM ✅Answered

Hi,

I am following the same video for Windows 10 and I copied .xml file in sysprep folder.

It works fine for me.


Wednesday, June 22, 2016 6:34 AM

Hi Don,

Which tutorial that you are talking about?

And what is .xml answer file, used for sysprep, or anything else?

See if the following article would help:

Sysprep Command-Line Options

https://msdn.microsoft.com/en-us/windows/hardware/commercialize/manufacture/desktop/sysprep-command-line-options

And:

Use Answer Files with Sysprep

https://msdn.microsoft.com/en-us/windows/hardware/commercialize/manufacture/desktop/use-answer-files-with-sysprep

Genarally it should be in the old way, if you are not sure where to put the answer file, then use the /unattend switch with sysprep, to specify the answer file path.

Regards

Please mark the reply as an answer if you find it is helpful.

If you have feedback for TechNet Support, contact tnmff@microsoft.com


Wednesday, June 22, 2016 10:09 AM

But I though that the built in administrator account didn't have access to C:\Windows\System32 (as a security feature) in Win10?


Wednesday, June 22, 2016 4:45 PM

This is the tutorial I'm following:

http://www.tenforums.com/tutorials/3020-windows-10-image-customize-audit-mode-sysprep.html 

If anybody knows of others I'd love to hear about it


Wednesday, June 22, 2016 6:56 PM

I haven't done anything with the built in Administrator account. For clients, an administrator account is created, and I use the account to run sysprep:

c:\windows\System32\sysprep> sysprep /generalize /oobe /shutdown /unattend:c:\windows\system32\sysprep\myunattend.xml

Sean Liming - Book Author: Starter Guide SIM (WEI), Pro Guide to WE8S & WES 7, Pro Guide to POS for .NET - www.annabooks.com / www.seanliming.com