Results 1 to 4 of 4
Hi to everyone
I need to program in my office a shutdown of several windows machines.
Started trynig to shutdown onw of them with this command:
Code:
net rpc SHUTDOWN ...
- 05-07-2008 #1Just Joined!
- Join Date
- Apr 2004
- Posts
- 1
Shutdown Windows XP remotely
Hi to everyone
I need to program in my office a shutdown of several windows machines.
Started trynig to shutdown onw of them with this command:
The problem is that keeps giving me the error:Code:net rpc SHUTDOWN -C "Backup Ended" -f -I 192.168.0.12 -U Username%Password
Can someone help me?Code:Shutdown of remote machine failed result was: WERR_ACCESS_DENIED debian:~#
Raffaele Colleo
- 05-07-2008 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Try omitting the space between the -U switch and the username. Alternatively you can check out this utility which is the Linux equivalent of psexec.
winexe homepage
- 05-07-2008 #3Just Joined!
- Join Date
- Apr 2004
- Posts
- 1
Still not working.
I wouldn't like to install stuff for the shutdown. I know that is possible to do it with the net command, but don't understand why is returning me the error
Raffaele Colleo
- 08-25-2009 #4Just Joined!
- Join Date
- Aug 2009
- Posts
- 0
the problem is: simple file sharing ON
Hi!
I'm sure Your problem is that Your XP host has "simple file sharing" option ON, but You need to turn it OFF.
Simple file sharing cause to force guest while NT authorization process.
If simple file sharing is ON (which is default in XP pro), Your command cannot define the priv account while running net rpc shutdown -I <IPaddressOfXPhost> -U administrator%<pass>, because the xp host doesn't want to receive this information. It set the running account to unpriv account GUEST.
Solution:
Set Simple File Sharing option to OFF on XP pro host.
On XP home this option is set to ON by default and cannot be changed.



