MSFN Forum: Some probs after sysprep - MSFN Forum

Jump to content



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

Some probs after sysprep Rate Topic: -----

#1 User is offline   tonycrew 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 18-May 04

Posted 03 July 2007 - 01:37 AM

After windows boot there's a sysprep box on the screen it i click ok and it does some cleanup for a minute or so then reboot, when its rebooted i have to choose locale, username, home-work-etc, then it checks system performance then loads windows and all my settings have gone again like my wallpaper i set.

Also can you turn the way windows notifies you about security off..?

Here's my script

<?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">
			<SetupUILanguage>
				<UILanguage>en-GB</UILanguage>
			</SetupUILanguage>
			<UserLocale>en-GB</UserLocale>
			<UILanguage>en-GB</UILanguage>
			<SystemLocale>en-GB</SystemLocale>
			<InputLocale>0452:00000452</InputLocale>
			<LayeredDriver>1</LayeredDriver>
		</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>
					<WillShowUI>OnError</WillShowUI>
					<Key>*****-*****-*****-*****-*****</Key>
				</ProductKey>
				<AcceptEula>true</AcceptEula>
				<Organization>MegaVista</Organization>
				<FullName>Administrator</FullName>
			</UserData>
			<Display>
				<ColorDepth>32</ColorDepth>
				<HorizontalResolution>1024</HorizontalResolution>
				<VerticalResolution>768</VerticalResolution>
			</Display>
			<ImageInstall>
				<OSImage>
					<InstallFrom>
						<MetaData wcm:action="add">
							<Key>/IMAGE/NAME</Key>
							<Value>Windows Vista ULTIMATE</Value>
						</MetaData>
					</InstallFrom>
					<InstallToAvailablePartition>false</InstallToAvailablePartition>
					<WillShowUI>OnError</WillShowUI>
				</OSImage>
			</ImageInstall>
		</component>
	</settings>
	<settings pass="specialize">
		<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-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">
					<Order>1</Order>
					<Path>cmd /c &quot;FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m&quot;</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>2</Order>
					<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>3</Order>
					<Path>cmd /c reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path>
				</RunSynchronousCommand>
			</RunSynchronous>
		</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">
			<AutoLogon>
				<Enabled>true</Enabled>
				<LogonCount>2</LogonCount>
				<Username>Administrator</Username>
			</AutoLogon>
			<Display>
				<ColorDepth>32</ColorDepth>
				<DPI>96</DPI>
				<HorizontalResolution>1024</HorizontalResolution>
				<VerticalResolution>768</VerticalResolution>
			</Display>
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Home</NetworkLocation>
				<ProtectYourPC>1</ProtectYourPC>
				<SkipMachineOOBE>true</SkipMachineOOBE>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
			<TimeZone>GMT Standard Time</TimeZone>
		</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">
			<SystemLocale>en-GB</SystemLocale>
			<UILanguage>en-GB</UILanguage>
			<UserLocale>en-GB</UserLocale>
			<InputLocale>0452:00000452</InputLocale>
		</component>
	</settings>
	<settings pass="auditSystem">
		<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>
				<LogonCount>5</LogonCount>
				<Username>Administrator</Username>
			</AutoLogon>
		</component>
	</settings>
	<settings pass="auditUser">
		<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">
					<Order>1</Order>
					<Path>cmd /c REGEDIT /S %AppsRoot%\Install\SAVVISTA\NoScan.rag</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>2</Order>
					<Path>cmd /c REGEDIT /S %AppsRoot%\Install\DELL.REG</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>3</Order>
					<Path>cmd /c REGEDIT /S %AppsRoot%\Install\winrar\winrar.reg</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>4</Order>
					<Path>cmd /c REGEDIT /S %AppsRoot%\Install\wallpaper1.reg</Path>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>5</Order>
					<Path>cmd /c REGEDIT /S %AppsRoot%\Install\wallpaper2.reg</Path>
				</RunSynchronousCommand>
			</RunSynchronous>
		</component>
	</settings>
	<cpi:offlineImage cpi:source="wim:e:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

This post has been edited by tonycrew: 03 July 2007 - 01:40 AM



#2 User is offline   razormoon 

  • Little boots...!
  • PipPip
  • Group: Members
  • Posts: 216
  • Joined: 17-February 06

Posted 04 July 2007 - 07:58 AM

I couldn't help but to notice this line:

 
<Path>cmd /c REGEDIT /S %AppsRoot%\Install\SAVVISTA\NoScan.rag</Path>
 


NoScan.rag?

Anyway...add another /RunSynchronousCommand wcm:action as such:

 
<RunSynchronousCommand wcm:action="add">
  <Order>1000</Order> 
  <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path> 
  <Description>Preparation</Description> 
  </RunSynchronousCommand>
 


Where <Order>1000</Order> should make it the LAST RunSynchronousCommand in AuditUser pass.

#3 User is offline   tonycrew 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 18-May 04

Posted 04 July 2007 - 08:21 AM

[quote name='razormoon' date='Jul 4 2007, 07:58 AM' post='669957']
I couldn't help but to notice this line:

 
<Path>cmd /c REGEDIT /S %AppsRoot%\Install\SAVVISTA\NoScan.rag</Path>
 


NoScan.rag?

LOL thanx hehe anyway i will try that last RunSynchronousCommand in audit user pass...

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