|
| Notices |
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
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
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 Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
Try shutdown /m \\[computer] /S
|
|
|
Jul 7, 2008, 12:18 PM
|
#3
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
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 Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
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
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
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 Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
Try this tool, PsShutdown
that should be able to "log" user in and start the shutdown...
|
|
|
Jul 7, 2008, 12:55 PM
|
#7
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
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 Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
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
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
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 Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
psshutdown \\computer -u user -p psswd -s
|
|
|
Jul 7, 2008, 01:14 PM
|
#11
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
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 Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
man that is command line tool... you use it in command prompt ...
|
|
|
Jul 7, 2008, 01:35 PM
|
#13
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
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 Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
that's odd. it should work from NT 4.0 to Vista :P
Perhaps corrupted exe..
|
|
|
Jul 7, 2008, 01:48 PM
|
#15
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
downloaded again, tried again, same thing 
|
|
|
Jul 7, 2008, 02:06 PM
|
#16
|
|
DH Team Leader
Join Date: Dec 2004
Location: Vantaa, Finland
Posts: 5,575
|
Hmm.. then I'm out of ideas ... 
|
|
|
Jul 7, 2008, 06:40 PM
|
#17
|
|
F.U.B.A.R.
Join Date: May 2003
Location: Southern California
Posts: 19,008
|
alrighty then. it's no worries
|
|
|
Jul 10, 2008, 01:29 AM
|
#18
|
|
DriverHeaven Extreme Member
Join Date: Jul 2002
Location: Real captial of Canada: Toronto
Posts: 4,741
|
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.
|
|
|
|
|
|