Remote Shutdown via CMD does not work

0

If I try to shutdown a computer in my LAN via the shutdown /m 192.168.55.57 /s command, the following message appears.

192.168.55.141: Access denied(5)

How can I fix this?

escribe

Posted 2019-07-18T07:18:14.283

Reputation: 1

Are you launching command prompt as an administrator? Are you on a domain? – spikey_richie – 2019-07-18T07:22:29.667

It is not working when we launch it as administrator. – escribe – 2019-07-18T07:24:19.230

2You need to be administrator on the remote computer for this to be allowed. Either become a domain admin or get your user or a usersgroup that you are a member of (such as DOMAIN\Users) in the administrators group on that pc. – LPChip – 2019-07-18T07:25:30.717

How could I create a domain admin? We already googled it, but found nothing. – escribe – 2019-07-18T07:28:00.730

I wrote about this a long time ago here: https://superuser.com/questions/1038571/reboot-windows-10-pc-remotely/1038573#1038573 Follow these steps and see if that helps any.

– Pimp Juice IT – 2019-07-18T18:43:06.717

Answers

0

The correct credentials are not being used. Assuming that you have the credentials of a user authorized to perform a shutdown, run this command on the local computer first:

net use \\192.168.55.57 /u:USERNAME *

Enter the password when prompted. You should note that the username should have the computer name in it (i.e DESKTOP7\Username). After this command is run, windows should use the correct credentials and the shutdown should work.

zandermar18

Posted 2019-07-18T07:18:14.283

Reputation: 196