Ask before rebooting

  • Thread starter Thread starter ByB
  • Start date Start date
B

ByB

Hello,

Is there a value to be set somewhere in the registry and making Windows
ask the user (or warn the user) before rebooting ?

As a matter of fact, I am creating an install file for a software, and
sometimes after the installation, Windows reboots without any warning
....

Thank you for any hint.
 
You could download a VBS script that when the user clicks on it they get
asked whether they want to do it.

go to http://www.google.com type in "Script", "Shutdown" (with quotes &
press ENTER

There should be a few found that will do exactly what you want.

Crouchie1998
BA (HONS) MCP MCSE
 
Crouchie1998 avait énoncé :
You could download a VBS script that when the user clicks on it they get
asked whether they want to do it.

go to http://www.google.com type in "Script", "Shutdown" (with quotes &
press ENTER

There should be a few found that will do exactly what you want.

Crouchie1998
BA (HONS) MCP MCSE

Thanks.

What I am creating is an install CAB for an ActiveX.
So I was looking for a simple value I could set or unset in the
registry to prevent Windows from rebooting without a warning message.
Making Windows ask "Reboot now OR later ?" (like it happens in some
software installatiions) would be the best,

I am looking for a value that could be set via a SETUP.INF file for
example.

Thank you.
 
I have checked the Windows 2000 Registry Guide (Resource Kit) on the
Microsoft website & there doesn't seem to be anything like that at all. You
can do it in programming using a script of a real programming language - lol

Sorry, I cannot be of any more help on this

Crouchie1998
BA (HONS) MCP MCSE
 
ByB said:
Hello,

Is there a value to be set somewhere in the registry and making Windows
ask the user (or warn the user) before rebooting ?

As a matter of fact, I am creating an install file for a software, and
sometimes after the installation, Windows reboots without any warning

There is a program called Shudown Stopper that will accomplish what you want
though it is slightly more awkward. When you run it, it sits in your tray,
and blocks ALL shutdown attempts. To allow shutdown, you can right click and
exit the program or left click and select "Allow Shutdown." I use it
sometimes when installing hotfixes, etc. because they can create a race
condition between the last script they run and the shutdown, leading to the
message "this program cannot be initialized because the system is shutting
down.

See http://www.snapfiles.com/get/shutdownstop.html.
 
Back
Top