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

    Windows 7 Deployment FOG- SAD2 Driver tool

    Scheduled Pinned Locked Moved
    Tutorials
    65
    228
    357.6k
    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.
    • N
      nb27alex
      last edited by

      [quote=“RoidHead, post: 11973, member: 4049”]I am planning on attempting this. I have never did anything like this. Do I need a dedicated server for Fog? or can I put it on our corporate server?[/quote]

      If your corporate server runs Ubuntu, you could install it there, but depending on what services that server provides, FOG may reduce performance of the machine during imaging operations, since the HD and NIC become so busy moving huge amounts of data.

      1 Reply Last reply Reply Quote 0
      • N
        nb27alex
        last edited by

        [quote=“RoidHead, post: 11973, member: 4049”]I am planning on attempting this. I have never did anything like this. Do I need a dedicated server for Fog? or can I put it on our corporate server?[/quote]

        Also, realistically, you could just install Ubuntu on an older desktop PC and use that as your FOG server. You don’t necessarily need server grade hardware.

        1 Reply Last reply Reply Quote 0
        • G
          Gaurus
          last edited by

          Hello,

          you have a nice tutorial here…thx for that. Few things…you recommending use of fogprep, but after that you use generalize on sysprep which should by the same thing base on fog wiki([url]http://www.fogproject.org/wiki/index.php/What_do_I_have_to_do_to_an_image_before_uploading%3F[/url]).
          Second, I was deployed image with SAD rutine and everithing finish, but strange thing occur, after windows start, fogsystray hangs a and for example when I call itel graphic setting tool it crash. Same with windows media center for example. In image this problems not happens. Any ideas? anybody?

          1 Reply Last reply Reply Quote 0
          • E
            Elias Santiago
            last edited by

            I believe there is a way within the DPinstall script to create the necessary RemoveD.cmd for the cleanup.

            I will try including these lines just before the final shutdown (where FOG service is restarted):

            [CODE]ECHO @ECHO OFF > %SystemDrive%\Drivers\RemoveD.cmd
            ECHO rd /s/q %SystemDrive%\D >> %SystemDrive%\Drivers\RemoveD.cmd
            ECHO DEL /F /S /Q /A “%SystemDrive%\Drivers\SAD2-111118” >> %SystemDrive%\Drivers\RemoveD.cmd
            ECHO rd /s/q %SystemDrive%\Drivers\SAD2-111118 >> %SystemDrive%\Drivers\RemoveD.cmd
            ECHO EXIT >> %SystemDrive%\Drivers\RemoveD.cmd[/CODE]

            I changed 😄 to [FONT=Consolas]%SystemDrive% to make it more compatible with different boot configurations. [/FONT]

            1 Reply Last reply Reply Quote 0
            • E
              Elias Santiago
              last edited by

              After a few trial runs, here is what I did:

              Modify the sysprep.inf file (with setupmgr.exe) so that:
              1 - Completely Unattended = NO
              2 - Additional commands = startup.cmd (Add this command, this will create a CMDLINES.TXT file under \sysprep\i386$oem$

              include in [I][B]\sysprep\i386$oem$[/B][/I] as [I][B]startup.cmd[/B][/I]:
              [B]cd %SystemDrive%\Drivers\SAD[/B]
              [B]call DP_Install_Tool.cmd[/B]

              in [I][B]\Drivers\SAD[/B][/I], edit [B][I]DP_Install_Tool.CMD[/I][/B]:

              just after these lines:
              [B]popd[/B]
              [B]endlocal[/B]

              include:
              [CODE]ECHO @ECHO OFF > %SystemDrive%\Drivers\RemoveD.cmd
              ECHO reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v CMD0 /t REG_SZ /d “rd /s /q %SystemDrive%\Drivers” >> %SystemDrive%\Drivers\RemoveD.cmd
              ECHO rd /s/q %SystemDrive%\D >> %SystemDrive%\Drivers\RemoveD.cmd
              ECHO DEL /F /S /Q /A “%SystemDrive%\Drivers\SAD” >> %SystemDrive%\Drivers\RemoveD.cmd
              ECHO rd /s/q %SystemDrive%\Drivers\SAD >> %SystemDrive%\Drivers\RemoveD.cmd
              ECHO EXIT >> %SystemDrive%\Drivers\RemoveD.cmd

              shutdown -r -c “Drivers Installed! Machine will now restart…”
              call C:\Drivers\RemoveD.cmd
              NET START “Fog Service”

              [/CODE]

              The RunOnce key added will delete the \Drivers\SAD directory on next reboot, since RemoveD.cmd can’t do it after erasing itself. But since the FOG service is restarted just after RemoveD.cmd, the FOG service will restart the computer (to rename it).

              Tried many times and works like a charm!

              Hope it helps!

              1 Reply Last reply Reply Quote 0
              • E
                Elias Santiago
                last edited by

                small correction:

                on:

                [FONT=Consolas][CODE]ECHO reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v CMD0 /t REG_SZ /d “rd /s /q %SystemDrive%\Drivers” >> %SystemDrive%\Drivers\RemoveD.cmd[/CODE][/FONT]
                [FONT=Consolas]should be: [/FONT]
                [FONT=Consolas][CODE]ECHO reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v CMD0 /t REG_SZ /d “cmd /c rd /s /q %SystemDrive%\Drivers” >> %SystemDrive%\Drivers\RemoveD.cmd[/CODE][/FONT]

                1 Reply Last reply Reply Quote 0
                • E
                  Elias Santiago
                  last edited by

                  After some more testing, I found out the REG line, after /d instead of:

                  [FONT=Consolas]“cmd /c rd /s /q %SystemDrive%\Drivers”[/FONT]

                  SHOULD be:

                  [FONT=Consolas]“cmd /c “”“rd /s /q %SystemDrive%\Drivers””"[/FONT]

                  [FONT=Consolas](Yes 3 quotes to escape a single quote). That works magic! [/FONT][FONT=Consolas] [/FONT]

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

                    Are you able to add your own drivers to the list as well and do they have to be compressed?

                    1 Reply Last reply Reply Quote 0
                    • W
                      Will-UK
                      last edited by

                      Could someone please upload SAD2-111118(tuturial version) again, the download link is giving me the following error.

                      Sorry, the time limit of this canvas has expired and the original media fire link no longer works
                      Thanks for any help

                      1 Reply Last reply Reply Quote 0
                      • D
                        drjam
                        last edited by

                        [quote=“andyroo54, post: 10394, member: 267”]Sorry I thought I replied to this.

                        The problem appears to be with your unattend file. In particular something you have specified possibly in shell setup module. If you could upload the file we can have a look, you may need to zip the file first.[/quote]

                        The image above is not showing, but the error message is:
                        Windows could not parse or process the unattend answer file for pass [specialize] blah blah
                        Microsoft-Windows-Shell-Setup

                        The the VM says “fine, im gunna reboot and fix it.” but it just loops reboot with same errors.
                        Im having this issue too.
                        Ive read that it can be:
                        [LIST]
                        []A Space in the ComputerName field (I dont have a space, ive called mine RENAME)
                        [
                        ]Bad product Key (I used the one from this post, should be good)
                        [/LIST]
                        I have no idea what to do from here… heeeeelp?

                        1 Reply Last reply Reply Quote 0
                        • D
                          drjam
                          last edited by

                          [quote=“drjam, post: 17863, member: 16842”]The image above is not showing, but the error message is:
                          Windows could not parse or process the unattend answer file for pass [specialize] blah blah
                          Microsoft-Windows-Shell-Setup

                          The the VM says “fine, im gunna reboot and fix it.” but it just loops reboot with same errors.
                          Im having this issue too.
                          Ive read that it can be:
                          [LIST]
                          []A Space in the ComputerName field (I dont have a space, ive called mine RENAME)
                          [
                          ]Bad product Key (I used the one from this post, should be good)
                          [/LIST]
                          I have no idea what to do from here… heeeeelp?[/quote]

                          ok the “fix” is to delete the entire key: Microsoft-Windows-Shell-Setup

                          pretty crap fix. I hope to find the reason why this didnt work on a vanilla Windows 7 Pro SP1 OEM install on an ESXi VM machine.
                          But if anyone can… it will be superman. or steve.

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

                            [quote=“andyroo54, post: 4019, member: 267”]Are you sure you have copied the guide correctly? Have you run sysprep correctly? I’d suggest to strongly re read the instructions and try again with your xml file. Use snapshots, which will reduce your time. I know my guide is long and in some cases can be difficult to interpret due to language differences, but you will find that everyone does this differently so you may come across diff problems. I will try to upload my unattend xml tomorrow for you to try…[/quote]

                            Were you ever able to upload your unattend.xml? I’m having issues following along the tutorial, things are all appearing different then the screenshots included on the original tutorial.

                            Thanks,
                            Knight.

                            1 Reply Last reply Reply Quote 0
                            • A
                              andyroo54 Moderator
                              last edited by

                              [quote=“Knight, post: 17910, member: 17014”]Were you ever able to upload your unattend.xml? I’m having issues following along the tutorial, things are all appearing different then the screenshots included on the original tutorial.

                              Thanks,
                              Knight.[/quote]

                              What is appearing differently? Are you using windows 7 pro SP1? Or a different DVD?

                              W 1 Reply Last reply Reply Quote 0
                              • K
                                Knight
                                last edited by

                                [quote=“andyroo54, post: 17911, member: 267”]What is appearing differently? Are you using windows 7 pro SP1? Or a different DVD?[/quote]
                                [url]http://prntscr.com/1wbrjg[/url]

                                Things aren’t nested the same way, and I can’t seem to insert anything into “3 generalize”.

                                I’m using Windows 7 Pro x86, Not SP1.

                                ISO MD5Sum is: D8F675AAEB48057452666B0CD686D7F5

                                Btw, thanks for the awesome tutorial. 😉

                                Knight.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  drjam
                                  last edited by

                                  [quote=“Knight, post: 17910, member: 17014”]Were you ever able to upload your unattend.xml? I’m having issues following along the tutorial, things are all appearing different then the screenshots included on the original tutorial…
                                  [/quote]

                                  Same, what is different? Maybe at what point is it first different?

                                  Ive had some MAJOR issues getting fog itself running, as well as a nice sys-prepped VM working.
                                  Id love to share my learning curve with you here, in the interests of common learning!

                                  I followed this thread for my setup, and ended up scrapping the SAD2 drivers totally as they didn’t seem to make any difference when rolling it onto a physical box.

                                  So now ive dumped a lot of motherboard drivers into a folder on the VM called “Drivers” and will do that by hand after each image deployment.

                                  I will be searching here and googleing there…to find a way to script the driver installs, even if its just making a bat file to daisy-chain the drivers install per motherboard model.

                                  I run a PC business…this will be useful for our pc builds.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    andyroo54 Moderator
                                    last edited by

                                    [quote=“drjam, post: 17914, member: 16842”]Same, what is different? Maybe at what point is it first different?

                                    Ive had some MAJOR issues getting fog itself running, as well as a nice sys-prepped VM working.
                                    Id love to share my learning curve with you here, in the interests of common learning!

                                    I followed this thread for my setup, and ended up scrapping the SAD2 drivers totally as they didn’t seem to make any difference when rolling it onto a physical box.

                                    So now ive dumped a lot of motherboard drivers into a folder on the VM called “Drivers” and will do that by hand after each image deployment.

                                    I will be searching here and googleing there…to find a way to script the driver installs, even if its just making a bat file to daisy-chain the drivers install per motherboard model.

                                    I run a PC business…this will be useful for our pc builds.[/quote]

                                    I find the SAD2 drivers tool works great for us, but it’s good you found a way that works for your own setup. The main point of this was deploying windows 7, the drivers are just a bonus really.

                                    [quote=“Knight, post: 17912, member: 17014”][url]http://prntscr.com/1wbrjg[/url]

                                    Things aren’t nested the same way, and I can’t seem to insert anything into “3 generalize”.

                                    I’m using Windows 7 Pro x86, Not SP1.

                                    ISO MD5Sum is: D8F675AAEB48057452666B0CD686D7F5

                                    Btw, thanks for the awesome tutorial. 😉

                                    Knight.[/quote]

                                    That would explain why the screen shots I took don’t look the same for you. Every version of windows 7 has diff options for configuring the XML file. For example the XML file I created for windows 7 Sp1 x64 is different to the one I created for windows 7 Sp1 x86, and so it will be different again to yours because you aren’t using SP1 even.

                                    Here is another guide:

                                    [url]http://www.mockbox.net/windows-7/149-windows-7-autounattend-example.html[/url]

                                    Remember my guide will work if you are following it exactly, since you aren’t using the same DVD then I’m afraid you will need to figure out the unattend xml, you will need to read guides, there is now even more info out there compared to back when I wrote this guide.

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

                                      [quote=“andyroo54, post: 17915, member: 267”]I find the SAD2 drivers tool works great for us, but it’s good you found a way that works for your own setup. The main point of this was deploying windows 7, the drivers are just a bonus really.

                                      That would explain why the screen shots I took don’t look the same for you. Every version of windows 7 has diff options for configuring the XML file. For example the XML file I created for windows 7 Sp1 x64 is different to the one I created for windows 7 Sp1 x86, and so it will be different again to yours because you aren’t using SP1 even.

                                      Here is another guide:

                                      [url]http://www.mockbox.net/windows-7/149-windows-7-autounattend-example.html[/url]

                                      Remember my guide will work if you are following it exactly, since you aren’t using the same DVD then I’m afraid you will need to figure out the unattend xml, you will need to read guides, there is now even more info out there compared to back when I wrote this guide.[/quote]
                                      I appreciate the suggestions. At this point I’m more then willing to slipstream in sp1 just so I can use your unattended.xml. 😉 I’m also trying to do Professional, at this point anyway, just to get things going, once I’ve got it going, I can start doing different images.
                                      [quote=“drjam, post: 17914, member: 16842”]I run a PC business…this will be useful for our pc builds.[/quote]
                                      This is the exact same reason I’m wanting to do this also, however I’m more repair, then building a new machine. So I’ll have to figure out the best way to allow me to manually enter legit license codes, etc. I haven’t even gotten to the SAD2 part yet, lol.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        andyroo54 Moderator
                                        last edited by

                                        [quote=“Knight, post: 17917, member: 17014”]

                                        This is the exact same reason I’m wanting to do this also, however I’m more repair, then building a new machine. So I’ll have to figure out the best way to allow me to manually enter legit license codes, etc. I haven’t even gotten to the SAD2 part yet, lol.[/quote]

                                        If you follow my guide, it does not activate the license key, it is a dummy key (legitimate). Once the computer is imaged etc, we manually enter our volume license key. So the same process will work for you. I did consider a license server for our VLK but decided it wasn’t worth the hassle. Plus if we have an OEM desktop/laptop then we enter the windows license it comes with to save activations on our VLK.

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

                                          [quote=“andyroo54, post: 17918, member: 267”]If you follow my guide, it does not activate the license key, it is a dummy key (legitimate). Once the computer is imaged etc, we manually enter our volume license key. So the same process will work for you. I did consider a license server for our VLK but decided it wasn’t worth the hassle. Plus if we have an OEM desktop/laptop then we enter the windows license it comes with to save activations on our VLK.[/quote]
                                          I did seem to recall reading that somewhere, I suspect in your tutorial. 😄

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

                                            [quote=“Knight, post: 17910, member: 17014”]I’m having issues following along the tutorial, things are all appearing different then the screenshots included on the original tutorial.[/quote]

                                            Alright… I feel like an idiot. I re-read the tutorial, about 50 times, and finally realized I was using the “Windows System Image Manager” incorrectly to make my auto answer file, unattend.xml. I was incorrectly going to the top and clicking on “insert > add synchronous command”, then cutting and pasting the name of the component into the program. This isn’t the right way… The right way is in the bottom left, under “Windows Image”, expand the “Components” folder, then drag and drop the items listed in the tutorial over to the right middle of the program, under the “Answer File” section.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 9 / 12
                                            • First post
                                              Last post

                                            203

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project