Jump to content

Recommended Posts

Posted (edited)

Here I have a unattend file I made using 7Customizer (I use it for sysprep). It's purpose is to hide all of OOBE and log into an account I made for myself.

The PC's do not have any product keys entered, and I do not want to add any (yet). All of OOBE gets skipped except for a product key entry, which I skip. Is there any way to skip this? I noticed 7Customizer added a key, and I tried adding "Dummy" key of ALL 1's, but no go.

This is it, my sysprep.xml. It succeeds in skipping all but the product key entry.


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SystemLocale>en-us</SystemLocale>
<UserLocale>en-us</UserLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<InputLocale>0409:00000409</InputLocale>
</component>
<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>
<ProductKey>
<Key>11111-11111-11111-11111-11111</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>MyORG</Organization>
<FullName></FullName>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name></Name>
<Group>Administrators</Group>
<Password>
<PlainText>true</PlainText>
<Value></Value>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>

<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<InputLocale>0409:00000409</InputLocale>
</component>
</settings>
<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">
<AutoLogon>
<Enabled>true</Enabled>
<Username></Username>
<Password>
<PlainText>true</PlainText>
<Value></Value>
</Password>
<LogonCount>9999999</LogonCount>
</AutoLogon>
<TimeZone>Eastern Standard Time</TimeZone>
<ComputerName>PCNAME</ComputerName>
</component>
</settings>
</unattend>

Edited by CODYQX4
Posted

It is an autounattend.xml basically. I'm not using a working key, I am using the key 7 Customizer adds (which is the key windows uses for 30 day trial).

I think first that

<WillShowUI>onerror</WillShowUI> to <WillShowUI>never</WillShowUI> might do it but,

I think this key is for when Win 7 DVD asks for key, and that I need to add it under

Microsoft-Windows-Shell-Setup

for OOBE.

I am not sure of the format for that though.

Posted

The thing is that I am not using Windows images to deploy, but Acronis. I sysprep because I was having issues with "Acronis Universal Restore", and sysprepping solved my problem. This is just an annoyance I'm trying to solve.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...