Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Windows 7 unattended install x32 and x64


  • Please log in to reply
2 replies to this topic

#1
cocachris89

cocachris89
  • Member
  • 2 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Hey everyone,

I'm creating a unattended installation for Windows 7 x32 and x64. Basically, I wanted to create an unattended install answer file and stick it on a usb along with the windows 7 builds. When it loads up, I just select the Windows version I want and come back to it when it is done. There is just one part where it gets stuck, waiting for user input and its at the end of the installation. Just near the end of the configuration it asks for a product key and to automatically activate Windows even though I have specified to skip product key, disabled auto activation and have also included a KMS key for Windows 7 Pro. When I click Next or Skip button it will continue, however I do not want to have to do this every time I do an installation.

I have also tried moving the location of product key from MS Shell Setup to OOBE; I have tried without a product key entered, and tried with a KMS key. The answer file is called "autounattend.xml" so I'm not too sure where its going wrong.

I have attached the file because it is pretty long.

Attached Files




How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,807 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Put your KMS key in the specialize pass:

<settings pass="specialize">
		<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<ComputerName>*</ComputerName>
			<ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
		</component>
	</settings>

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg

#3
cocachris89

cocachris89
  • Member
  • 2 posts
  • OS:Windows 7 x86
  • Country: Country Flag

Put your KMS key in the specialize pass:

<settings pass="specialize">
		<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<ComputerName>*</ComputerName>
			<ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
		</component>
	</settings>


I tried the specialize pass however it gave me the same prompt. So I tried it from the beginning in Windows PE pass.

<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserData>
<AcceptEula>true</AcceptEula>
<FullName></FullName>
<Organization></Organization>
<ProductKey>
<Key>FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4</Key>
</ProductKey>
</UserData>

After hours of work, it was the simplest thing... oh well :rolleyes:

Thanks for your help :thumbup




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN