Skip navigation
1 2 Previous Next 7158 Views 16 Replies Latest reply: Aug 25, 2011 2:13 PM by paramaguru RSS
paramaguru Apprentice 129 posts since
Feb 10, 2011

Has received 1 of 9 achievements.
Currently Being Moderated

Aug 5, 2011 8:36 AM

How to allow "Digitally unsigned drivers" pass in answer file

Hi All,

 

I want to allow "Digitally unsigned drivers" without any prompts while deploying the image, How can I give the Pass and under which componunt to allow "Digitally unsigned drivers" without any prompts in windows 7 answer file (Unattend.xml) and Windows XP (sysprep.inf) ?

 

Can anyone tell me how to do this....

 

Thanks and Regards,

Paramaguru

  • EMiranda Expert 681 posts since
    Aug 26, 2009

    Has received 7 of 9 achievements.

    in Windows XP you need to add to your sysprep.inf:

     

    DriverSigningPolicy=Ignore

     

     

    Windows 7 is different and to be honest I had headaches doing any type of driver pnp installations with just sysprep and windows. I moved to a seperate utility to do my driver pnp installs.  The one i use is called dpinst.exe or you can use dism which is already included in the OS.

     

    by using dpinst.exe all i need to do is add the switch /lm and it accepts all unsigned drivers.

     

    more info on the utility here -

     

    http://msdn.microsoft.com/en-us/library/ff544775%28v=vs.85%29.aspx

     

     

    Doesnt directly answer your question for Windows 7 but if you want a workaround, it will work for what you are asking.

  • EMiranda Expert 681 posts since
    Aug 26, 2009

    Has received 7 of 9 achievements.

    i explain how to use dpinst.exe in this thread:

     

    http://community.landesk.com/support/message/46213#46213

     

     

    get dpinst.exe from the Windows Driver Kit, here

     

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11800

  • EMiranda Expert 681 posts since
    Aug 26, 2009

    Has received 7 of 9 achievements.

    in summary

     

    • get the dpinst.exe

     

    • create an .xml file, i provided example in the thread:

     

    • put utility dpinst.exe and dpinst.xml answer file in your image. Example C:\drivers  (Either before you capture or you copy it over after you lay down)

     

    • create a folder where you put your pnp drivers. Example C:\drivers\pnp

     

    • in your sysprep launch the utility with in oobe RunSynchronous:

     

         Example c:\drivers\dpinst.exe /lm /path C:\drivers\pnp

     

     

    *note, the /lm switch can also be replaced by adding  the following to the .xml file


    <legacyMode>
  • EMiranda Expert 681 posts since
    Aug 26, 2009

    Has received 7 of 9 achievements.

    pnp stands for plugnplay

     

    yes, if you already download all your drivers to c:\windows\lddriverstore then change the dpinst.exe /path c:\windows\lddriverstore

  • EMiranda Expert 681 posts since
    Aug 26, 2009

    Has received 7 of 9 achievements.

    that is how i do it. just make sure you use the 64bit version for 64bit drivers. its called dpinst64.exe

  • EMiranda Expert 681 posts since
    Aug 26, 2009

    Has received 7 of 9 achievements.

    You dont install it, all you need to do is copy that file dpinst.exe and put it in the location where you want your sysprep to run it.  Like the example I gave you C:\drivers

     

     

    to create a .xml just create a blank text document and copy the example i gave you: Here is another example that includes your legacy options.

     

    Save the text file as dpinst.xml and include it in the same directory as dpinst.exe

     

     

    <?xml version="1.0" ?>
    <dpinst>
        <search>
          <subDirectory>*</subDirectory>
        </search>
        <language code="0x0409">
          <dpinstTitle>Driver Install Wizard</dpinstTitle>
          <welcomeTitle>Welcome!</welcomeTitle>
          <welcomeIntro>This utility is used to install device drivers.</welcomeIntro>
          <installHeaderTitle>Installing drivers...</installHeaderTitle>
          <finishTitle>Finished installing drivers.</finishTitle>
        </language>
        <deleteBinaries/>
        <legacy/>
        <quietInstall/>     
        <suppressEulaPage/>     
        <suppressWizard/>     
        <scanHardware/> 
    </dpinst>
    
    
    
    
    
    

     

     

    The language code in this example is English, if you dont want english, choose a different language code.  here,

     

    http://msdn.microsoft.com/en-us/library/ff544784%28v=VS.85%29.aspx

  • EMiranda Expert 681 posts since
    Aug 26, 2009

    Has received 7 of 9 achievements.

    Paramaguru,

     

    i have gave you all the info in previous threads.  You can put dpinst.exe and dpinst.xml anywhere you want. You are calling the utility from sysprep. So whereever you put it, you just call it from there.

     

    I used "examples"  you can use my examples or you can do your own way.

     

    If you want to put dpinst.exe and dpinst.xml in c:\drivers then put it there and call if from sysprep doing c:\drivers\dpinst.exe /path c:\windows\LDDriverstore


    If you want to put dpinst.exe and dpinst.xml in c:\ then put it  there and call if from sysprep doing c:\dpinst.exe /path c:\windows\LDDriverstore

     

    That choice is up to you.  what is important is you call dpinst.exe with the /path switch that is pointing to the drivers for your machine.  Since it looks like you add all your drivers in LANDesk for HII, then LANDesk puts all the drivers for the machine after image deployment into c:\windows\LDDriverstore.  So that is where you want to direct dpinst.exe to look for drivers because it doesnt know where to look by default. You have to tell it.

     

    you don't need to add /lm switch to the commandline if you are adding <legacy/ to your .xml file.  It is the same thing so for your answer to #2

     

    the command line is

     

    %UTILITY LOCATION%\dpinst.exe /path %PATH TO DRIVERS%

     

    Example:

     

    C:\drivers\dpinst.exe /path C:Windows\LDDriverstore

1 2 Previous Next

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • Correct Answers - 20 points
  • Helpful Answers - 10 points
LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software