On our citrix farm we had a logoff command we wanted to run to remove users 
from a migration group. After three weeks, I actually had to set the command to 
run when a session was disconnected, rather than at logoff, because 99%+ of our 
users just switch devices off instead of logging out. That stat staggered me.

Sent from my POS BlackBerry  wireless device, which may wipe itself at any 
moment

-----Original Message-----
From: "Kennedy, Jim" <[email protected]>
Date: Thu, 8 Sep 2011 13:14:58 
To: NT System Admin Issues<[email protected]>
Reply-To: "NT System Admin Issues" 
<[email protected]>Subject: RE: Win 7 psshutdown

They might actually still be working. This to shut down everyone at 9pm, which 
is long after most everyone has gone home. If they are still here they can 
cancel, we have no problem with that. It is an energy savings/protect them from 
themselves move.

I am absolutely amazed at the number of computers that are left on, let alone 
logged in, every night. It has taken all the self-control I have to not walk up 
to the boxes and send out Viagra adds to the rest of the staff under their name.

From: Micheal Espinola Jr [mailto:[email protected]]
Sent: Thursday, September 08, 2011 12:49 PM
To: NT System Admin Issues
Subject: Re: Win 7 psshutdown

Ahh, drat and bother.  I mentally skipped that requirement from you.

But now I have to ask, why are you offering the ability to cancel if you are 
administratively shutting down?

--
Espi




On Thu, Sep 8, 2011 at 9:00 AM, Kennedy, Jim 
<[email protected]<mailto:[email protected]>> wrote:
When you read my next reply in this thread you will be doing a -1  :)  I don't 
see where shutdown meets the need for a user cancel.  The -I in shutdown only 
seems to pop the standard GUI you would normally use for remote shutdown.

This works, universal on all OS's...quick easy copy with a scheduled task to 
the desktops.

http://mockbox.net/miscellaneous/100-hta-script-shutdown-script-and-warning-message.html




From: Micheal Espinola Jr 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Thursday, September 08, 2011 10:52 AM

To: NT System Admin Issues
Subject: Re: Win 7 psshutdown

+1

--
Espi



On Wed, Sep 7, 2011 at 9:21 AM, Michael B. Smith 
<[email protected]<mailto:[email protected]>> wrote:
Use the shutdown.exe built-in command.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Kennedy, Jim 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Wednesday, September 07, 2011 12:11 PM
To: NT System Admin Issues
Subject: Win 7 psshutdown


Want to shut down our desktops at night. Always used psshutdown as a scheduled 
task for XP prior to this. Win 7 is proving to be quite an adventure. Screen 
popping a cancel button for the user is a requirement.

Seems Win 7 uses different session id's for users than xp did. At least on 64 
bit which is what we have.  psshutdown has not been updated to reflect that, so 
the work around is to run it via psexec and use the session id feature of 
psexec.  Except now you have a service/program trying pop a message and Win 7 
semi-blocks that...first it asks for your permission to pop the message. Very 
cumbersome and ugly.

Here is what I am doing:

psexec -i 1 -h -u domain\username -p "password -accepteula C:\psshutdown.exe-c 
-f -t 120 -accepteula

Any ideas how to skin this cat? I am willing to go third party at this point.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to