Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Smiley357

how to stop Found New Hardware Wizard

8 posts in this topic

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. :rolleyes: 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.

0

Share this post


Link to post
Share on other sites

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 by legionaire
0

Share this post


Link to post
Share on other sites

I have tried a similar method. The issue I have with that is I need the software installed with the driver package.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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/938596

is:

Key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings

Value: 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 by Daz_1234
0

Share this post


Link to post
Share on other sites

i tried to remove that screen by injecting to HIVESFT.inf:

HKLM,"Software\Policies\Microsoft\Windows\DeviceInstall\Settings","SuppressNewHWUI",0x00010003,1

the 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

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.