MSFN Forum: Disable Found New Hardware Wizard - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Disable Found New Hardware Wizard Rate Topic: -----

#1 User is offline   tridgely 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 01-May 05

Posted 28 June 2005 - 11:51 AM

Is there a way to turn off the Found New Hardware Wizard, so that Windows will just automatically search its driver cache for good drivers when a hardware device is inserted, without asking for user input?

I've been searching everywhere and haven't been able to find an answer. Any help is greatly appreciated!


#2 User is offline   schalti 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 22-July 04

Posted 29 June 2005 - 07:21 AM

tridgely, on Jun 28 2005, 11:51 AM, said:

Is there a way to turn off the Found New Hardware Wizard, so that Windows will just automatically search its driver cache for good drivers when a hardware device is inserted, without asking for user input?

I've been searching everywhere and haven't been able to find an answer.  Any help is greatly appreciated!
<{POST_SNAPBACK}>


If the driver is signed that's what usually happens. No user intervention.

The following registry Keys enhance the behaviour of the Hardware Wizard.

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DriverSearching]
"DontSearchWindowsUpdate"=dword:00000001
"DontPromptForWindowsUpdate"=dword:00000001
"DontSearchCD"=dword:00000001
"DontSearchFloppies"=dword:00000001

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000000

[HKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000000

:blushing:

#3 User is offline   tridgely 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 01-May 05

Posted 30 June 2005 - 03:17 PM

Well, here's what's happening.

I am getting the Found New Hardware Wizard whenever I plug anything in that wasn't plugged in during the Setup. This is bad, because I'm switching keyboards and mice around and then I can't click Next!

If I could turn it OFF and have Windows just search, it would find what it wants. If I click Next on the wizard, then it finds what it wants and installs it automatically (without warning about the driver signing, because the drivers are signed).

I was originally using RyanVM's packs, nLite, and BTS DriverPacks. I am now testing each progressively, starting from a standard SP2 slipstream, to figure out where the problem gets introduced.

With plain SP2, I can plug in my usb keyboard and it installs totally unattended.

If I use nLite to integrate RyanVM's packs, the wizard pops up.

Starting over...

If I integrate RyanVM's packs by hand (with __integrate.exe and the file editing), my USB devices install totally unattended.

Good! Moving on..

If I use nLite at all, the wizard pops up.

Starting over...

I then re-integrated RyanVM by hand and slipstreamed BTS DriverPacks via Method 2. Wizard pops up.

At this very moment, I've re-slipstreamed BTS DPs via Method 1, and am installing Windows with that. It does appear that BOTH nLite and BTS DPs will cause this problem, though, which sucks, because I really wanted to use BTS DPs.

#4 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 July 2005 - 02:06 PM

in my unattended setup the wizard also pops up during the RunOnceEX part...
does anybody has a solution for this?

#5 User is offline   Mavericc 

  • Group: Members
  • Posts: 4
  • Joined: 20-July 05

Posted 25 July 2005 - 01:35 AM

I just recently discovered this board and got very interested in building an unattended XP installation media for myself...

Anyawy, this same annoying "feature" has now appeared in my setup as well. Right now I'm pretty clueless as to what exactly causes it and I haven't had too much time to troubleshoot it yet. I'm using the nLite 1.0 b5 to import RyanVM's 1.2.2 Full hotfix pack and 10-15 other hotfixes which are not included in the pack. Also to remove some stuff (not too much) from and tweak the setup. This worked fine at first, but evidently I did something somewhere to invoke this behaviour...

The Wizard first pops up to install some SoundBlaster-related drivers during when RunOnceEx is installing software. I might even be able to live with that since it doesn't really interfere and can be ignored, but where it gets particularly annoying is when it pops up for anything that wasn't plugged in during the installation -- even hard drives. First it asks to install drivers for the newly attached HD itself and then once for every partition that is found from the drive. This is clearly not acceptable.

I don't want to disable the wizard since that would probably just leave all new-found hardware driverless, just find how to restore its original behaviour. Gotta continue the tests when I get off work later...

#6 User is offline   Mavericc 

  • Group: Members
  • Posts: 4
  • Joined: 20-July 05

Posted 27 July 2005 - 02:57 AM

Ok, after numerous tests I finally managed yesterday to install the nLightened (1.0b5) XP without the annoying wizard ever popping up...

What I did earlier with nLite was:

1. first import the RyanVM's hotfix pack without doing anything else at that time and close nLite.
2. then start nLite again and imported all other hotfixes -> close nLite
3. started nLite 3rd time, do remove/tweak/patch/unattended, and close nLite
4. added SI3112A RAID controller drivers manually and tweaked $OEM$ directories
5. started nLite and made an ISO
6. burn and install -> Wizard pops up

Yesterday I did 1-3. in one sitting, although only imported the RyanVM's pack and not the other hotfixes and closed nLite. Then again added SATA drivers and $OEM$ dirs and made the ISO with nLite. This time there was no Wizard. Now I just need to try to import the rest of the hotfixes and see what happens...

#7 User is offline   GEnto 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 16-May 04

Posted 30 July 2005 - 04:56 AM

Hi everybody, one question about Hardware Wizard, i have used the tweak.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DriverSearching]
"DontSearchWindowsUpdate"=dword:00000001
"DontPromptForWindowsUpdate"=dword:00000001
"DontSearchCD"=dword:00000001
"DontSearchFloppies"=dword:00000001

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000000

[HKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000000

but the wizard shows me more than one inf file to use to install hardware. Maybe this the reason why the wizard ask me to select one inf file, because it has more than one file to select ????

#8 User is offline   tridgely 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 01-May 05

Posted 30 July 2005 - 02:55 PM

Here's how I got this to work:

Manually integrate RyanVM
Don't use nLite at all (I couldn't get it to work, anyway, and it was quicker to do the things I needed manually than to mess around with it)
Use BTS DPs with Method 1 (Method 2 was causing the Wizard to appear, Method 1 does not appear to)
Change production folders how I want, add modified system files, etc.

#9 User is offline   GEnto 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 16-May 04

Posted 30 July 2005 - 09:19 PM

thanks.

Please I use xpcreate. Would you mind to explain me easily what I have to do. My native spanish. thanks again

#10 User is offline   tridgely 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 01-May 05

Posted 31 July 2005 - 04:14 PM

Couldn't honestly say. I've never seen/used XPCREATE -- still on the waiting list.

I just use RyanVM's latest pack and then manually integrate the remaining updates.

#11 User is offline   Mavericc 

  • Group: Members
  • Posts: 4
  • Joined: 20-July 05

Posted 01 August 2005 - 07:51 AM

I like to use nLite to remove and tweak some stuff. Just doing everything in one go (except the ISO creation, it-of course-has no affect) seemed to resolve my Wizard problem.

#12 User is offline   greghouck 

  • Group: Members
  • Posts: 2
  • Joined: 15-September 05

Posted 15 September 2005 - 07:54 PM

tridgely, on Jun 28 2005, 10:51 AM, said:

Is there a way to turn off the Found New Hardware Wizard, so that Windows will just automatically search its driver cache for good drivers when a hardware device is inserted, without asking for user input?

I've been searching everywhere and haven't been able to find an answer.  Any help is greatly appreciated!
<{POST_SNAPBACK}>


GO INTO DEVICE MANAGER

GO TO VIEW

SELECT SHOW HIDDEN DEVICES

CLICK THE PLUS SIGN NEXT TO PRINTERS....

IS THEIR AN EXCLAMATION POINT ? if so select properties check and see what it says
TRY SELECTING DISABLE from the properties of it OR SELECT UNINSTALL SEE IF THE PRINTER STILL WORKS... :thumbup

#13 User is offline   greghouck 

  • Group: Members
  • Posts: 2
  • Joined: 15-September 05

Posted 15 September 2005 - 07:56 PM

Mavericc, on Aug 1 2005, 06:51 AM, said:

I like to use nLite to remove and tweak some stuff. Just doing everything in one go (except the ISO creation, it-of course-has no affect) seemed to resolve my Wizard problem.
<{POST_SNAPBACK}>

Control chaos?? :huh:

#14 User is offline   cyberloner 

  • CyberMania.ws
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 November 2005 - 08:17 PM

use nforce slipstreaming driver inside my unattended dvd...
after installation and 1st time get in windows....
the popup will said found cd-rom drive... need click finish....
restart and second popup... found disk drive.... need click finish....

dunno how to get rid of it...


Problem fix... who carez =)

This post has been edited by cyberloner: 08 November 2005 - 01:07 PM


#15 User is offline   Bilou_Gateux 

  • Powered by Windows Embedded
  • PipPipPipPipPip
  • Group: Members
  • Posts: 766
  • Joined: 03-January 04

Posted 06 December 2005 - 11:28 AM

View Posttridgely, on Jun 30 2005, 03:17 PM, said:

Well, here's what's happening.

I am getting the Found New Hardware Wizard whenever I plug anything in that wasn't plugged in during the Setup. This is bad, because I'm switching keyboards and mice around and then I can't click Next!

If I could turn it OFF and have Windows just search, it would find what it wants. If I click Next on the wizard, then it finds what it wants and installs it automatically (without warning about the driver signing, because the drivers are signed).


UPnPDev.cmd
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
SET KEY1="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"

REG ADD %KEY% /V TITLE /D "Pre-Installation" /f

REG ADD %KEY%\000 /VE /D "UpdatePnpDeviceDrivers" /f"
REG ADD %KEY%\000 /V 1 /D "RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers" /f


It's how i install external modem that wasn't plugged in during the Setup.
Drivers (not digitally signed) are installed first with Unlimited number of drivers schalti method & Pyron tool (post #4).
UPnpDev.cmd is run to update registry
Restart or shutdown box
Plug external modem and power up
let PnP detection install my device ('Found New Hardware Wizard' windows popup but automatically disappears when detection is done by RunOnceEx instruction).

#16 User is offline   inciardi 

  • Group: Members
  • Posts: 2
  • Joined: 01-November 03

Posted 22 August 2006 - 09:21 AM

I looked for answers on how to suppress the Found New Hardware Wizard dialog, but found little that worked. So I wrote a little VBS script that uses the taskkill command to kill windows where windowtitle eq Found New Hardware Wizard. I found this approach to be preferable to all the others tried to this point.

So I wanted to post it for what its worth. If you have a new hardware wizard giving you grief and new to kill it, this may be what you seek.

The script is written to take two inputs, one mandatory and one optional. The mandatory input is for a timeout value (e.g., /TimeOut:20). In other words, the amount of time, in seconds, the thing will run. The second input, the /Name:[yourtexthere], is optional and can be used to help you track when you dispatched this script. This info is written into the WizKilla.vbs log file. For example, lets say when installing the WLAN driver the Found New Hardware Wizard is giving you grief. Simply dispatch the WizKilla.vbs immediately before launching your unattended driver install. Use the following syntax:

cscript.exe //nologo wizkilla.vbs /Timeout:20 /Name:WLAN


---- Begin WizKilla.vbs -----
'-----------------------------------------------------------------------------
' This script Loops a set number of times based on user supplied input value
' Where each loop is eqaul to 1 second in duration.
' During each loop a taskkill command is executed to kill the window(s)
' titled 'Found New Hardware Wizard'
'
' Date: 08.21.06
' Author: Bruce Inciardi
' Revision: original
'-----------------------------------------------------------------------------
strComputer = "."

Const ForAppending = 8
Set oArgs = wscript.Arguments

Set colNamedArguments = WScript.Arguments.Named
strName = colNamedArguments.Item("Name")
strTimeout = colNamedArguments.Item("Timeout")


Set WshNetwork = WScript.CreateObject("WScript.Network")
Set WshShell = WScript.CreateObject("WScript.Shell")
compname = WshNetwork.ComputerName

set FSO = CreateObject("Scripting.FileSystemObject")
strLogFile = "\LOGS\" & Split(WScript.ScriptName, ".")(0) & ".log"
pathtologfile = WshShell.ExpandEnvironmentStrings _
("%SystemRoot%" & strlogfile)
If FSO.FileExists(PathToLogFile) Then
'' Wscript.Echo "File exist."
Set objLogFile = FSO.OpenTextFile(pathtologfile, ForAppending)
Else
'' Wscript.Echo "File does not exist."
Set objLogFile = FSO.CreateTextFile(pathtologfile, TRUE)
End If

objLogFile.WriteLine(Now & ": " & WScript.ScriptFullName & " Started." & vbCrLf)
objLogFile.WriteLine("Current Computer Name: " & compname)
objLogFile.WriteLine("Log File/Path: " & pathtologfile)
objLogFile.WriteLine("Script loops 'x' times based on user provided input and kills 'New Hardware Found Wizard' dialogs." & vbCrLf)

If Not colNamedArguments.Exists("TimeOut") Then
objLogFile.WriteLine("Input in error")
objLogFile.WriteLine("Correct Usage:")
objLogFile.WriteLine("cscript WizKilla.vbs /TimeOut:10 /Name:" & Chr(34) & "Intel WLAN" & Chr(34))
Wscript.quit(0)
End If

iTimeout = strTimeout
iTimeout=CInt(strTimeout)

objLogFile.WriteLine("Launched with parms: /Timeout:" & strTimeout & " /Name:" & strName & vbCrLf)

Wscript.Echo "Shhhh, be vewy qwiet..."
Wscript.Echo "...I'm hunting Found New Hardware Wizard Dialogs."

iLoop = 0
Do Until iLoop > iTimeout
iLoop=iLoop+1
WScript.Sleep 1000
If iLoop > iTimeout Then
Exit Do
Else
' "Perform taskkill cmd here"
killacmd = "taskkill /FI " & Chr(34) & "WINDOWTITLE eq Found New Hardware Wizard" & Chr(34)
Set oExecObject = WshShell.Exec("%comspec% /c " & killacmd)
Do Until oExecObject.StdOut.AtEndOfStream
strLine = oExecObject.StdOut.ReadLine()
if (Instr(strLine,"INFO:")<>0) Or (Instr(strLine,"SUCCESS:")<>0) Then
If Instr(strLine,"SUCCESS:")<>0 Then Wscript.Echo "Got One!"
objLogFile.WriteLine(Now & ": (" & iLoop & ") " & strLine)
End If
Loop
End If
Loop

objLogFile.WriteLine("Script Completed; Timeoutvalue reached" & vbCrLf)

objLogFile.WriteLine(Now & ":" & vbTab & WScript.ScriptFullName & " Ended." & vbCrLf)

---- End WizKilla.vbs -----

Hope this helps someone.

Bruce

#17 User is offline   rebsbox 

  • Group: Members
  • Posts: 5
  • Joined: 19-May 05

Posted 31 October 2006 - 07:43 AM

Just come across this, it turns out that it thinks usbstor.sys is unsigned -the one I had mismatched the one listed in usbstor.inf - just copied them from a good setup dir

#18 User is offline   alastor 

  • Group: Members
  • Posts: 1
  • Joined: 03-March 09

Posted 03 March 2009 - 11:45 PM

I have a problem with the New Hardware Wizard, and read through this, but was not able to find the file in regedit that I need to get to.

When I get into [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows there is no folder for "DriverSearching" at all. The only Folders I see are:

Installer
IPSec
Safer
System
WiredL2


Similarly, when I go into [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT the only folder I see is
"Terminal Services"

There is no "DriverSigning" present

The problem I am getting is that everytime I boot my computer the Found New Hardware Wizard comes up, and when I try to run it, it just gets stuck. I end up cancelling it, but would prefer that I not need to do this anymore.

Could anyone tell me if these missing folders have something to do with the Wizard malfunctioning?

Thanks!

#19 User is offline   Bilou_Gateux 

  • Powered by Windows Embedded
  • PipPipPipPipPip
  • Group: Members
  • Posts: 766
  • Joined: 03-January 04

Posted 15 March 2009 - 04:18 AM

You can create the new key and add some data.

REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontSearchWindowsUpdate /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontPromptForWindowsUpdate /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontSearchCD /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DriverSearching /v DontSearchFloppies /t REG_DWORD /d 1 /f


#20 User is offline   CRK 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 05-June 05

Posted 22 October 2009 - 12:59 AM

i'm having this situation as explained here:

http://www.msfn.org/board/new-hardware-wiz...pid-888585.html

and here: http://www.msfn.org/board/stop-found-new-h...pid-884196.html

all i need is to kill the window: found new hardware wizard..

ok.. my cuestion is how can i implement a VB script or auto it compiled exe to kill this windows that appears 3 times at T-25 of unattended SP3 pro install if a click cancel 3 times the windows dissapear and installation keep going normally.. sometimes i have to click Alt+ tab for the windows to show up because it looks like they remain in the background of the installation preventing to continue.

all i can find is comments about implementing auto it to install programs.. that's not what i need.. many people say do this this...etc just ideas but don't explain exactly what to do..

i found searching this script for auto it that's is supposed to kill the window also... bug i guess it missing some command to wait for 25 minutes then look for the window 3 or 4 times to kill it..

here it's:

this is AutoIT3 script that I use to get rid of those "New Hardware
Found" windows.
Save it as e.g. close_popup.au3, download autoit and compile to exe.
It will run in the background waiting for specified windows and
closing them. You can stop it by using /QUIT.

Just change 'Found New Hardware Wizard' to the title of your window,
and 'Welcome' to any text of the popup.

You can change the name of the script window ('KillHWiz') but it's not
neccessary.

There is also a auto it dll that you can use through Win32API or ruby/dl.

HTH,
J.

----8<--------------------

If $CmdLine[0] = 1 and $CmdLine[1] = '/QUIT' Then
WinClose('KillHWiz')
Else
AutoItWinSetTitle('KillHWiz')

While 1=1
WinWait ( 'Found New Hardware Wizard', 'Welcome' )
WinClose ( 'Found New Hardware Wizard', 'Welcome' )
WEnd


Source: http://www.mombu.com/programming/ruby/t-do...es-1308554.html

please any inputs are welcome.

My Best Regards

This post has been edited by CRK: 22 October 2009 - 01:01 AM


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy