Monday, August 11, 2014

How to Configure BGInfo for Windows Server 2012 R2

FYI: It's not hypervisor specific and works fine for physical servers also.

Download BGINFO from Microsoft Downloads Only
http://technet.microsoft.com/en-us/sysinternals/bb897557

1. Create a folder named bginfo under C:\bginfo
2. Extract all of the contents of bginfo to that folder.
3. Open Bginfo and setup your configurations.


*Custom configurations can be found here thanks to Shay Levy: http://blogs.microsoft.co.il/scriptfanatic/2008/07/22/bginfo-custom-information/

4. Once you have completed your custom configurations. Click on File Save As and save your .bgi configuration to C:\bginfo (Don't bother saving to C:\Windows\System32\* SysPrep and Imaging will strip and mess up any settings so don't bother) *Do NOT just clone your VM's!!


5. After you have saved your configuration. Create a batch file named whatever and add the following to the first line (*whatever you named the .bgi file is what you put second after the bginfo.exe path):



6. In case you forgot how. Enable the ability to see the extensions on folders when you created the file in Notepad (NOTE: Make sure you disable it after you're done!)


7. Go to Regedit (Type regedit in PowerShell) and configure the string for Run (HKLM\Software\Microsoft\Windows\CurrentVersion\Run):


8. Finish configuring your template for your physical server or your virtual image (VMware/OpenStack/RHEV/Hyper-V/OracleVM).