+ Post New Thread
Results 1 to 4 of 4
O/S Deployment Thread, Hostname changer - disable auto restart? in Technical; Furthering my testing of Fog, from the Fog side of things I'm generally happy, however one thing niggles me - ...
  1. #1
    this_is_gav's Avatar
    Join Date
    May 2009
    Location
    Shilbottle, Northumberland
    Posts
    43
    Thank Post
    19
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Hostname changer - disable auto restart?

    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!

  2. #2
    Chad's Avatar
    Join Date
    May 2007
    Location
    Elgin
    Posts
    74
    Thank Post
    5
    Thanked 20 Times in 19 Posts
    Rep Power
    19
    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

  3. Thanks to Chad from:

    this_is_gav (12th April 2011)

  4. #3
    Chad's Avatar
    Join Date
    May 2007
    Location
    Elgin
    Posts
    74
    Thank Post
    5
    Thanked 20 Times in 19 Posts
    Rep Power
    19
    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.

  5. Thanks to Chad from:

    this_is_gav (12th April 2011)

  6. #4
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. [Fog] FOG auto restart/renames. I don't want it to!
    By El_Nombre in forum O/S Deployment
    Replies: 7
    Last Post: 20th October 2011, 06:30 PM
  2. [Fog] hostname changer issues
    By stevehp in forum O/S Deployment
    Replies: 1
    Last Post: 9th July 2010, 08:01 PM
  3. Replies: 1
    Last Post: 12th February 2010, 05:15 PM
  4. [Ubuntu] disable auto clipboard mouse click feature
    By RabbieBurns in forum *nix
    Replies: 6
    Last Post: 2nd July 2009, 11:01 AM
  5. Turn off auto restart
    By richard in forum Windows
    Replies: 2
    Last Post: 25th June 2007, 07:49 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •