...
- After the computer is imaged in WinPE, Landesk copies the drivers for that machine into a folder on the hard drive.
- The computer boots into audit mode, installs the drivers, then syspreps the computer into oobe mode.
- The computer should now boot up normally in oobe mode and continue the process as normal.
Technical Details
Below is an example sysprep file. It is attached to this page or you can expand
...
to see it below.
Note |
---|
This example is for 32 bit Windows 7 and will not work with 64 bit images |
Expand |
---|
| Click to see full example unattend.xml |
---|
| Click to see full example unattend.xml |
---|
|
Code Block |
---|
<?xml version="1.0" encoding="utf-8"?>
<unattend>
<settings pass="auditSystem">
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
<DriverPaths>
<PathAndCredentials wcm:keyValue="1" wcm:action="add">
<Path>c:\windows\LDDriverStore</Path>
</PathAndCredentials>
</DriverPaths>
</component>
<component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<UserAccounts>
<AdministratorPassword>
<PlainText>true</PlainText>
<Value>%AdminPass%</Value>
</AdministratorPassword>
</UserAccounts>
<AutoLogon>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<Password>
<PlainText>true</PlainText>
<Value>%AdminPass%</Value>
</Password>
<LogonCount>1</LogonCount>
</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>c:\windows\System32\sysprep\sysprep.exe /oobe /generalize /reboot </Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<ProductKey>%Win7ProdKey%</ProductKey>
<RegisteredOwner>User</RegisteredOwner>
<RegisteredOrganization>LANDesk</RegisteredOrganization>
<UserAccounts>
<AdministratorPassword>
<PlainText>true</PlainText>
<Value>%AdminPass%</Value>
</AdministratorPassword>
</UserAccounts>
<AutoLogon>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<Password>
<PlainText>true</PlainText>
<Value>%AdminPass%</Value>
</Password>
<LogonCount>1</LogonCount>
</AutoLogon>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<ComputerName>%ldHostname%</ComputerName>
</component>
</settings>
</unattend>
|
|
The example file shouldn't be too difficult to follow but it basically configures the computer to automatically log into the Administrator account, notifies Windows that the drivers have been copied to c:\windows\LDDriverStore, syspreps into oobe mode, and automatically logs into the Admin account once more to resume provisioning.
Landesk Community Documents and Discussion
...