Golden Image Deploy Problems
-
I’ve scratched my head at this for weeks now and have no idea why it’s not working.
When I attempt to deploy my golden image to a physical machine, it fails. It come up with dell’s “Checking hardware for problems” and then shuts down.
BUT, when I deploy the same image to another vm, it succeeds.
I’ve set the physical machine to Legacy: Secure Boot off, and UEFI: Secure Boot off and deployed it, both have the same outcome.
Photo’s of my VM config can be found here.
Any ideas on what’s happening and how to fix it? -
@agray This question is pretty open-ended. Let’s start with questions about your capture process.
What version of FOG are you using?
Did you capture your golden image from a VM?
Did you SysPrep the VM?
Does the image have drivers available for the destination hardware?
Do you know if the image you captured was legacy or UEFI? -
@Wayne-Workman I apoligize for the delayed response, been a crazy week.
My FOG Version is 1.5.5.
I am captureing the Golden from a VW, the software is Oracle Virtualbox.
I did syprep the Image using a .bat file that looks like this:@echo off NET USER 1 /DELETE powercfg -h off rem C:\Support\Tools\Shutup\OOSU10.exe ooshutup10.cfg /quiet del /F c:\windows\sssystem32\sysprep\panther\setupact.txt del /F c:\windows\system32\sysprep\panther\setuperr.txt del /F c:\windows\system32\sysprep\panther\ie\setupact.txt del /F c:\windows\system32\sysprep\panther\ie\setuperr.txt rem "C:\Program Files\Oracle\VirtualBox Guest Additions\uninst.exe" copy unattend.xml C:\Windows\System32\Sysprep /Y reg import C:\Support\Tools\ResetERAgentUUID.reg cleanmgr /sagerun:1 defrag c: c:\windows\system32\sysprep\sysprep.exe /oobe /generalize /shutdown /unattend:c:\windows\system32\sysprep\unattend.xml
The machine I’m deploying to is and Optiplex 3060. I don’t have drivers specific for the 3060, but I do have 3050 which are close. Could that be the problem?
I’m not sure where to check what mode my VM is in but from previous testing, I did put a note on my Image saying it was required to boot into Legacy. -
@agray said in Golden Image Deploy Problems:
I don’t have drivers specific for the 3060, but I do have 3050 which are close. Could that be the problem?
Yes, it could be. The wiki also has notes about sysprepping with the fog client that you should read through:
https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#FOG_Client_with_Sysprep -
@Wayne-Workman
Thank you! I’ll test these out and read the page. I’ll come back and update this thread after, on if it worked or not. -
@agray said in Golden Image Deploy Problems:
c:\windows\system32\sysprep\sysprep.exe /oobe /generalize /shutdown /unattend:c:\windows\system32\sysprep\unattend.xml
I would recommend that you put the sysprep file in c:\windows\panther and not the legacy sysprep directory. WinSetup always looks in Panther first even if you defined a specific file. The issue you will run into is if there is two sysprep files for some reason. If WinSetup finds one in Panther it will stop looking. MS’ best practices is to use the Panther directory for Win10.
Are you injecting the model specific drivers into image as part of a post install script or are you front end loading the model specific drivers into a model specific image?
Just be aware that you can only deploy a uefi captured image to uefi based computers. The same is true for bios captured images, they can only be deployed to bios based computers.
FWIW: this sysprep setup file looks suspiciously close to the one I use.
-
@george1421 said in Golden Image Deploy Problems:
I would recommend that you put the sysprep file in c:\windows\panther and not the legacy sysprep directory.
Thank you for the advice, I will start doing so. Didn’t know that was the legacy directory. I run my .bat file from the desk top if that’s an issue too.
@george1421 said in Golden Image Deploy Problems:
Are you injecting the model specific drivers into image as part of a post install script or are you front end loading
My system is set up to do it post install script if it works properly xD.
The Chipset of my VM is set to PIIX3. I’m pretty sure that was my original problem.
@george1421 said in Golden Image Deploy Problems:
FWIW: this sysprep setup file looks suspiciously close to the one I use.
I pulled this setup file from a post on here and just tweaked a few thing for my need. That could be why it looks close xD.
-
@agray You said you set the machine to legacy, and secure boot is off, but
1 did you enable CSM support?
2 did you change your boot order?
Please take a picture of your BIOS/UEFI settings so i can help as well.
Im interested in your boot page, CSM, boot order, and secure boot pages