• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Windows 7 and SetupComplete.cmd

    Scheduled Pinned Locked Moved
    Windows Problems
    4
    7
    8.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kirodema
      last edited by

      Hi there.

      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?

      BR Kiro

      1 Reply Last reply Reply Quote 0
      • L
        Lache
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • K
          Kirodema
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • I
            InjecTioN
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • falkoF
              falko Moderator
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • I
                InjecTioN
                last edited by

                [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!

                1 Reply Last reply Reply Quote 0
                • falkoF
                  falko Moderator
                  last edited by

                  [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]

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  222

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project