Sep 26 2004, 12:39 PM Post
#1 | |
| Group: Members Posts: 4 Joined: 19-July 04 Member No.: 24914 |
I've spent the past few days trying to figure out HOW to make XP with SP2 install unsigned drivers silently. Changing DriverSigningPolicy in winnt.sif still warned that the driver wasn't signed. Changing Driver Signing registry entries still warned that the driver wasn't signed. Nothing I tried would get rid of the prompt, so I finally decided to just create an AutoIt script to "Continue anyway". I've attached the script, the compiled exe, grep.exe and devcon.exe. All you have to do to use this method (I'm sure there are other methods, but this is how I use it):
CODE devcon hwids =Display | grep Name: | grep -i GeForce > NUL IF NOT ERRORLEVEL 1 ( )
CODE %systemdrive%\Drivers\DriverInstall.exe update %systemdrive%\Drivers\002_graphics\NVIDIA\2KXP_INF\NV_OMEGA_DISP.INF PCI\VEN_10DE A brief breakdown about the DriverInstaller line above: %systemdrive%\Drivers\DriverInstall.exe: The path to DriverInstaller.exe update: Update the driver (as opposed to install, disable, enable, etc) %systemdrive%\Drivers\002_graphics\NVIDIA\2KXP_INF\NV_OMEGA_DISP.INF: Path to the .inf for the drivers you wish to update PCI\VEN_10DE: The hardware vendor ID. You must get this from inside the driver's .inf Completed, my RunOnceEx.cmd looks something like: CODE devcon hwids =Display | grep Name: | grep -i GeForce > NUL IF NOT ERRORLEVEL 1 ( REG ADD %KEY%\325 /VE /D "NVIDIA ForceWare 56.72 video drivers" /f REG ADD %KEY%\325 /V 1 /D "%systemdrive%\Drivers\DriverInstall.exe update %systemdrive%\Drivers\002_graphics\NVIDIA\2KXP_INF\NV_OMEGA_DISP.INF PCI\VEN_10DE" /f ) I've tested this to work with signed drivers, unsigned drivers, drivers with multiple prompts, and it has worked each time. Any questions/comments, feel free to let me know. Hope this helps someone as much as it helped me. Attached File(s) |
| | |
![]() |
Apr 24 2009, 05:55 AM Post
#2 | |
| Group: Members Posts: 2 Joined: 23-March 09 Member No.: 237325 OS: XP Pro x86 |
Never mind, solved it! Turns out in the most recent version of AutoIt (Since 3.0) the Opt RunErrorsFatal is gone. Take out that line, and it works beautifully.
|
| | |
soul Howto install unsigned drivers without prompts Sep 26 2004, 12:39 PM
Ducky_ace Are u sure u've put
DriverSigningPolicy=Ignor... Sep 27 2004, 03:30 AM
Ducky_ace QUOTE (Ducky_ace @ Sep 27 2004, 03:30 AM)Are ... Sep 27 2004, 03:32 AM
Bilou_Gateux WINNT.SIF for Windows 2000
CODE[Unattended... Sep 30 2004, 03:38 AM
tguy Make sure your WINNT.SIF file includes the follow... Oct 1 2004, 02:39 PM
supahfly nondriversigningpolicy ??
I havent seen that aroun... Oct 2 2004, 07:16 AM
supahfly anyways has anyone else experienced these problems... Oct 2 2004, 07:17 AM
tguy I found the NonDriverSigningPolicy 'switch... Nov 8 2004, 04:53 PM
Bilou_Gateux We can use the Windows findstr.exe utility rather ... Nov 9 2004, 09:55 AM
npadmana Can i do this in Windows2003 Servers? This is only... Dec 2 2004, 05:48 AM
tguy You can find information on the DriverSigningPolic... Dec 23 2004, 11:02 AM
adamcamp Hi, I've tried using your script, and it works... Apr 24 2009, 04:40 AM
dejavoo QUOTE (adamcamp @ Apr 24 2009, 12:55 PM) ... May 11 2009, 05:59 AM![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 05:29 PM |