Link to home
Create AccountLog in
Windows 7

Windows 7

--

Questions

--

Followers

Top Experts

Avatar of jasonritchey
jasonritcheyπŸ‡¦πŸ‡«

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>

Open in new window

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.


Avatar of Lee W, MVPLee W, MVPπŸ‡ΊπŸ‡Έ

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.

Avatar of jasonritcheyjasonritcheyπŸ‡¦πŸ‡«

ASKER

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

ASKER CERTIFIED SOLUTION
Avatar of Ivano ViolaIvano ViolaπŸ‡ΊπŸ‡Έ

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of jasonritcheyjasonritcheyπŸ‡¦πŸ‡«

ASKER

Ivan-
Does that go in the unattend file on the client that i point sysprep at or the Image unattend on the WDS server?

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of jasonritcheyjasonritcheyπŸ‡¦πŸ‡«

ASKER

Ivan-
also, do you use hyphens still (12345-12345-12345-12345-12345)? And do you have to pur registered owner and org or is the product key line good enough alone?

Avatar of Ivano ViolaIvano ViolaπŸ‡ΊπŸ‡Έ

I don't use the WDS server but I assume it goes in the unattend,xml located on the client.

Avatar of Ivano ViolaIvano ViolaπŸ‡ΊπŸ‡Έ

Yes, use the hyphens in the product key. Not sure if the registered owner and org is required. I would add it in.

Free T-shirt

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.


Avatar of jasonritcheyjasonritcheyπŸ‡¦πŸ‡«

ASKER

Thats what i needed, thanks!
Windows 7

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.