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?

Blackwood
  • 3,184
toni
  • 11

2 Answers2

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.

-1

On your destination machines, do the following:

  1. Open Note Pad
  2. Save as LocalAccountTokenFilterPolicy.bat
  3. Right Click and select Edit and paste the following

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

Save and right click and Run as Administrator on the destination PC. This should resolve the issue.

Ibra
  • 1