Smiley357 Posted January 8, 2008 Posted January 8, 2008 I’m not sure if this is the correct place for this question but if its not I am sure someone will let me know. I have a batch file that installs all the drivers. What it does is install one driver like the chipset and then reboots then the video driver and then reboots. But the issue I am having is that the “Found New Hardware Wizard” keeps popping up and causing my batch file to hang. If I’m sitting there and click the cancel button to the Wizzard then there is no problem. However, it is no longer a unattended install of the drivers. Does anyone know how to stop the “Found New Hardware Wizard?” I have read several posts and havn’t had any luck. I have even turned PNP off with a reg hack. But no luck there either. Thanks for any info you can give.
legionaire Posted January 8, 2008 Posted January 8, 2008 (edited) Best advice I can give you is to use Pyron's method (Drivers from CD) outlined in the msfn unattended guide. Any driver that can be sucessfully installed via this method will never cause a 'Found New Hardware' popup. What you'll have to do is extract your driver installation files to find the base .inf. Then feed that base .inf via Pyron's method and Windows' Hardware Wizard won't bother you. However, this will in no way prevent you from installing the original driver installation file like you're used to.PS: Oh yeah, you'll also need to provide any file (.dll, .sys) that is referenced in the base .inf. If you're not sure which files make up the actual driver just provide the entire dir. Edited January 8, 2008 by legionaire
Smiley357 Posted January 8, 2008 Author Posted January 8, 2008 I have tried a similar method. The issue I have with that is I need the software installed with the driver package.
legionaire Posted January 8, 2008 Posted January 8, 2008 Look into AutoIt. You can write a script that will wait for the Hardware Wizard window to appear and click the cancel button right away.
EDRubright Posted March 17, 2008 Posted March 17, 2008 I know this post is somewhat dead, but there is a solution available for this now. See http://support.microsoft.com/default.aspx/kb/938596.
Daz_1234 Posted September 23, 2009 Posted September 23, 2009 (edited) EDRubright,This post may be dead, but you've just helped me out.More info:The registry value to set to disable the hardware wizard UI mentioned in the article http://support.microsoft.com/default.aspx/kb/938596is:Key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\SettingsValue: SuppressNewHWUI Data: 1 (REG_DWORD)On a Windows XP SP3 computer the hotfix mentioned in the link is not required, the registry setting will work.Setting the value works immediately in a from-now-on capacity and does not need a restart. The problem is that the wizard may have already started before the setting is set in your script. In this case, we just kill the RunDll32.exe process that is holding the wizard running. Then no more wizards run and the driver can be installed. Don't forget to revert the setting after installing the drivers.Hope this helps.Daz. Edited September 23, 2009 by Daz_1234
CRK Posted October 18, 2009 Posted October 18, 2009 see my post about something similar here:http://www.msfn.org/board/new-hardware-wiz...pid-888585.htmlanyone knows how to fix this manually as nuhi tells about?My Regards
CRK Posted October 22, 2009 Posted October 22, 2009 i tried to remove that screen by injecting to HIVESFT.inf:HKLM,"Software\Policies\Microsoft\Windows\DeviceInstall\Settings","SuppressNewHWUI",0x00010003,1the hardware wizard still appear at T-25 asking for terminal server mouse/keyboard...i wonder if the key i wrote to hives.. is the correct way?please any other method in mind that any of you could have(source code, scripts..etc) that i could use for this will be welcome.. please if someone provide something tell how to implement it and where to put the code/scripts.My Best Regards
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now