The error message you’re encountering, “The entered computer name is not valid or remote shutdown is not supported on the target computer” (Error 53), typically occurs due to one or more of the following reasons:
- Incorrect Computer Name or IP Address:
- The computer name or IP address you entered might be incorrect or unreachable.
- Network Connectivity Issues:
- The target computer might not be accessible over the network.
- Remote Shutdown Permissions:
- Your user account might not have the necessary permissions to perform a remote shutdown.
- Firewall or Security Software:
- Firewall settings or security software on the target computer might be blocking the remote shutdown request.
- Remote Registry Service:
- The Remote Registry service might not be running on the target computer.
- Group Policy Restrictions:
- Group Policy settings might be preventing remote shutdown.
Steps to Troubleshoot and Resolve the Issue
1. Verify the Computer Name and IP Address
- Ensure the computer name (e.g.,
NOS069
) or IP address (e.g.,10.23.1.69
) is correct. - Use the
ping
command to check if the target computer is reachable:
ping NOS069
or
ping 10.23.1.69
- If the target computer is unreachable, check network connectivity (e.g., ensure both computers are on the same network).
2. Check Remote Shutdown Permissions
- Ensure your user account has the necessary permissions to perform a remote shutdown.
- On the target computer:
- Open the Local Security Policy editor:
- Press
Win + R
, typesecpol.msc
, and press Enter.
- Press
- Navigate to:
Security Settings > Local Policies > User Rights Assignment
- Double-click Force shutdown from a remote system.
- Add your user account or the group your account belongs to (e.g.,
Administrators
). - Click OK and close the editor.
3. Enable the Remote Registry Service
- The Remote Registry service must be running on the target computer.
- On the target computer:
- Press
Win + R
, typeservices.msc
, and press Enter. - Locate the Remote Registry service.
- Right-click it and select Properties.
- Set the Startup type to Automatic.
- Click Start to enable the service.
- Click OK and close the Services window.
4. Check Firewall and Security Software
- Ensure the firewall on the target computer is not blocking remote shutdown requests.
- On the target computer:
- Open Windows Defender Firewall:
- Go to
Control Panel > System and Security > Windows Defender Firewall
.
- Go to
- Click Allow an app or feature through Windows Defender Firewall.
- Ensure Windows Management Instrumentation (WMI) is allowed for both private and public networks.
- If you’re using third-party security software, check its settings to ensure it’s not blocking remote shutdown.
5. Use the Correct Shutdown Command
- Ensure you’re using the correct syntax for the
shutdown
command. For example:
shutdown /m \\NOS069 /r /f /t 00
/m \\NOS069
: Specifies the target computer./r
: Restarts the computer./f
: Forces running applications to close./t 00
: Sets the timeout to 0 seconds.
6. Test with a Different Computer
- Try running the
shutdown
command on a different computer to see if the issue is specific to the target computer or your local machine.
7. Check Group Policy Settings
- On the target computer:
- Open the Group Policy Editor:
- Press
Win + R
, typegpedit.msc
, and press Enter.
- Press
- Navigate to:
Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options
- Ensure the policy Network access: Remotely accessible registry paths includes the following:
System\CurrentControlSet\Control\ProductOptions System\CurrentControlSet\Control\Server Applications Software\Microsoft\Windows NT\CurrentVersion
8. Use PowerShell for Remote Shutdown
- If the
shutdown
command doesn’t work, try using PowerShell:
Restart-Computer -ComputerName NOS069 -Force
Summary of Commands
- Ping the target computer:
ping NOS069
- Shutdown command:
shutdown /m \\NOS069 /r /f /t 00
- PowerShell command:
Restart-Computer -ComputerName NOS069 -Force