> The first is for creating a Task Sequence in SCCM 2007 to PXE boot a machine into WinPE which will then initiate a connection to a remote desktop session host/terminal server.
> The second guide is for creating a USB/CD iso image which can be used to boot a machine into WinPE which will then initiate a connection to a remote desktop session host/terminal server
Both of these are zero client configurations and mean that you can run the boot sequence on a desktop/laptop which has no hard drive. All instructions relate to creating a 32bit boot image but i assume the same instructions would hold true for a 64 bit image.
PXE Boot into WinPE and Connect to Remote Desktop/Terminal Server
Before beginning, ensure the following ducks are lined up:- PXE boot is working in the environment
- You are either working on a Windows 7 32bit machine or have access to an extracted iso of the aforementioned operating system
1] Get boot.wim file by extracting a Windows 7 32bit iso and then browsing to the "sources" folder. Here you will find the boot.wim. Copy this file (should be about 160/170MB in size) into c:\temp on your local machine. [In this example I have then renamed the boot.wim to boot_rdsh.wim]
2] Create folder called Mount in c:\temp on your local machine
3] Mount the boot.wim file using dism. Open elevated command prompt and type:
Dism /mount-wim /wimfile:c:\temp\boot.wim /index:1
/mountdir:c:\temp\mount
4] Back in windows file explorer, navigate to
"C:\windows\system32" on your local machine and copy all of the below files:
D3d10.dll
D3d10_1.dllD3d10_1core.dll
D3d10core.dll
D3d10level9.dll
D3d10warp.dll
D3d11.dll
Dxgi.dll
Msacm.dll
Msacm32.dll
Msacm32.drv
Mstsc.exe
Mstcax.dll
Then paste them into to "C:\temp\Mount\Windows\System32"
5] Next you’ll need to copy the below listed files from "C:\windows\system32\en-US"
on the local machine:
Msacm32.dll.mui
Msacm32.drv.muiMstsc.exe.mui
Mstscax.dll.mui
Then paste them into "C:\temp\Mount\Windows\System32\en-US"
6] Next open up notepad and enter the following
[customHook]
commandline="x:\RunMSTSC.cmd"
Save the file as TSconfig.ini to c:\temp
[This is a pre-execution hook command and it's a most useful option, see http://technet.microsoft.com/en-gb/library/bb694075.aspx for more info]
7] Open notepad and enter the following text
Start /wait mstsc.exe
/v:RDSserver1 /f
Save the file as RunMSTSC.cmd to c:\temp
8] Copy both files into the root of the extracted boot_rdsh.wim which is located in c:\temp\mount
9] Unmount the boot.wim
dism /unmount-wim /mountdir:c:\temp\mount /commit
10] Copy the boot_rdsh.wim onto your sccm server. Import it into SCCM as a new boot image
11] Create a new custom task sequence. Open the properties of the task sequence
13] Right click on the new Task Sequence you create and Advertise it to the new collection
14] Boot up the test client machine, hit F12 and wait for PXE to boot into WinPE. Once the machine is in WinPE, it should kick off the executable which you configured in the TSConfig.ini command (ie the runMSTSC.cmd file). All things being well, you should be connected to the remote desktop server
Bootable WinPE USB/CD
Should you need to create a bootable winpe usb/cd, follow the steps outlined in this most excellent guide:
No comments:
Post a Comment