Share via

I am getting an (Acces denied 5) error in remote shutdown command

Anonymous
2021-07-16T14:01:23+00:00

when i was trying to shutdown a networked computer this error had occured .

Windows for home | Windows 10 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

13 answers

Sort by: Most helpful
  1. Anonymous
    2021-07-17T11:40:21+00:00

    Got it, let's do our best to solve the problem.

    On the machine that will be turned off remotely, with an administrator account, do these procedures:

    Windows+R, type: services.msc, press enter, find the Remote Registry service, double click, in startup type, leave Automatic, and in the service status click Start, apply, Ok.

    Windows+Q, search for: Allow an application through Windows Firewall.

    Enable the “Windows Management Instrumentation (WMI)” option. By default, the service will only be allowed on private networks, but if you want to access via public networks as well (Internet), check the corresponding checkbox.

    Windows+i, Network and Internet, Network and Sharing Center, Change advanced sharing settings, Make sure these options are enabled, ''Enable network discovery'' and ''Enable automatic configuration of network connected devices ''. In File and Printer Sharing, make sure that sharing is turned on.

    Windows+R, type: Regedit, press enter, browse these folders:

    Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System. Right click on the System folder, New -> DWORD Value (32-bit). Put the following name: LocalAccountTokenFilterPolicy, now double click on the created key, Value data, put the number 1, Ok. Close everything and restart the PC to apply the settings.

    I hope this helps.

    Graciously,

    Claudeir

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-07-16T15:03:07+00:00

    Hi, my name is Claudeir. I'm an Independent Advisor and a Microsoft user like you.

    Are you as an administrator?

    Windows+R, control userpasswords2, select your user, properties, group membership, administrator, apply.

    Right click on Start, open Command Prompt (admin) or PowerShell (amdin)

    At the Command Prompt type the following command to shut down the computer: shutdown -s -t 00 -f -m \remote_computer_name

    (change by pc name)

    Depending on the situation, it will be possible to do this only if you have the same accounts on both machines, that is, accounts with the same name and password on both machines with administrator privileges.

    Take this test.

    I hope it solves.

    Feel free to leave your opinion, marking it as answered if the answer helped, or leaving more details so we can continue the service, this is very important to us.

    Sincerely,

    Claudeir

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-07-16T15:37:17+00:00

    i can connect to the networked computer but i cannot remotely shutdown it . In the other computer can shutdown my cmputer i cant shutdown that computer

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2021-07-16T15:31:34+00:00

    Create a new user as an administrator and test:

    -New user account.

    Your user profile is a set of settings that make your computer look and work the way you want it to. It contains your desktop background settings, screen savers, pointer preferences, sound settings, and other features. Due to this variety of personal settings and changes caused by other programs can cause corruption of your user profile and malfunction in system usage hence the need for a new profile.

    On the Desktop, press the Windows + R keys simultaneously to open Run;

    In Run type control userpasswords2 and click OK; (There is a space after the control)

    On the Add tab, and Sign in without a Microsoft account (not recommended).

    Click to create a Local Account.

    Enter a username and password, add a password hint and click Next and then Finish.

    In the Users tab select the name of the new user click Properties;

    On the Group Membership tab check the Administrator option, click Apply and OK;

    Restart the computer and login to the new user account and see the behavior.

    If it solves the problem, you can transfer the data to the new user:

    In the admin user you created, press the Windows+R keys, type: %systemdrive%\users (in English and without spaces)

    and click Ok. Check your previous user's folder and click the left mouse button, it may take a while to process the data, in a few minutes access to your files will be released, select the folders you want to move, to copy them press (CTRL+C), to cut them press (CTRL+X) and to paste press (CTRL+V) in your new user.

    After migrating your data, delete your previous user: Press the Windows+R keys, type netplwiz and click OK. Select your previous user and click Remove.

    Graciously,

    Claudeir

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2021-07-16T15:11:07+00:00

    I have tried the steps above but no use, any other solution

    Was this answer helpful?

    0 comments No comments