Windows 7
--
Questions
--
Followers
Top Experts
Include Product Key in Sysprep Unattend file
I have an attend file i'm using to skip rearm while i create a system image. I am know wanting to pass through the product key so that my user doesn't have to type it, but doing an /oobe /generalize resets the key. Can someone give me the syntax needed to add to my existing unattend file to pass through the key? Β My current unattend file is below.
<?xml version="1.0" encoding="UTF-8"?>
-<unattend xmlns="urn:schemas-microsoft-com:unattend"> -<settings pass="generalize"> -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="x86" name="Microsoft-Windows-Security-SPP"> <SkipRearm>1</SkipRearm> </component> </settings> </unattend>
unattend.JPG
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Is there a reason you not building the unattend file from the Windows Automated Installation Kit? Β That builds and validates your unattend file for you.
i was workingg from a previous system version that already had an unattend file. was hoping to just drop in the additional instead of regenerating a new file with AIK
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Ivan-
Does that go in the unattend file on the client that i point sysprep at or the Image unattend on the WDS server?
Does that go in the unattend file on the client that i point sysprep at or the Image unattend on the WDS server?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Ivan-
also, do you use hyphens still (12345-12345-12345-12345-1 2345)? And do you have to pur registered owner and org or is the product key line good enough alone?
also, do you use hyphens still (12345-12345-12345-12345-1
I don't use the WDS server but I assume it goes in the unattend,xml located on the client.
Yes, use the hyphens in the product key. Not sure if the registered owner and org is required. I would add it in.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Thats what i needed, thanks!
Windows 7
--
Questions
--
Followers
Top Experts
Windows 7 is an operating system from Microsoft. Features include multi-touch support, a redesigned Windows Shell with a new taskbar, referred to as the Superbar, a home networking system called HomeGroup, and performance improvements.