Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reboot? Are you SURE? 3

Status
Not open for further replies.

JPJeffery

Technical User
May 26, 2006
600
GB
Hi

On two PCs we have in meeting rooms I'd like to prevent users from summarily powering off the PC. I don't want to completely forbid it, just say 'Are you SURE?' so that people don't routinely shut it down thus making it harder for the next user to use the PC.

A Shutdown script seemed ideal for this but the 'Shutdown /a' command I scripted doesn't work because Shutdown scripts run too late for this to work (the Windows Console has closed).

So, I created a GPO with Loopback Processing enabled to run my script as a Logoff script, but A) the script runs twice! and B) the 'Shutdown /a' command doesn't work anyway.

Is there another way to achieve this?

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)[/small]
 
Only in server versions of the OS is there an "Are you sure"/"Why are you shutting down" dialogue that requires user confirmation before the action is taken.

In desktop versions you can only remove the option with group policies.


Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Thanks, guys.

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top