|
| Notices |
DriverHeaven is currently recruiting for the AWOMO Beta Test / Elite Op Team. AWOMO is a digital download service for games, and we're looking to expand the beta team. If you're interested. Sign up as a member here at DriverHeaven and then head HERE to submit your details. Thanks
For more info on AWOMO visit their site HERE
Welcome to the DriverHeaven.net forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
 |
Jul 7, 2008, 12:08 PM
|
#1
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
remote shutdown
i've been trying to figure out how to use remote shutdown for other computers in my personal network through my LAN. so far in CMD i've tried:
shutdown -m \\computername
shutdown -m \\computername -s
shutdown -m \\ip address
shutdown -m \\ip address -s
now, none of these switches i've used here seem to work. RDP is enabled on the machine i would like to specifically shutdown, but it still doesn't happen. any ideas guys?
TY in advance 
|
|
|
Jul 7, 2008, 12:12 PM
|
#2
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
Try shutdown /m \\[computer] /S
|
|
|
Jul 7, 2008, 12:18 PM
|
#3
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
Quote:
Originally Posted by temeteus82
Try shutdown /m \\[computer] /S
|
this command gives me an "access is denied" error.
the other commands i listed above don't give me anything. they just process and nothing happens.
|
|
|
Jul 7, 2008, 12:22 PM
|
#4
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
If it gives you access is denied then it's the right command you just don't have the rights to issue remote shutdown ... You are using workgroup?? Then basically you should have identical user setuped on the remote machine, I'm not 100% sure about that but it would fall the category of MS logic in this case. If you have domain controller and you are using the domain mode then it should work straight away...
[EDIT] you can always type shutdown /h for help 
|
|
|
Jul 7, 2008, 12:23 PM
|
#5
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
yes, my LAN is all on a workgroup. how do I enable the remote shutdown feature on winXP then?
|
|
|
Jul 7, 2008, 12:26 PM
|
#6
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
Try this tool, PsShutdown
that should be able to "log" user in and start the shutdown...
|
|
|
Jul 7, 2008, 12:55 PM
|
#7
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
i don't quite understand this line
Quote:
|
Just copy PsShutdown onto your executable path, and type psshutdown with command-line options defined below.
|
where is my "executable path" located at? and also the command that they are giving, i'm not sure what the rest of the command is. so far i have:
psshutdown [[\\computername
but, after that, i don't know what else to put down as the rest of the path.
|
|
|
Jul 7, 2008, 12:59 PM
|
#8
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
well the directory where you put that exe...
Quote:
Usage: psshutdown [[\\computer[,computer[,..] | @file [-u user [-p psswd]]] -s|-r|-h|-d|-k|-a|-l|-o [-f] [-c] [-t nn|h:m] [-n s] [-v nn] [-e [u|p] x:yy] [-m "message"]
|
Use the -u and -p switches 
|
|
|
Jul 7, 2008, 01:02 PM
|
#9
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
i saw that. that whole line is confusing to me. how am i supposed to write that?
psshutdown [[\\computer -u| -p
i'm not sure.
|
|
|
Jul 7, 2008, 01:04 PM
|
#10
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
psshutdown \\computer -u user -p psswd -s
|
|
|
Jul 7, 2008, 01:14 PM
|
#11
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
now i get a message that says
Quote:
|
'pshutdown' is not recognized as an internal or external command, operable program or batch file.
|
now, after getting this, i know i'm doing something wrong.
with those files that i extracted, what was i supposed to do with them? all i did was double click on "psshutdown" file.
|
|
|
Jul 7, 2008, 01:27 PM
|
#12
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
man that is command line tool... you use it in command prompt ...
|
|
|
Jul 7, 2008, 01:35 PM
|
#13
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
ok, i don't understand then. i typed in psshutdown \\computername -u user -p -s and when i hit enter, i got the error i quoted above.
|
|
|
Jul 7, 2008, 01:45 PM
|
#14
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
that's odd. it should work from NT 4.0 to Vista :P
Perhaps corrupted exe..
|
|
|
Jul 7, 2008, 01:48 PM
|
#15
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
downloaded again, tried again, same thing 
|
|
|
Jul 7, 2008, 02:06 PM
|
#16
|
|
DH mod staff leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,753
|
Hmm.. then I'm out of ideas ... 
|
|
|
Jul 7, 2008, 06:40 PM
|
#17
|
|
Like a Fish
Join Date: May 2003
Location: Southern California
Posts: 19,486
|
alrighty then. it's no worries
|
|
|
Jul 10, 2008, 01:29 AM
|
#18
|
|
DriverHeaven Extreme Member
Join Date: Jul 2002
Location: Real capital of Canada: Toronto
Posts: 4,854
|
You could try dumping the files into the main Windows folder as it is a default executable path (or even Windows\System32), and see if it allows you to run it. Or, go into Control Panel | System | Advanced tab, and add a new environment variable pointing to the folder where you have PsShutdown (and the other files) in the "User Variables" section for that specific user, or under the "System Variables" section for all users.
|
|
|
|
|
|