In my TS, I don’t have any additional BGinfo / Images display once it’s out of PE, after that’s it’s finishing the OSD with the windows setup black screen, so I only needed this info to display during the Win PE stage, which made writing it to the registry the perfect solution for my purposes. The AD OU is a direct relation to the "Branch" Chosen and auto populated.
OSD Computer Name - What you're naming the PC you're Imaging: REG ADD "HKLM\SOFTWARE\GARYTOWN" /V Computer Name /T REG_SZ /D "%OSDComputer Name%" /F OSDDomain OUName - OU It's Being Image into: REG ADD "HKLM\SOFTWARE\GARYTOWN" /V OSDDomain OUName /T REG_SZ /D %OSDDomain OUName% /F OSBuild Version - Custom Variable that is the Build of Windows I'm deploying: REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\Current Version" /V Release ID /T REG_SZ /D %osbuildversion% /F The Variables are set using a Front End or Collection Variables. In this front end, everything in the top area is auto generated based on Queries, or other imput, the only field that can be modifed is teh Computer Name, either leave the auto generated one, or modify for the deployment.
VBS Files (must all be placed in the x86 folder, even if using x64, place them in the x86 folder) NOTE, the files do not work if you try to run it from the command prompt, but they do work in bginfo. I heard Mike will be updating the ones he posted, the ones below are the original.
dating sit guadeloupe in - Were updating
Exec Query _ ("Select * from Win32_Logical Disk Where Device ID = 'C:'") For Each obj Disk in col Disks size GB = Format Number(obj Disk.
Size /(1024^3), 0 ) Echo size GB Next Const HKEY_LOCAL_MACHINE = &H80000002 str Computer = "." h Def Key = HKEY_LOCAL_MACHINE Set o Reg = Get Object("winmgmts:!
Then on the x86 folder (even if on x64 machine), open At this point in the reading, you have hopefully stopped and read Mike’s blog, as I don’t want to completely plagiarize, and this will be pretty similar.
(Sorry, the default fonts are hard to see against the default black background) Once you launch the tool, go ahead and open STEP_02. If you click on “Background” you’ll see the name of the background file that is associated with the template: Step_02.bmp, which is located in the same x86 folder, as shown in the earlier pictures.
If doing a "Refresh" all of the variables are set on my collections, %OSDComputer Name% is the name the computer already has, so the settings (variables) would be reapplied automatically during a Reimage with no need for the front end.