There are times when you may want, or need, to run or rerun BootWiz on a site server for a specific preboot configuration. From the console, if you select "rebuild", all site servers rebuild at the same time, but maybe you only need to do so on one. There are also times when BootWiz may not start automatically on it's own due to issues with the BootWiz package.
Regardless of the reason, here's a possible script you can configure to execute it manually. Configure a Script task, using VBScript. The advanced options can be left alone unless you're troubleshooting, and then you'll need to modify those to "run as currently logged on user" so you can see results. For instance, we have some remarked prompts that will show you the lines being executed in case things don't work quite right, but you'll not see those (and should not expose them) unless the advanced option has been modified to run as the logged on user. In general, you'll NOT want to do this, as there is usually no one logged on. Remember as well to modify the required values at the top. My PXE configuration is called "George" which I'm guessing is NOT yours...
' ------------------------------------------ ' ' The following variables are controlled by you, ' to tell us what kind of menu we're rebuilding. ' Unfortunately, this can not be queried from the DB. ' ------------------------------------------ ' ' DIM vPXEMenu, vOSType, vArchType vPXEMenu = "George" vOSType = "WinPE" ' or LinPE vArchType = "X86" ' or X64
|
Alternatively, here is a CMD/BAT file you can configure to run stand-alone on a site server or the SMP that does essentially the same thing. The path needs to be modified slightly depending on your installation environment. The above script pulls these values from the registry and thus that is not needed.
REM ========================================================================== REM Script to create DS Preboot image. REM Run on a NS machine with Deployment Solution installed. REM REM Parameters REM REM <PrebootName> <Image Destination path> <Windows|Linux> REM ===========================================================================
|
The above CMD script is designed to run manually (e.g. save as a stand-alone CMD file on the site server and run) with a few input parameters, as indicated. by the %1, %2, %3 in the SET statements. Instructions are forthcoming.