Automate driver selection windows 7

Page 1 of 2 12 LastLast

  1. Posts : 6
    W7X64 Pro
       #1

    Automate driver selection windows 7


    Hello, im creating an image for the computers at work and Ive run into an annoying issue. This is a universal image, Wn7X64 Pro, and im trying to automagically install the drivers for the graphics card. Sounds simple, right? Well, the new 7th gen processors dont support windows 7, so I made a custom driver .inf for it to install under windows 7. That part works fine, the drivers install and I get intel HD620 graphics as an option. Then I call dpinst from my unattend file and have it install the drivers for the GPU during startup with the /lm switch enabled (since its a custom driver, its unsigned and M$ doesnt like that for some reason). All of that works great, the driver installs during first startup, and I have a completely unattended install. The issue arises when I boot into windows for the first time. The driver is technically installed, and it is available, but windows doesnt automatically select it for use. I have to right click the device in device manager, select update driver etc.. and I see the custom one right there in the list of currently installed drivers, right under "Standard VGA graphics adapter". All I do is select it an hit install, and it works perfectly. Does anyone know of a way to force windows to select that specific driver to use over the default one? I cant help but imagine this is all related to it being unsigned and therefore "worse" than the default one, so im experimenting with putting
    <forceIfDriverIsNotBetter/>
    in my dpinst.xml file. Ill let you guys know if that solves it, but if anyone has any ideas please oh please share them with me.
      My Computer


  2. Posts : 6
    W7X64 Pro
    Thread Starter
       #2

    Using that switch didnt seem to help, I still see both the HD620 and standard VGA graphics adapter options in the driver selection screen.
      My Computer


  3. Posts : 6
    W7X64 Pro
    Thread Starter
       #3

    I posted this issue on another forum too, but here is an image of what im dealing with.

    Link to other forum post - Force windows 7 to enable driver........ - AnandTech Forums

      My Computer


  4. Posts : 7,349
    Windows 7 HP 64
       #4
      My Computers


  5. Posts : 6
    W7X64 Pro
    Thread Starter
       #5

    Megahertz07 said:

    That driver doesnt support windows 7 on 7th generation processors. Im basing my custom driver off of that one, but since I have to modify it to make it work with W7, it wont happily install.
      My Computer


  6. Posts : 7,097
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #6

    Hi Smoblikat,

    That screenshot tells me that Windows WILL NOT automatically install it
    Within any setup a digital signature is required by default.

    Your going to have DIgital enforcement set to OFF on your sysprep
    bcdedit /set testsigning off

    Roy
      My Computer


  7. Posts : 7,097
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #7

    NOTE

    reset it after install, via GPO

    Roy
      My Computer


  8. Posts : 6
    W7X64 Pro
    Thread Starter
       #8

    torchwood said:
    NOTE

    reset it after install, via GPO

    Roy
    Would I be able to re-enable testsigning by putting it into my setupcomplete.cmd? Or is GPO recommended for a specific reason.
      My Computer

  9.   My Computers


  10. Posts : 6
    W7X64 Pro
    Thread Starter
       #10


    If you pause at 5:20, youll see the exact problem im having. I made a working driver for windows 7, in no way do I need any help getting the driver created or loaded. It still prompts me to see if I want to use the selected driver, im going to try and see if enabling testmode will allow it to automatically select the sustom driver to use, if that doesnt work, then this whole thing might not be possible.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:02.
Find Us