I have a server and laptop both running Windows 10.
I would like to remote shutdown/restart the server using my laptop.
I have tried on the server:
1) Ran this command from powershell:
I got the error "Access is denied"
I then tried on the server:
1) Ran this command from powershell:
I got an error: "System error 1219 has occurred. Multiple connections to a server or shared resource by the same user..."
So I tried restarting the server and trying again, only to get the same error.
I then tried:
* the reason I don't have a password on the main account is to allow the server to start up automatically without any interaction from me*
(e.g. in case I'm not home and others want to use it)
I'm a bit lost. Not sure how to set up remote shutdown on my server.
Help would be greatly appreciated!
Note:
I would like to remote shutdown/restart the server using my laptop.
I have tried on the server:
- Opening "services.msc" > Remote Registry > Properties
- Setting "startup type" to "Automatic"
- Then starting the service
- Opening windows firewall > Allowed WMI
1) Ran this command from powershell:
shutdown.exe /m \\[server_static_ip] /r /t 0
I got the error "Access is denied"
I then tried on the server:
- Creating a new local administrator account (via Account settings > Family & other users > Add someone else to this PC)
- Then opening Remote Registry > Properties > Log on
- Selecting "this account" option and browsing for the newly-created user (let's call this user ADMIN2 going forward)
- Then setting the password to be the same as ADMIN2's account password and saved
- Then I stopped/started the Remote Registry service
1) Ran this command from powershell:
net use \\[server_static_ip]\IPC$ [new_admin_pwd] /USER:[new_admin_username]
I got an error: "System error 1219 has occurred. Multiple connections to a server or shared resource by the same user..."
So I tried restarting the server and trying again, only to get the same error.
I then tried:
- Opening "Remote Registry > Properties > Log on" again
- Setting the main admin account as the "log on user" (the one I login directly with) which doesn't have a password*
- Setting the password to be the same as the one I used for ADMIN2
- Tried restarting the Remote Registry service
* the reason I don't have a password on the main account is to allow the server to start up automatically without any interaction from me*
(e.g. in case I'm not home and others want to use it)
I'm a bit lost. Not sure how to set up remote shutdown on my server.
Help would be greatly appreciated!
Note:
- The shutdown procedure will only be done on the local network
- The shutdown command will only come from a single laptop (with a static IP too)
- Preferably I'd like to avoid requiring a username/password to initiate the remote shutdown (instead, if possible, I could restrict the command to only my laptop's IP)
- I'd like to initiate the shutdown command using the server's IP rather than a ComputerName
Last edited: