Jump to content

Recommended Posts

Posted

Furthering my testing of Fog, from the Fog side of things I'm generally happy, however one thing niggles me - is there a way to stop the Fog service from automatically restarting the PC when it changes the hostname and connects the PC to a domain?

 

I tend to use the autologon for installing additional drivers (drivers not included in my sysprep image), and would like to simply restart the PC manually once I and the hostname changer have both done our things.

 

Ideally there'd be a prompt to restart the PC, but I guess that's asking a bit much!

Posted

The restart is coded into the hostnamechanger.dll

 

You can edit and recompile this (instructions are on the FOG Wiki - it's the same file you change the encryption key in) - there are 2 instances of "restartComputer()" which you'd want to look at.

 

Chad

  • Thanks 1
Posted

Something else to consider - if your drivers are in the form of an installer (with a silent option) you couldlook at the possibility of deploying them as a FOG snapin. You can assign the snapin to a group containing the required target model/hardware type and they'll get installed automatically once imaged.

 

The host search facility has been extended in 0.30 to include some of the hardware fields to make creating such groups easier. There's also a patch for 0.29 adding the same functionality, and for showing some of the hardware fields on the host list page.

  • Thanks 1
  • 2 weeks later...
Posted
I've got two drivers that won't install from a sysprep image (IBM power managment and one type of audio chipset), both also require the installation of a service which doesn't get handled properly by the sysprep process. An easy way is to get a 7zip archive of the driver and create a self extracting installer that will run in a temp directory by using 7zip SFX Maker, then upload this as a snap-in. If you want a reboot to be incorporated then you could prefix the snap-in name with a "z" so that is last alphabetically (and so installs last) and then tick the box to request a reboot.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...