Link to home
Start Free TrialLog in
Avatar of leonaminov
leonaminov

asked on

access is denied when trying to remote shut down xp computer

Hei guys
I'm trying to remore shutdown a windows xp computer
When using the remote shutdown command via the command prompt  i enter the command shutdown -s -m \\computername and   i get an error message "Access Is Denied."  i used the ps tools also with no joy...

I am running XP Pro SP1. & the computer I wish to restart have an XP pro SP-1 also they are connected through a 8 port switch hub
i can see the other computer on the net & i have a shered resource on it (folder)
i dont have any permissions on the computer they both log in  with 1 user name that as an administrator rights

note:i'v started all the services on the remote conmputer (rpc,telephoney...) & ping command works just fine

SOLUTION
Avatar of sunray_2003
sunray_2003
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leonaminov
leonaminov

ASKER

I did that and got "access denied error 5"
sorry my bad i got  win32:access  is denied
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Apparenty your account does not have privleges to do this. Is your account part of the admistrator group.
sorry about the delay ...

crazyone
 my account is an administrator user (im on a simple workgroup network)

sunray_2003

didn't help  sorry

Does it say Access denied to the computer of to the shutdown
yes
Has an account been setup for you on the machine you are trying to shutdowm has that account be given the appropriate permissions to do this?
yes i have the exact same name on both computers
& given the same permissions
I think i dont have permissions but i am an administrator account
I just dont get it... i'm in a  group domain admin
All the services needed for this task allready started
I just keep getting "Access Is Denied"


I'v found a solution !!!
any way thanks for helping me
now ...how can i give you the points?
leonaminov, what was the solution?  i have tried everything and I am running into Access is Denied (5) message.