This is a how to guide on installation of BGInfo and ThightVNC. I know there are probably better ways of doing this, but this worked fine for me.
First you need to download BGInfo and ThightVNC.
Then you install ThightVNC on a test computer. You need to do this in order to get out the needed registry information. When you have installed it start the ThightVNC Service – Offline Configuration (remember run as administrator on Windows 7).
When you click apply these settings will be store in the registry under HKLMSoftwareTightVNCServer. If you are sitting on X64 os it is saved under HKLMSoftwareWow6432NodeTightVNCServer.
Export these settings using regedit into a reg file. I only use x86 WinPE image so I need the X86 path. If you are exporting from a X64 system you can easily just edit the reg file and remove the Wow6432Node from the path.
Okay so Now we have the registry export. The next thing now is to define a package. Go ahead and create a folder in your source file directory named TightVNC. Inside this copy the registry file you just created and the TightVNC installer you downloaded. Next create batch file called Install.bat. Copy the following contents in to the batch file:
regedit /s %~dp0tightvnc.reg
When you use %~dp0 it will run from current path. (Including UNC paths)
Then we go into the System Center Configuration Manager Console and define a package as you normally would do. Do not define any programs since this will not work using the install software step in WinPE.
Now you can distribute this to your Distribution Points and edit your task sequence.
Add the following Step to your Task sequence:
Define it like this:
So now the TightVNC should work. The next thing now is to get BGInfo so that your users can read up the IP Address.
Extract BGInfo to a folder on the test computer. Start BGInfo as Administrator (Run As Administrator).
Customize this the way you want. Mine looks like this:
Save this as a file inside the same folder as BGInfo.exe. Copy the contents to a folder you specify in your source directory. Now we need to create another batch file called RUNBGInfo.bat. Copy the following text to the batch file:
%~dp0bginfo.exe %~dp0Winpe.bgi /silent /timer:0 /NOLICPROMPT
Make sure this batch file is together with the rest of the source files (your BGI file and BGInfo.exe file)
Next is now to define this as package inside System Center Configuration Manager. Just as you did with the ThightVNC Package.
And define it like this:
Everything should now work. You should now be able to use ThightVNC viewer to remote control the computer in WinPE after the task sequence gets past the TightVNC installation.
If you ever need to change the password you can just run the ThightVNC Config tool and export the registry again. Just remember to update your package.
Happy WinPE remote controlling!