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

    Automating OOBE setup?

    General
    3
    5
    915
    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.
    • S
      Stucraster last edited by

      Hi all,

      Me and my organisation are new to FOG but have been needing to move away from our ActiveBoot imaging for quite some time.

      We have set up our FOG server, tested and working all is fine - even down to Renaming the machine and joining it to the domain.

      Previously when we take an image we delete the local user that we setup (We don’t activate the Administrator account) we Sysprep the machine, reboot and take the image. Then when we load an image to a machine it boots up to the OOBE setup. We put our local account name back in and all other details needed.

      With FOG, we can obviously still do this. I can enter our local account name, and I can even enter any random computer name as after this setup is complete, FOG takes over and renames the machine and joins it to the domain.

      Is there a way I can automatically complete this OOBE? Is there a way to skip this setup and have the account created automatically? I have looked at an unattend.xml however, this seems to go above and beyond what I need it to do.

      Many thanks,
      Stu

      1 Reply Last reply Reply Quote 0
      • george1421
        george1421 Moderator @Stucraster last edited by

        @stucraster You can ignore it or make changes to it. I don’t know if sysprep will disable the admin account or not. But the unattend.xml and setupcomplete.cmd files are the way to tweak the final OS to have the features you need. These files would be dropped into place just before you run sysprep. Actually when I build my reference image, I have a batch script that copies the files into the right location and then calls sysprep to ensure everything is in the right spot each time I rebuild the reference image.

        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!

        1 Reply Last reply Reply Quote 1
        • S
          Stucraster last edited by

          Thanks!

          If I didn’t remove the local account before Sysprep, can I just ignore anything account related in the unattend.xml?

          george1421 1 Reply Last reply Reply Quote 0
          • george1421
            george1421 Moderator last edited by

            You can start your basic configuration using this tool: http://windowsafg.no-ip.org/win10x86_x64.html Then discard parts you don’t need like disk creation. Include more bits if you need different actions. Then when you have your unattend.xml file perfected then build your reference (golden, mother, master) image. When you are ready to sysprep place the unattend.xml file in c:\windows\panther directory and call sysprep with this command:
            c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /shutdown /unattend:C:\Windows\Panther\Unattend.xml

            This will prepare the system for cloning, and tell OOBE to use your custom unattend.xml file.

            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!

            1 Reply Last reply Reply Quote 1
            • Q
              Quazz Moderator last edited by

              You will have to use an unattend.xml for that as you’ve already discovered. You can add to it what you need and ignore most of the rest, to be honest.

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

              58
              Online

              10.4k
              Users

              16.4k
              Topics

              150.7k
              Posts

              Copyright © 2012-2023 FOG Project