Using System Center 2012 R2 Configuration Manager SP1 to Manage Windows-based HP Thin Clients

40
Appendix A—Preparing a task sequence to include User State Migration
The source computer needs at least 250 MB of hard disk space to support USMT operations. For more information, go to
http://technet.microsoft.com/en-us/library/dd560770%28v=ws.10%29.aspx#BKMK_SpaceReqs
.
For a Windows image on an HP thin client, USMT uses RAM disk Z: by default. Extend the disk size before capturing and
deploying an image using the following procedure.
To extend a RAM disk:
1. Modify the registry value and commit to write filter if enabled:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\RamDrive\Parameters\DiskSize
2. Run the command line: reg add HKLM\SYSTEM\ControlSet001\services\Ramdrive\Parameters
/v DiskSize /t REG_DWORD /d 0x10400000 /f
Appendix BEnabling the write filter using a deployment task sequence
To enable the writer filter as part of the operating system deployment process, HP recommends running the command lines
or scripts at first boot. The following is a procedure to enable the writer filter.
1. Edit the Operating System Task Sequence to automatically log on the Administrator during deployment.
2. Use unattend.xml to create First Launch Commands.
3. After the operating system deployment completes, the task sequence exits and return full control to the operating
system. These example first launch commands execute the following:
Automatically logs on the Administrator after deployment.
Enables the write filter.
Configures the BCD Fixup option. The Enhanced and File-Based Write Filter require the IGNOREALLFAILS policy be in
the Boot Configuration Data (BCD). This flag prevents error dialogs regarding unsafe shutdowns during the boot
process. Typically, in Windows Embedded Standard 7, enabling the write filter automatically sets this policy in the
BCD and prevents boot errors. It might not be set automatically following a deployment tast sequence in
Configuration Manager, and then needs to be set manually.
Removes Administrator Autologin on next reboot or sets User Autologin.
Restarts the system after 90 seconds.
4. After restarting, the write filter is enabled and the thin client can be used.
The following snippet is the first launch command to be included in the unattend.xml file under the <settings
pass="oobeSystem"> section:
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>ewfmgr c: /enable </CommandLine>
<Description>Enable EWF WF </Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine>bcdedit /set {current} bootstatuspolicy
ignoreallfailures
</CommandLine>
<Description>Fix BCD </Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<CommandLine>autologcfg /u:User /p:User</CommandLine>
<Description>Enables user Autologin</Description>