Getting rid of "need to reboot prompt"

  • Thread starter Thread starter David D
  • Start date Start date
D

David D

I have the write filter turned on.
Sometimes if someone pluggs in a new USB device, it is recognized just fine,
but then they get this:
Windows has finished installing new devices, please reboot..."
Everything runs fine though if I say no to the prompt.

I need that prompt to go away and not appear.
Is there a registry settting to get rid of this?
 
KM said:
David,

You can remove "Add Hardware Control Panel" component from your image.
That will get rid of the XP Hardware wizard that pops up the message.

Or, if you prefer, get rid of all WIndows popups:
http://msdn.microsoft.com/embedded/community/community/tips/xp/popups/default.aspx

If you can't use either of these techniques for some reason,
you can write a program to close the popup window.
Here is some code from a previous post I wrote:
============================================

If you are getting a message box titled "System Settings Change"
asking if you want to reboot now, you can close the window
with the following code:

HWND hWindow = FindWindow(NULL,_T("System Settings Change"));
if (hWindow != NULL)
PostMessage(hWindow,WM_COMMAND,7,0);

where 7 is the ID of the "No" button
 
Back
Top