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

    FOG Auto Join to AD

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    5
    2.2k
    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
      kelly.bettendorf
      last edited by

      Hi all.

      I have an interesting issue were i believe FOG fog auto join to AD is shutting down my newly imaged systems without my sysprep file finishing all of its first time login commands.

      Has anyone else had issues with this?

      is there a way i can delay how quickly fog renames and joins the computer to AD to give it some more time to load all the first time login scripts?

      Im running Fog 1.1.2

      Im using sysprep to run a first time login script with the local admin account to activate our installation of office 2010.

      Im running two login scripts, 1 that activates the OS and and 2nd that activates Office 2010.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • K
        kelly.bettendorf
        last edited by

        [quote=“kelly.bettendorf, post: 33689, member: 5100”]Hi all.

        I have an interesting issue were i believe FOG fog auto join to AD is shutting down my newly imaged systems without my sysprep file finishing all of its first time login commands.

        Has anyone else had issues with this?

        is there a way i can delay how quickly fog renames and joins the computer to AD to give it some more time to load all the first time login scripts?

        Im running Fog 1.1.2

        Im using sysprep to run a first time login script with the local admin account to activate our installation of office 2010.

        Im running two login scripts, 1 that activates the OS and and 2nd that activates Office 2010.

        Thanks![/quote]

        TO add some more detail,

        when i don’t have auto join to AD enabled on my testbox all of my first time login scripts run as they should.
        Ive added a 30 second timeout command at the end to see if that makes any difference.

        I will test and report back my findings.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          Many times, if you’ve sysprepped the image and have fog client installed, from the setupcomplete.cmd script you’d start it with net stop “FOG Service”. It will then run the scripts as expected. At the end of the tasks to be performed you’d re-enable the fog cservice with: net start “FOG Service”

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • C
            chad-bisd Moderator
            last edited by

            Right after I install the FOG client, I set the service to startup type: manual and stop the service. Then I use a command at the end of my setup script to set the startup type to automatic and start the service.


            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

            1 Reply Last reply Reply Quote 0
            • K
              kelly.bettendorf
              last edited by

              Thanks all I was on the right path but now i’ve got it working just right thanks for the help!
              Incase it helps anyone else here is the FirstLogin Commands i use to auto activate windows 7 OS and Microsoft office 2010 using sysprep

              [CODE] <FirstLogonCommands>
              <SynchronousCommand wcm:action=“add”>
              <CommandLine>cscript /b c:\windows\system32\slmgr.vbs /ato</CommandLine>
              <Order>1</Order>
              <RequiresUserInput>false</RequiresUserInput>
              <Description>Act OS</Description>
              </SynchronousCommand>
              <SynchronousCommand wcm:action=“add”>
              <Order>2</Order>
              <CommandLine>cscript “C:\Program Files (x86)\Microsoft Office\Office14\ospp.vbs” /act</CommandLine>
              <RequiresUserInput>false</RequiresUserInput>
              <Description>Act Offfice</Description>
              </SynchronousCommand>
              <SynchronousCommand wcm:action=“add”>
              <CommandLine>sc config “FOG Service” start= auto</CommandLine>
              <Order>4</Order>
              <Description>Change FOG service from delay to Automatic</Description>
              </SynchronousCommand>
              <SynchronousCommand wcm:action=“add”>
              <CommandLine>timeout 20</CommandLine>
              <Description>Pause for 20 seconds</Description>
              <Order>3</Order>
              </SynchronousCommand>
              <SynchronousCommand wcm:action=“add”>
              <Order>5</Order>
              <Description>Enable the fog service</Description>
              <CommandLine>net start “FOG Service”</CommandLine>
              </SynchronousCommand>
              </FirstLogonCommands>[/CODE]

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

              173

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project