Add Custom Background and BGInfo to MDT WinPE x86 & x64

Create a folder in your deployment share; I have created “DMExtraFiles”.
In the folder you just created, “DMExtraFiles” in my case. Create 2 more folders “x86” and “x64”.
MDTExtraFiles
First let’s get Custom Background and BGInfo in place for both  x86 & x64 Platform of WinPE.
Create a folder in your deployment share to hold your Custom Background’s “DMBackground” (It is not a requirement). I have 2 Custom Background one that I will use for x86 and one for x64 (Just showing off my MS Paint Skills) that I will place in the folder “DMBackground”

WinPEBGx86 WinPEBGx64

In case you are wondering where did I get the background image from its in “<Install Drive>\Program Files\Microsoft Deployment Toolkit\Samples\Background.bmp” and Use your MS Paint Skills, Also let me tell you this everything that you need to follow along to complete this blog post is already available on the server you have MDT Installed on.
Now browse to the <your deployment share>\DMExtraFiles\x86 folder and Create a folder Tools_x86
Open <your deployment share>\Tools\x86\Tools folder and Copy BGInfo.exe and STEP_01.BGI to <your deployment share>\DMExtraFiles\x86\Tools_x86 folder and Rename STEP_01.BGI to WinPE_x86.BGI
Now open WinPE_x86.BGI (Accept License Agreement if asked) and click on Background, update path of Wallpaper Bitmap : %systemroot%\System32\winpe.bmp and click OK twice to save the changes.
Create a Windows Command Script BGInfo.cmd with this in it “X:\Tools_x86\BGInfo.exe” “X:\Tools_x86\WINPE_x86.BGI” /silent /timer:0 /NOLICPROMPT
So your Tools_x86 folder should look like this

WinPEToolsx86

Next browse to the <your deployment share>\DMExtraFiles\x64 folder and Create a folder Tools_x64
Open your <your deployment share>\Tools\x64 folder and Copy BGInfo64.exe and STEP_01.BGI to <your deployment share>\DMExtraFiles\x64\Tools_x64 folder and Rename STEP_01.BGI to WinPE_x64.BGI
Now open WinPE_x64.BGI (Accept License Agreement if asked) and click on Background, update path of Wallpaper Bitmap : %systemroot%\System32\winpe.bmp and click OK twice to save the changes.
Create a Windows Command Script BGInfo.cmd with this in it “X:\Tools_x64\BGInfo64.exe” “X:\Tools_x64\WINPE_x64.BGI” /silent /timer:0 /NOLICPROMPT
So your Tools_x64 folder should look like this

WinPEToolsx64

Next we need to update Unattend.xml to launch BGInfo.cmd, As I said earlier there is already a WinPE Unattend.xml file template for both x86 and x64 available in <Install Drive>\Program Files\Microsoft Deployment Toolkit\Templates.
Copy Unattend_PE_x86.xml to <your deployment share>\DMExtraFiles\x86 folder and Rename it to Unattend.xml and Also copy Unattend_PE_x64.xml to <your deployment share>\DMExtraFiles\x64 folder and Rename it to Unattend.xml
Now open the Unattend.xml in x86 folder in the world best XML Editor.. Notepad and add the below lines in the <RunSynchronous> section
<RunSynchronousCommand wcm:action=”add”>
<Description>Run BGInfo</Description>
<Order>1</Order>
<Path>X:\Tools_x86\BGInfo.cmd</Path>
</RunSynchronousCommand>
Few things you would want to ensure once you add these lines.. Order for Lite Touch PE should be set to 2..
WinPEUnattendx86Now open the Unattend.xml in x64 folder and add the below lines in the <RunSynchronous> section
<RunSynchronousCommand wcm:action=”add”>
<Description>Run BGInfo</Description>
<Order>1</Order>
<Path>X:\Tools_x64\BGInfo.cmd</Path>
</RunSynchronousCommand>
and ensure Order for Lite Touch PE is set to 2
WinPEUnattendx64Launch Deployment Workbench, Open Properties of your Deployment Share and Click on Windows PE tab
Choose Platform x86 from the drop down, configure the following (I have my deployment share on E drive) and click Apply
Image Description: MDT Custom Windows PE (x86)
ISO Filename: MDTCustomPE_x86.iso
Custom background bitmap file: E:\DMLab\DMBackground\DMBackground_WinPEx86.bmp
Extra directory to add: E:\DMLab\DMExtraFiles\x86
MDTWinPEx86Choose Platform x64 from the drop down, configure the following (I have my deployment share on E drive) and click Apply
Image Description: MDT Custom Windows PE (x64)
ISO Filename: MDTCustomPE_x64.iso
Custom background bitmap file: E:\DMLab\DMBackground\DMBackground_WinPEx64.bmp
Extra directory to add: E:\DMLab\DMExtraFiles\x64
MDTWinPEx64Switch to the General tab and Ensure that you Enable the check box for both x86 and x64 in the Platform Supported Section and then click OK.
WinPEPlatformFinally update the deployment share to generate the WinPE Iso and Boot using the New WinPE Iso

MDT_WinPEBG_BGInfox64 MDT_WinPEBG_BGInfox86

!! Preenesh

Advertisements
This entry was posted in MDT and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s