Windows 7 and SetupComplete.cmd
I am trying to setup a master image for my company and I have followed this guide [URL=‘http://fogproject.org/forum/threads/windows-7-deployment-fog-sad2-driver-tool.380/’]here[/URL]. It all works well until I start sysprep. I check generalize and shutdown the pc. Then I upload the master image to the fog server with no problems. I can also deploy the image, but after deployment, the new PC installs driver while finishing the setup and then reboots once or twice.
However, when the setup is completed, the setupcomplete.cmd wasn’t executed.
Can someone please help me with this issue?
[quote=“InjecTioN, post: 3642, member: 1175”]This solution would be even better![/quote]
[B][URL=‘http://fogproject.org/forum/attachments/dp_install_tool-txt.94/’]yeah its in the DP_Install_Tool.txt[/URL][/B]
[quote=“falko, post: 3639, member: 48”]the script in the original guide has been updated to use Net Stop FOG Service at the beginning and NET Start FOG Service are you using that scipt? that eliminates the issue of the fog client restarting the pc[/quote]
This solution would be even better!
the script in the original guide has been updated to use Net Stop FOG Service at the beginning and NET Start FOG Service are you using that scipt? that eliminates the issue of the fog client restarting the pc
You can do so by installing the FOG Client [U]after[/U] the SetupComplete.cmd has finished. Maybe even integrating the service into SetupComplete.cmd will do the trick. You can copy the config file ([COLOR=#000000]c:\program files\fog\etc\config.ini) [/COLOR]that contains the FOG-server’s hostname in the default directory after the (silent) execution of the setup. This also has to be done in the SetupComplete.cmd to make the install completely unattended.
[url]http://www.fogproject.org/wiki/index.php?title=Managing_FOG#Module_specific_configuration_settings[/url] << Config
[url]http://semteck12.ning.com/forum/topics/fog-tweak-default?commentId=2578996%3AComment%3A4714[/url] << Quiet install FOG Client
[url]http://community.spiceworks.com/topic/95701-fog-client-silent-install[/url] << This URL also might come in handy.
I got it running by changing the case. First it was C:\Windows\Setup\scripts\setupcomplete.cmd and it didn’t work. I have changed it to C:\Windows\Setup\Scripts\SetupComplete.cmd and it works o_O. I didn’t know Windows was case sensitive? However, it seems that Something is causing Windows to reboot before the SetupComplete.cmd can finish. It does start, but it stops somewhere in the middle and reboots. Could be the Fog Hostnamechanger be responsible for that?
Edit: I disabled the hostchanger plugin on the Fog client and the SetupComplete.cmd ran completely. Is there any chance to get the hostchanger to start later?
We are experiencing the same issue. The thinking at the moment is that FOG is rebooting the computer before the setupcomplete runs. I am going to try changing the check-in time from 10 minutes to 20 minutes. I won’t get a chance to test this until tomorrow.