Headless KBE Boot W/Out PXE
Currently my environment does not have pxe boot. As a workaround I've been using USB for new machines and the K1 to push out something Corey posted a few years ago on a KKE. A whitepaper called Imaging Windows Tablets and Other UEFI Systems over the Network with KACE was also published. This works fine when a display is connected, but if the computer is headless, it doesn't seem to work. VNC doesn't work and hooking up a monitor after the fact doesn't do anything. The hard drive led does blink so it's doing something, I just can't get in to choose the proper deployment.
I think my two options are:
- Go a step further and actually make a KBE with the command line options built in that automatically choose a deployment and go. Since I am not able to remote in and choose one. I think that's covered in the video. Command listed below.
- Buy one of those headless hdmi adapters.
The command listed in the video is:
start /wait y:\scripts\system_image_id#.bat
Any other thoughts on a solution to this problem?
3 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
five.
7 years ago
After having some time to play around with this, it was not the headless part or the KBE part that was an issue. I had to modify the original batch file that loads the KBE. It was sporadic as to whether it would work or not. Usually worked the first time, but would fail after that. Added some checking and allowed overwrite on the copy. Also added the %~dp0 when grabbing the wim file. It seems pretty solid now.
The original script from the KKE and whitepaper:
mkdir c:\programdata\dell\kace\kbe
start /wait xcopy c:\programdata\dell\kace\kbe
ReAgentC.exe /disable
ReAgentC.exe /SetReImage /Path c:\programdata\dell\kace\kbe /Target c:\windows
ReAgentC.exe /enable
ReAgentC.exe /boottoRE
shutdown /r /f /t 0
My modified script:
IF NOT EXIST c:\programdata\dell\kace\kbe mkdir c:\programdata\dell\kace\kbe
start /wait xcopy /y %~dp0winre.wim c:\programdata\dell\kace\kbe
ReAgentC.exe /disable
ReAgentC.exe /SetReImage /Path c:\programdata\dell\kace\kbe /Target c:\windows
ReAgentC.exe /enable
ReAgentC.exe /boottoRE
shutdown /r /f /t 0
(we basically turn on the headless tower, then arrow down enter to pick the default KBE, we wait 3 minutes, and then with VNC we remote in).
VNC will ask for a password ASAP after clicking on "Connect", if it's not, then is a port issue.
I am using K2 version 4.1 - Channeler 7 years ago
Are you sure that we are properly loading that KBE in headless mode?
Maybe create a new KBE with KBE Manipulator, and make sure that "Launch UltraVNC" is checked inside the Modify KBE options. - Channeler 7 years ago