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

after deploying image - no network driver

Scheduled Pinned Locked Moved
FOG Problems
2
25
3.3k
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
    robertkwild @george1421
    last edited by robertkwild Jul 12, 2022, 1:22 PM Jul 12, 2022, 7:13 PM

    @george1421 so basically instead of syspreping a standard windows OS, you sysprep a winPE ?

    heres the structure i got from extracting that CAB file

    7204-WIN10-A05-CJ9XY\7204\Win10\x64

    do i need to create a folder called

    7204-WIN10-A05-CJ9XY or will 7204 do?

    and you say i get the model info from the web GUI when it does an inventory of the system

    G 1 Reply Last reply Jul 12, 2022, 7:29 PM Reply Quote 0
    • G
      george1421 Moderator @robertkwild
      last edited by Jul 12, 2022, 7:29 PM

      @robertkwild said in after deploying image - no network driver:

      basically instead of syspreping a standard windows OS, you sysprep a winPE ?

      I’m sysprepping a full system that has the windows pe drivers preloaded. This step may not be necessary now days since windows 10 does a good job of having the common hardware drivers on board.

      7204-WIN10-A05-CJ9XY\7204\Win10\x64

      This is the dell part you can discard: 7204-WIN10-A05-CJ9XY
      This part is the bit you need: 7204\Win10\x64

      Now below the x64 directory in the dell cab you will see a bunch of directories with maybe dell part codes or what ever, those are the drivers.

      That 7204\Win10\x64 directory will be copied in full to the target computer in c:\drivers directory. I should point out the parent driver directory 7204 is actually the model number of the computer that is built into SMBIOS. You may have to take a target computer and put it into debug mode to pull the smbios name. On dells the parent driver directory (i.e. 7204) is the model number queried by smbios (most of the time).

      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 Jul 12, 2022, 9:42 PM Reply Quote 0
      • R
        robertkwild @george1421
        last edited by Jul 12, 2022, 9:42 PM

        @george1421 This step may not be necessary now days since windows 10 does a good job of having the common hardware drivers on board.

        That’s what I thought but obviously when deploying a syspreped windows image back on this hardware it doesn’t have the Intel NIC driver

        That 7204\Win10\x64 directory will be copied in full to the target computer in c:\drivers directory

        So if it finds the compatible NIC driver in c:\drivers, will it install the driver or will I have to manually install the driver

        G 1 Reply Last reply Jul 12, 2022, 11:07 PM Reply Quote 0
        • G
          george1421 Moderator @robertkwild
          last edited by Jul 12, 2022, 11:07 PM

          @robertkwild said in after deploying image - no network driver:

          So if it finds the compatible NIC driver in c:\drivers, will it install the driver or will I have to manually install the driver

          Just to be clear, FOS (engine that images the computer) is linux based. It can not step into Windows to do things. What it can do is leave behind bits that windows can use during oobe/winsetup. So what the post install script will do is copy the hardware specific drivers from the FOG server to the target computer into the C:\Drivers folder.

          Now when windows is running then you run the command to load all of the drivers in a specific directory into windows.

          In that post install script tutorial you will see this command that you need to insert into the setupcomplete.cmd batch file.

          pnputil.exe /add-driver "C:\Drivers\*.inf" /subdirs /install
          

          The pnputil.exe program will search c:\drivers (or whatever path you define) and any subfolders for windows drivers and inject them into windows.

          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 Jul 12, 2022, 11:20 PM Reply Quote 0
          • R
            robertkwild @george1421
            last edited by Jul 12, 2022, 11:20 PM

            @george1421 So make a batch file when I’m in the windows desktop after the oobe generalise stage, call it

            setupcomplete.cmd

            And put

            pnputil.exe /add-driver “C:\Drivers*.inf” /subdirs /install

            Or I could just run that command instead

            G 1 Reply Last reply Jul 12, 2022, 11:24 PM Reply Quote 0
            • G
              george1421 Moderator @robertkwild
              last edited by Jul 12, 2022, 11:24 PM

              @robertkwild Yes and yes The setupcomplete.cmd is a windows thing, where winsetup will automatically call that batch file at the end of oobe and just before the login prompt is displayed. It is used for the lite touch method of image deployment. Google that file name to find out the details and its location.

              Or just create the batch file and leave it on the administrators desktop and you can manually run it. It doesn’t need to be called setupcomplete.cmd that is only for the unattended install. In my case Once I start FOG’s image deployment I don’t touch the computer until its finished and ready to move to the users work location. It is totally touchless once fog imaging has started.

              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 Jul 12, 2022, 11:32 PM Reply Quote 0
              • R
                robertkwild @george1421
                last edited by robertkwild Jul 12, 2022, 5:49 PM Jul 12, 2022, 11:32 PM

                @george1421 is there any way to auto call that batch file after the oobe generalise has finished

                bear in mind im not using an unattended.xml answer file

                Ok I save it here

                %WINDIR%\Setup\Scripts\SetupComplete.cmd

                In that setup complete CMD it’s

                pnputil.exe /add-driver “C:\Drivers*.inf” /subdirs /install

                But how do I get fog to dump the script in there in the first place

                G 1 Reply Last reply Jul 12, 2022, 11:49 PM Reply Quote 0
                • G
                  george1421 Moderator @robertkwild
                  last edited by Jul 12, 2022, 11:49 PM

                  @robertkwild AFAIK the unattend.xml file and the setupcomplete.cmd files are not connected they can be used independently of each other. I believe the setupcomplete.cmd is a function of sysprep and not unattend.xml. But I can say I use both so I’ve never tried using one without the other.

                  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 Jul 12, 2022, 11:58 PM Reply Quote 0
                  • R
                    robertkwild @george1421
                    last edited by robertkwild Jul 12, 2022, 6:01 PM Jul 12, 2022, 11:58 PM

                    @george1421 ok i feel this won’t work for me as when I captured the image I ran a sysprep without an unattended answer file, so I fear I’m going to have to run the sysprep again this time specifying an answer file

                    As how do I get Windows or fog to run the script after my oobe generalise

                    i mean this script

                    SetupComplete.cmd

                    pnputil.exe /add-driver “C:\Drivers*.inf” /subdirs /install

                    1 Reply Last reply Reply Quote 0
                    • R
                      robertkwild
                      last edited by Aug 2, 2022, 6:28 PM

                      great thanks @george1421 i understand now, basically to do this right, you need to sysprep using an unattended xml file which i dont do, so best case scenario is i can just leave the drivers there and install once im on the desktop,

                      thanks again george

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

                      197

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project