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

    How to use unattended script to complete oobe without loading a new image

    Scheduled Pinned Locked Moved
    General
    3
    6
    290
    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.
    • R
      rogerdodger
      last edited by

      Hi there!
      Brand new to FOG and not sure if it can do what I want it to do - hopefully someone more knowledgeable can help me out.

      We currently use Windows Configuration Designer to get through OOBE automatically and install our RMM agent on the PC which then runs the scripts to install software, etc.

      We place the files on an SD card and after a few minutes, it’s all done.

      Instead of manually inserting the SD card into each PC, we would like to use FOG (if possible) to do the same thing over the network so we would just need to connect a new PC and everything would finish automatically.

      Can it be done and if so, how? Thanks in advance!

      george1421G JJ FullmerJ 2 Replies Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @rogerdodger
        last edited by

        @rogerdodger Typically to would bake that into your golden image, so your deployment was all self contained.

        But to your point answer me what is on that sd card? Do you boot off from the card or do you boot into windows and then run a batch file from the sd card?

        There are a few options if its self bootable or you can make a winpe image that containes the files you need and then you can boot that from the fog server. SO you have a few options based on what you have on the sd card.

        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!

        R 1 Reply Last reply Reply Quote 0
        • R
          rogerdodger @george1421
          last edited by

          @george1421 Thanks for the quick response.

          We boot into Windows and then the files on the SD card that were created from Windows Configuration Designer takes care of OOBE.

          Basically, I want to leave everything as is on the PC. I don’t want to reimage it. I just want to do exactly as we’re doing now but just do it over the network.

          Can FOG do that and if so, how?

          george1421G JJ FullmerJ 2 Replies Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @rogerdodger
            last edited by

            @rogerdodger I looked into Windows Configuration Designer since I dont use it. FOG is not the right tool here to use. This WCD creating a deployment package that windows oobe uses /installs from local media. So windows is running at that time, FOG can’t touch the system since its running linux. Unless you can access the wcd package files from a network share, you are stuck using a usb/sd card.

            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 0
            • JJ FullmerJ
              JJ Fullmer Testers @rogerdodger
              last edited by

              @rogerdodger If all your SD card is doing is running ppkg files, those can be applied with powershell in a snapin, in some instances you can embed such in the image but usually best to do it after, during we’ll provisioning.

              So you can probably make a simple snapin that uses powershell and the install-provisioningpackage command that references each ppkg file which you upload as the snapin file. There are some other ways you can go about it, it won’t work out of the box, but you can build a pretty robust automation solution with fog at the core.

              You could also embed the ppkgs or a script that downloads the most up to date version from an internal source and have it as part of a setupcomplete.cmd or synchronous commands in an unattend xml

              I’m on a phone at the moment, but if you want to go down this road I will gladly help you get started

              Have you tried the FogApi powershell module? It's pretty cool IMHO
              https://github.com/darksidemilk/FogApi
              https://fogapi.readthedocs.io/en/latest/
              https://www.powershellgallery.com/packages/FogApi
              https://forums.fogproject.org/topic/12026/powershell-api-module

              1 Reply Last reply Reply Quote 0
              • JJ FullmerJ
                JJ Fullmer Testers @rogerdodger
                last edited by

                @rogerdodger wait, I just read this bit, not reimaging it makes it difficult. You still could use snapins and the fog client, but fully automating it would require reimaging.

                Have you tried the FogApi powershell module? It's pretty cool IMHO
                https://github.com/darksidemilk/FogApi
                https://fogapi.readthedocs.io/en/latest/
                https://www.powershellgallery.com/packages/FogApi
                https://forums.fogproject.org/topic/12026/powershell-api-module

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

                161

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project