Question:
Remote Shutdown: Access denied, error 5?
?
2014-02-26 03:13:56 UTC
I am encountering an issue with remotely shutting down PC’s on my home network. My laptop (MY-PC) is on HOME WORKGROUP and can remotely shut down my other laptop (MY-PC2) which is on a work domain. However it does not work the other way round. Neither of these two laptops can shut down the desktop (STUDY-PC), also on HOME WORKGROUP. Errors are always returning “Access denied (5)” despite my network having all sufficient permissions and all computers logged in to the network and locally as admins. I am using the cmd “shutdown -m \\computername -t (time) -s” and returns the error. If I try to use the “runas user:/computername\username” it will ask for the passwords but dismisses it as being invalid credentials.


MY-PC is running Windows 7 Home Premium
STUDY-PC is running Windows XP Home Edition
MY-PC2 is running Windows 8.1 Pro

None of the solutions on Google work for me. Please help! Huge thanks to anyone who solves it or at least offers a suggestion.
Six answers:
anonymous
2014-02-26 03:37:32 UTC
You can use the NET USE command to authenticate on the remote server and then use shutdown.exe



NET USE \\MyServer\IPC$ mypassword /USER:myuser
Adrian
2014-02-26 08:35:34 UTC
If I recall, XP may be blocking remote access by "default". Check remote users are enabled, and then check the local security policy:

"On the windows XP, Open Administrative Tools \ “Local Security Settings”. Navigate to Security Settings \ Local Policies \ User Rights Assignment. Double-click “Force shutdown from a remote system” in the right pane. Click “Add User or Group”. and add the computer that runs the remote shutdown command."



Also, check that user access over the network is allowed. There are a few settings in that local security policy that may block remote commands - read them and check what they do (it has been a while, I don't recall all of it, but have seen that in XP...)



Access denied with error 5 is a security access denied issue.
?
2016-10-06 06:51:32 UTC
Access Is Denied 5
Uthacalthing
2015-01-31 05:17:21 UTC
Assuming your user has admin rights on the machine you're trying to shutdown, the thing you're missing is a registry key. Go to:



HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System



And create the following DWORD (32-bit) key:



LocalAccountTokenFilterPolicy



Set its value to 1, then remote shutdown will work fine.
anonymous
2015-08-07 10:23:00 UTC
This Site Might Help You.



RE:

Remote Shutdown: Access denied, error 5?

I am encountering an issue with remotely shutting down PC’s on my home network. My laptop (MY-PC) is on HOME WORKGROUP and can remotely shut down my other laptop (MY-PC2) which is on a work domain. However it does not work the other way round. Neither of these two laptops can shut down the desktop...
anonymous
2014-02-26 03:50:49 UTC
Restore your operating system and install new operating system window xp or check your ram . some time it is for ram problem .


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...