Answered by:
CMD Error 5 Access Denied!

Question
-
Hello!! I want to remotely shut down a pc of which is connected to the same wifi as i! (sorry for my english :p)
I do the following steps:
1)Open cmd2)Type net view
3)Type ping (The Pc I want to gain remote access)
4)Type Shutdown -i and i window comes out!
5)add the "targets" IP (which is copied by ping data)
6)Write a comment, and press ok...
7)And then... ACCESS DENIED (5)if i do iti to MY PC, it's working!
I saw from some youtube videos, that this is happening because i have no ADMIN access to my network... Is it correct??
If not what is wrong?
If yes, how can i get ADMIN access to my network???
Thanks a lot!!Monday, April 20, 2015 5:40 AM
Answers
-
turn off "password enable sharing"
try using NET USE command
NET USE \\MyServer\IPC$ mypassword /USER:myuser
or try these, change the following setting at remote computer
http://www.eightforums.com/network-sharing/30122-access-denied-5-remote-shutdown.html
- Edited by britishdhez Monday, April 20, 2015 6:19 AM
- Proposed as answer by Karen Hu Monday, April 27, 2015 9:20 AM
- Marked as answer by Karen Hu Monday, April 27, 2015 9:21 AM
Monday, April 20, 2015 6:18 AM -
4)Type Shutdown -i and i window comes out!
Were you thinking of the shutdown.exe -m option? Apparently shutdown.exe -i means "Display the GUI". I don't know what I should infer from that. I will have to test it sometime. ; )
C:\WINDOWS\system32>shutdown.exe -? | find "/m" [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]] /l Log off. This cannot be used with /m or /d options. /m \\computer Specify the target computer.
HTH
Robert Aldwinckle
---Monday, April 20, 2015 4:40 PM
All replies
-
turn off "password enable sharing"
try using NET USE command
NET USE \\MyServer\IPC$ mypassword /USER:myuser
or try these, change the following setting at remote computer
http://www.eightforums.com/network-sharing/30122-access-denied-5-remote-shutdown.html
- Edited by britishdhez Monday, April 20, 2015 6:19 AM
- Proposed as answer by Karen Hu Monday, April 27, 2015 9:20 AM
- Marked as answer by Karen Hu Monday, April 27, 2015 9:21 AM
Monday, April 20, 2015 6:18 AM -
4)Type Shutdown -i and i window comes out!
Were you thinking of the shutdown.exe -m option? Apparently shutdown.exe -i means "Display the GUI". I don't know what I should infer from that. I will have to test it sometime. ; )
C:\WINDOWS\system32>shutdown.exe -? | find "/m" [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]] /l Log off. This cannot be used with /m or /d options. /m \\computer Specify the target computer.
HTH
Robert Aldwinckle
---Monday, April 20, 2015 4:40 PM