Click here to Skip to main content
15,888,590 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Goodevening, I was trying to do a remote shutdown through lan on my other pc. I tried the shutdown -i command in the cmd and put the IP address of my other pc. Cmd outputs Access is denied (5).

What I have tried:

I tried to disable firewall. I also configured the secpol.msc and add Everyone in the security setting. Same as enabling the file and printer sharing echo request in the advance setting of firewall.cpl
Posted
Updated 16-Mar-18 4:56am

1 solution

You can try this, create a shortcut with this command:
shutdown /s /t 0
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900