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

    Injecting Drivers during audit mode for syspreping Windows 7 and then Fogging

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    5
    25
    10.9k
    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.
    • Lee RowlettL
      Lee Rowlett Developer
      last edited by

      Myself, Tom and james are looking to working on this as a plugin potentially may take sometime… just watch this space 🙂

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Definitely!

        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 0
        • M
          MichaelDigital
          last edited by

          Good news! There was nothing wrong with the script. It deleted the Drivers folder after they installed collect along with the unattend.xml. Thanks for everyone’s help! it wasn’t until I pushed the image to a different model PC that I noticed it worked correctly. The first one I was using as testing grounds, apparently is missing a driver. Thanks Again!

          1 Reply Last reply Reply Quote 0
          • J
            jbsclm Developer
            last edited by

            For info, the vbscript function we use to check for presence of a particular device id is below.
            This allows us to install the associated software as well rather than just the inf files.
            the command line utility Devcon is available from Microsoft at the following link.
            [url]http://support.microsoft.com/kb/311272[/url]

            Function device_present(device)
            Dim cmd,oShell,ScriptPath,rexec,strtext
            ScriptPath = Left(WScript.ScriptFullName, Len(WScript.ScriptFullName) - Len(Wscript.ScriptName))
            cmd=Scriptpath & “drivers\devcon find " & device & “*”
            'msgbox cmd
            Set oShell = CreateObject(“WScript.Shell”)
            set rexec= oShell.exec(cmd)
            strtext=”"
            strtext=Ucase(rexec.stdout.readall())
            if(InStr(1,strtext,“NO MATCHING DEVICES FOUND”,1) >0 )Then
            device_present=false
            else
            device_present=true
            End If
            'wscript.echo strtext
            End function

            1 Reply Last reply Reply Quote 0
            • M
              MichaelDigital
              last edited by

              Very nice script!

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

              256

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project