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

Best way to deploy Windows?

Scheduled Pinned Locked Moved Unsolved
Windows Problems
6
10
3.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.
  • E
    eseelke
    last edited by Jan 4, 2017, 4:31 PM

    Server
    • FOG Version: 1.3.0 SVN 6050
    • OS: Debian Jessie
    Client
    • Service Version: none
    • OS: none
    Description

    I have a small IT shop that re-images computers on a daily basis. I am wanting to use the FOG server in the simplest way possible and not entirely sure the best way to do that. So looking for advice.

    What I want to do is install Windows, then use Ctrl-Shift-F3 to go to sysprep mode. Then once it’s it’s up, I generalize and reboot to capture in FOG.

    At this point I can deploy and it works, but is missing drivers and updates.

    So, I want to find out how I can add a command to run Snappy Driver Installer and wsusoffline from a network share. This is the part I am struggling with.

    Any help would be greatly appreciated.

    Eddie

    W 1 Reply Last reply Jan 7, 2017, 6:46 AM Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 4, 2017, 4:52 PM

      While not a perfect “here’s what you do” maybe the information on this thread might be able to help get you started on the journey?

      https://forums.fogproject.org/topic/9133/fog-doesn-t-attempt-to-pull-drivers-through-postdownloadscript-for-m-2-drive

      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

      T 1 Reply Last reply Jan 4, 2017, 4:57 PM Reply Quote 0
      • T
        THEMCV @Tom Elliott
        last edited by THEMCV Jan 4, 2017, 11:02 AM Jan 4, 2017, 4:57 PM

        @Tom-Elliott Wrong thread, but I did post them both. 🙂

        Here you go: https://forums.fogproject.org/topic/8878/fog-drivers-script-will-not-run-correctly-in-postdownloadscripts

        Hi @eseelke!

        Is this Windows 7 or 10?

        Here’s a small write up I made. It’s pretty condensed, but if you need help with anything just let me know.

        0_1483549323105_Imaging.docx

        1 Reply Last reply Reply Quote 1
        • T
          Tom Elliott
          last edited by Jan 4, 2017, 5:09 PM

          I tried. Thanks for posting more relevant information.

          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 1
          • G
            george1421 Moderator
            last edited by Jan 4, 2017, 5:29 PM

            What OS are you deploying and do you plan on installing the FOG client on every reference image? There are different ways to go about this depending on your end goal.

            Since you are a “small IT shop” does this mean you are a computer repair shop or an IT group inside your company. The approach will be different based on if you will see these imaged computers on a daily basis.

            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
            • W
              Wayne Workman
              last edited by Jan 5, 2017, 3:18 AM

              To automate the wsus stuff, you’ll need the fog client. But running a small I.T. shop, I would imagine that the FOG Client is not something you would want to keep installed on the systems you fix for folks. I’ve never tried it but it might be possible to also craft a snapin that uninstalls the FOG Client.

              Pro tip: Put letters or numbers at the front of your snapin names to control what order they execute in.

              For the snappy driver stuff, just include this in your image. Put it inside of c:\drivers and windows should use it.

              I’d imagine that if you have no idea what sort of model is going to come through the door for you to fix, it’ll be difficult to automate the drivers stuff. I figure you’ll want to clean up the snappy drivers from the freshly imaged system to clear up space for the end-user.

              I would be interested in what @george1421 would have to say about the drivers.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • S
                Scott B
                last edited by Scott B Jan 6, 2017, 8:05 AM Jan 6, 2017, 2:01 PM

                I add the fogservice.msi to my sysprep Windows image, but do not install it as part of the image. Then I add the install lines to setupcomplete.cmd that sysprep runs as it completes setup.

                msiexec /i "C:\ProgramData\Bak\FOGService.msi" /quiet USETRAY="1" HTTPS="0" WEBADDRESS="serveripaddress" WEBROOT="/fog" ROOTLOG="1"
                sc config "FogService" start= auto
                net start fogservice >>C:\FogStartup.Log
                

                I like this gives us a clean install of FOG on the client and since FOG takes care of joining the workstation to AD I don’t have to worry about including that process in the sysprep process itself. Same for printers, FOG takes care of that automatically as well.

                I think it would be easy enough to have fog uninstall itself if you didn’t want to leave it on the PCs after its initial work is done.

                1 Reply Last reply Reply Quote 0
                • E
                  eseelke
                  last edited by Jan 6, 2017, 8:28 PM

                  Hi, thanks for all the answers.

                  We are a small IT repair shop. So, all of the computers we image belong to customers. I wouldn’t want to install the FOG client on these.

                  As for OS version, it is Windows 7 on up.

                  As for putting snappy in C:\drivers, I could do that. but would prefer to avoid that if possible as the folder is over 130GB in size.

                  I tried the fog.drivers script, but never could get it to work.

                  I think for me, the part that is unclear, is do I need to alter the image in any way prior to capture? Or does the FOG server handle adding the tasks?

                  Thanks, Eddie

                  G 1 Reply Last reply Jan 6, 2017, 8:58 PM Reply Quote 0
                  • G
                    george1421 Moderator @eseelke
                    last edited by Jan 6, 2017, 8:58 PM

                    @eseelke The what I would recommend is that you create a generic “windows 7” image and then inject the proper drivers during imaging. You don’t want/need the fog client since you won’t be connecting the built computers to AD/renaming them or any of that.

                    The hardest part will be collecting all of the drivers for each random hardware model. These drivers need to be in INF format and not the drivers that use the automated .exe installers. For Win7 to detect the drivers in C:\Drivers the files need to be in that directory in INF format and for you to update the registry key either through the deployment process or before image capture to have windows look in that folder first for drivers and then in the c:\windows\inf folder.

                    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
                    • W
                      Wayne Workman @eseelke
                      last edited by Jan 7, 2017, 6:46 AM

                      @eseelke George is 100% correct. Follow his advice.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

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

                      257

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project