MSFN Forum: Sysprep Question - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sysprep Question Skip User Creation Rate Topic: -----

#1 User is offline   mbouchard 

  • Member
  • PipPip
  • Group: Members
  • Posts: 162
  • Joined: 21-April 04

Posted 26 October 2007 - 10:34 AM

Just recently I started working on a Vista build for work and am having a little trouble getting the initial boot after a sysprep to be automated. Basically I am getting prompted to create a user and I am not sure what I am missing. I have tried several things including setting SkipMachineOOBE (found that this didn't apply any of the OOBE stuff) and creating a user in my unattend file. I have tried to use the sticky guide and follow things found here with no luck.

Here is my unattend file

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
	<settings pass="generalize">
		<component name="Microsoft-Windows-Security-Licensing-SLC" 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">
			<SkipRearm>1</SkipRearm>
		</component>
	</settings>
	<settings pass="specialize">
		<component name="Microsoft-Windows-Deployment" 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">
			<RunSynchronous>
				<RunSynchronousCommand wcm:action="add">
					<Credentials>
						<Domain>MYDOMAIN</Domain>
						<Password>MYPASSWORD</Password>
						<Username>MYUSERNAME</Username>
					</Credentials>
					<Path>net user administrator /active:yes</Path>
					<Order>1</Order>
				</RunSynchronousCommand>
			</RunSynchronous>
		</component>
		<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
			<SkipAutoActivation>true</SkipAutoActivation>
		</component>
		<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">
			<Display>
				<ColorDepth>32</ColorDepth>
				<DPI>96</DPI>
				<HorizontalResolution>1024</HorizontalResolution>
				<VerticalResolution>768</VerticalResolution>
			</Display>
			<ProductKey>MYPRODUCTKEY</ProductKey>
			<ShowWindowsLive>false</ShowWindowsLive>
			<TimeZone>Eastern Standard Time</TimeZone>
			<ComputerName>REPLACEME</ComputerName>
		</component>
		<component name="Microsoft-Windows-UnattendedJoin" 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">
			<Identification>
				<Credentials>
					<Domain>MYDOMAIN</Domain>
					<Password>MYPASSWORD</Password>
					<Username>MYUSERNAME</Username>
				</Credentials>
				<JoinDomain>MYDOMAIN</JoinDomain>
			</Identification>
		</component>
	</settings>
	<settings pass="oobeSystem">
		<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">
			<InputLocale>en-us</InputLocale>
			<SystemLocale>en-us</SystemLocale>
			<UILanguage>en-us</UILanguage>
			<UserLocale>en-us</UserLocale>
		</component>
		<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>
				<Password>
					<Value>bQBpAGMAcgBBvAHMAbwBmSAHQAUABSB3AG8AcgBkAA==</Value>
					<PlainText>false</PlainText>
				</Password>
				<Enabled>true</Enabled>
				<LogonCount>2</LogonCount>
				<Username>administrator</Username>
			</AutoLogon>
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Work</NetworkLocation>
				<ProtectYourPC>3</ProtectYourPC>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
			<UserAccounts>
				<AdministratorPassword>
					<Value>bQBpAGMAcgBBvAHMAbwBmSAHQAUABSB3AG8AcgBkAA</Value>
					<PlainText>false</PlainText>
				</AdministratorPassword>
				<LocalAccounts>
					<LocalAccount wcm:action="add">
						<Password>
							<Value>bQBpAGMAcgBBvAHMAbwBmSAHQAUABSB3AG8AcgBkAA==</Value>
							<PlainText>false</PlainText>
						</Password>
						<Name>testuser</Name>
					</LocalAccount>
				</LocalAccounts>
			</UserAccounts>
			<RegisteredOrganization>MYORG</RegisteredOrganization>
			<RegisteredOwner>MYOWNER</RegisteredOwner>
			<FirstLogonCommands>
				<SynchronousCommand wcm:action="add">
					<CommandLine>net user testuser /delete</CommandLine>
					<Order>1</Order>
				</SynchronousCommand>
			</FirstLogonCommands>
			<Themes>
				<CustomDefaultThemeFile>c:\windows\aero.theme</CustomDefaultThemeFile>
			</Themes>
		</component>
	</settings>
	<cpi:offlineImage cpi:source="wim:d:/vistainstall/sources/install.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>



#2 User is offline   JohnnyG101 

  • Group: Members
  • Posts: 1
  • Joined: 16-November 07

Posted 16 November 2007 - 07:13 PM

Have you figured this out yet? I am having the same issue at work. It would be nice to get rid of the Add User prompt, I read in a few places that if you supress that, it will also supress the PC name prompt. (I read that someone created a vbs script to fix that though).

This is where I am stuck now, if I could supress the "Add User" prompt I would be on easy street!

#3 User is offline   TSBL 

  • Group: Members
  • Posts: 5
  • Joined: 25-October 07

Posted 19 November 2007 - 10:46 AM

Make sure the given user password corresponds with the domain policies.

Besides I am wonderin why the two equals at the end of your administrators password are gone.

#4 User is offline   wonika 

  • Group: Members
  • Posts: 5
  • Joined: 09-March 06

  Posted 10 December 2007 - 08:25 AM

I am having some problem...has anyone figured this out yet?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy