Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I really enjoy your site. You have a lot of helpful and friendly experts who contribute so willingly. Thank you for past (and future) technical advice..."

Geography

Where in the world do Tek-Tips members come from?
JPJeffery (TechnicalUser)
13 Apr 12 2:42
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
Variables won't. Constants aren't
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)

Helpful Member!  ChrisHirst (IS/IT--Management)
13 Apr 12 5:10
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.

http://www.addictivetips.com/windows-tips/how-to-disable-remove-shutdown-from-windows-xp-and-vista/

Chris.

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

Helpful Member!(2)  rclarke250 (TechnicalUser)
13 Apr 12 8:04
JPJeffery (TechnicalUser)
17 Apr 12 3:01
Thanks, guys.

JJ
Variables won't. Constants aren't
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close