Home
»
Discussion Forums
»
Scripts & Agent Procedures
»
Shutdown script
Subscribe via RSS
Share this
Similar Posts
shutdown script
by
ampsta
on
Mar 7, 2012
Shutdown
by
LegacyPoster
on
Sep 25, 2008
Editing shutdown script for user intervention
by
LegacyPoster
on
Feb 3, 2009
Script to shutdown after a period of inactivity ?
by
LegacyPoster
on
Jun 17, 2008
Editing Shutdown Script for user intervention
by
LegacyPoster
on
Jan 29, 2009
View More
Details
3
Replies
0
Subscribers
Posted
over 16 years ago
Scripts & Agent Procedures
Shutdown script
Posted by
LegacyPoster
on
Dec 28, 2004 5:18 PM
For some reason I cannot shut down my system using scripts.
Here is my script;
execute shell command
shutdown -s
I have also tried
shutdown -s -f
Anybody know how to easily shutdown and system remotly?
Legacy Forum Name: Shutdown script,
Legacy Posted By Username: seangoss
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
LegacyPoster
on
Dec 28, 2004 6:24 AM
Ok I solved my own problem . My mistake was running as a system not a user. If you do this you must run as a user FYI.
Hope this helped someone out there......
Legacy Forum Name: System Administration Scripts,
Legacy Posted By Username: seangoss
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
LegacyPoster
on
Dec 28, 2004 9:30 AM
I am having a problem shutting down a machine that is not logged in . It seems to work great with systems that are already logged in but not logged out.
Does anybody know why this script will not run while not logged in?
I am running shutdown -s a shell command . I have tried as a user and asthe system
Legacy Forum Name: System Administration Scripts,
Legacy Posted By Username: seangoss
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
LegacyPoster
on
Dec 28, 2004 5:18 PM
I figured out my problem again. I am using pssshutdown from winternals . It works like a charm.
I simply ran the application deployment wizard and and it added the script . I also added a -f for power down the machine. But you can do other functions like lock workstation and other cool thing with this utlity.
Legacy Forum Name: System Administration Scripts,
Legacy Posted By Username: seangoss
You have posted to a forum that requires a moderator to approve posts before they are publicly available.