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

    Help with Win10 Driver injection

    Scheduled Pinned Locked Moved
    General Problems
    9
    88
    31.1k
    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.
    • george1421G
      george1421 Moderator @kyle.heath
      last edited by george1421

      @kyle.heath Yes deploying to a 9020 does work correctly all drivers were loaded correctly after the reboot. I did have to do one additional reboot after imaging was complete because the AMT drivers was not loaded.

      I compared the section of the xml regarding drivers between mine and yours and they are identical.

      I have my sysprep command in a batch file so we have a consistent image build every time. This is the content of that batch file.

      BTW: I’m deploying Win10 Ent CBB 1607 to this target computer.

        net stop wmpnetworksvc
        c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /shutdown /unattend:C:\Windows\Panther\Unattend.xml
      

      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
      • george1421G
        george1421 Moderator
        last edited by george1421

        Just looking for differences here.

        While our unattend.xml files differ quite a bit, there is something that stands out in your unattend.xml file that isn’t in mine.

        My section

            <settings pass="generalize">
                <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <PersistAllDeviceInstalls>false</PersistAllDeviceInstalls>
                </component>
            </settings>
        

        Your unattend file

        	<settings pass="generalize">
                <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
                    <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
                </component>
                <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <SkipRearm>1</SkipRearm>
                </component>
            </settings>
        

        Note what you are doing with the drivers. I’m not saying one is right or the other is wrong. Just my kit does as it should.

        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!

        MRCURM 1 Reply Last reply Reply Quote 0
        • MRCURM
          MRCUR Testers @george1421
          last edited by

          @george1421 I can’t imagine the drivers would install correctly with the persist & do not clean set to true. This is probably your issue @kyle-heath.

          K 2 Replies Last reply Reply Quote 1
          • K
            kyle.heath @MRCUR
            last edited by

            @MRCUR Thanks MRCUR and George1421…I also think that this is the issue. This is a copy of a windows 7 Unattend.xml that the guy before me used to push out his images to machines and had the drivers on a flash drive. He would install the drivers to the machines after the golden image is pushed out and then re upload them with appropriate names…etc (LenovoE550, LenovoE440). I’m getting away from that and just using 1 image for all 64 bit machines. I’ll test this out and see if it works. Thanks!!

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

              I’m late, but if you’re using inf files and such to install drivers, it’s sufficient to place them in a folder under Windows\inf and windows will install them during first boot. (which means I’ll also recommend copying them over during postdownloadscript stage of imaging)

              Just my two cents

              K 1 Reply Last reply Reply Quote 1
              • K
                kyle.heath @Quazz
                last edited by

                @Quazz So you think pushing them into the Windows\inf folder would work better than pushing them into a C\windows\driver folder? I may try this also and see if it works. Looks like I can approach this in multiple ways. Thanks for the input!

                Q 1 Reply Last reply Reply Quote 0
                • Q
                  Quazz Moderator @kyle.heath
                  last edited by Quazz

                  @kyle.heath I have a folder with network drivers on all my images and that works fine. I just put all of them there from the universal driverpacks.

                  Cool thing is, you don’t need to specify windows to install those drivers, it does so by itself.

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kyle.heath @MRCUR
                    last edited by

                    @MRCUR I tested this by changing the values of those to false and it still didn’t install all the drivers. It installed a couple, but I’m missing
                    0_1482174268705_upload-694998b4-d3c9-4575-a9a8-631c367ec218

                    I’m going to try dpinst.exe to see if that works.

                    sudburrS 1 Reply Last reply Reply Quote 0
                    • K
                      kyle.heath @Quazz
                      last edited by

                      @Quazz So right now I have a folder on my FOG server that pushes out a folder called Drivers onto my machines. If I push out a folder called INF into windows instead of Drivers that should push them into the correct area for Microsoft installation. It’s installing some of my drivers but not all. SMBus and some USB drivers don’t install.

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @kyle.heath
                        last edited by

                        @kyle.heath Its installing the same number of drivers as when you place them in c:\windows\drivers?

                        If that is the case you need to check the drivers to see if they are unpacked.

                        I do have to ask the question where did you get all of these drivers from? Were they on the Dell Deployment CAB for your hardware model or did you download them individually from the Dell site.?

                        Also note as a Moderator I’m going to fork this section of the thread since its a bit off topic of the original tutorial. I’ll clean it up after the issue has been resolved or come to an end.

                        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!

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kyle.heath @george1421
                          last edited by

                          @george1421 It’s not installing the same number because when i point the missing drivers to the C:\Windows\Drivers folder it installs them. I got them from the Dell website and they were on the Dell Deployment CAB. It installs certain ones like the networks ones, but SMBUS and USB ones it does not.

                          1 Reply Last reply Reply Quote 0
                          • sudburrS
                            sudburr @kyle.heath
                            last edited by

                            @kyle.heath In Windows 7, some drivers for newer devices must be installed after drivers for older devices are installed with a reboot in between and vice versa.

                            And as @Quazz said, you can quite simply dump your entire library of drivers into ‘c:\windows\inf’, but you will still be limited by Windows 7’s ability, or inability to prioritize driver installation order.

                            [ Standing in between extinction in the cold and explosive radiating growth ]

                            1 Reply Last reply Reply Quote 1
                            • M
                              MotD
                              last edited by

                              I Need some Help with this Scipts.
                              I have HP and Lenovo Machines, and i want to test the Driver Injection with a Lenovo ThinkPad L560.

                              I dont know if i had all made all required settings, my Drivers dont copied to the Client.

                              I have placed the fog.drivers, fog.log and fog.postdownload into /images/postdownloadscripts and set the Files to 755.
                              And i have create da drivers Folder into /images with Rights set to 755.

                              Under drivers there is a Folder named to the result from “dmidecode -s system-product-name” and the other needet Folders under it.
                              Looks like this:
                              /images/drivers/20F10026GE/win10/x64

                              Under x64 i put all 64Bit Drivers from a SCCM Package for the ThinkPad L560.

                              But i think the FOG dont start the Scripts unter /images/postdownloadscripts.
                              The Folder C:\Windows\DRV was not created and no Drivers copied.

                              Do i have any settings to make so FOG run the Scrips under /images/postdownloadscripts?

                              Please can someone help me?

                              THEMCVT 1 Reply Last reply Reply Quote 0
                              • THEMCVT
                                THEMCV @MotD
                                last edited by

                                @MotD What does your fog.postdownload and fog.drivers look like?

                                Any error messages?

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MotD @THEMCV
                                  last edited by

                                  @THEMCV I have taken the Files and Folder Structure from this Thread and dont change anything.
                                  https://forums.fogproject.org/topic/8889/fog-post-install-script-for-win-driver-injection/2

                                  Where can i see a Log File or else?
                                  The Messages on the Client System runs too fast to read it.

                                  THEMCVT 1 Reply Last reply Reply Quote 0
                                  • THEMCVT
                                    THEMCV @MotD
                                    last edited by

                                    @MotD Check out this thread and make sure you’ve got the updated ones. This is what I’m using.

                                    https://forums.fogproject.org/topic/8878/fog-drivers-script-will-not-run-correctly-in-postdownloadscripts/51?page=1

                                    M 2 Replies Last reply Reply Quote 0
                                    • M
                                      MotD @THEMCV
                                      last edited by

                                      @THEMCV Many Thanks to you, i’ll read it now and then i try it 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MotD @THEMCV
                                        last edited by

                                        @THEMCV Now i have another Question, i try to run the fog.postdownload script in Terminal.
                                        And get a Error because i there is no Folder called “/usr/share/fog” with the called funcs.sh Script. The Folder is completly missing.

                                        I have FOG 1.3.3 installed on a Ubuntu 14.04 LTS.
                                        Where i get the needed Files?

                                        THEMCVT 1 Reply Last reply Reply Quote 0
                                        • THEMCVT
                                          THEMCV @MotD
                                          last edited by

                                          @MotD You shouldn’t run it, it should go in /images/postdownloadscripts. The error I’m not sure about.

                                          in /images/postdownloadscripts do you have fog.postdownload and fog.drivers in there from the thread?

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            MotD @THEMCV
                                            last edited by

                                            @THEMCV Right, under /images/postdownloadscripts i have the fog.postdownload, the fog.log and the fog.drivers all File rights set to 755

                                            But if the Script call the funcs.sh and this file does not exist?

                                            george1421G 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post

                                            198

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project