If you’re on a home network, the best way to do this is to make sure all computers are in the same workgroup and that they all have at least one Administrator account with the same username and password.
Step 1: Firstly, in order to remotely shutdown a computer on your network, you’ll need to make sure you have Administrative access to the target computer. In order to get this to work, there are a couple of steps you have to complete first otherwise you’ll constantly get an Access is Denied (5) error message and it will drive you mad. I’ll go through all three methods in this article.
You can perform a remote shutdown from the command prompt using the shutdown command and its associated switches, from the remote shutdown dialog box, or from a batch file.