I run it from a server as a scheduled task to shutdown my desktops. Works great.
c:\PSTools\psshutdown -k -f -t 05 \\computername On Wed, Sep 7, 2011 at 11:11 AM, Kennedy, Jim <[email protected]>wrote: > 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] > 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
