If I execute the restart from Remote Desktop will I still be able to log back on after the machine has restarted? Improve this question. Caroline Orr. Caroline Orr Caroline Orr 1 1 silver badge 5 5 bronze badges. I decided to err on the side of caution and arranged for an out-of-hours restart instead. Thanks to everyone for all the advice and information. Add a comment. Active Oldest Votes. Terminal Services Manager will let you know which terminals are in use. Improve this answer. If it hangs while rebooting is physical access to the server required to recover?
How often does this happen? If you don't have any kind of IP KVM or remote management card, then yes, physical access is required if it hangs. I am the only user in Active state, but there are a number of other users listed in a state of Disconnected. Would these disconnected users cause the "other users" warning to be displayed?
Can I just log them off with no repercussions? As long as they do not have any open unsaved information they don't mind losing, then yeah, you can close their sessions. John Gardeniers John Gardeniers 27k 12 12 gold badges 52 52 silver badges bronze badges. Maximus Minimus Maximus Minimus 8, 1 1 gold badge 21 21 silver badges 35 35 bronze badges. I used to do that as well, having had the same experiences with hung reboots. I've since learned that by using shutdown. The Terminal Servers under my control have been rebooting reliably every week for at least the last 5 years.
Generally I would use -f as a last resort, e. Oskar Duveborn Oskar Duveborn There are a number of users with status of Disconnected but the Logoff and Send Message buttons are still enabled. Is this because they closed a Remote Desktop session without logging off? One of the WORST aspects of having terminals available to users who aren't tech-savvy and some who are is that they'll just disconnect a client without logging off, meaning the programs they left running AV components, desktop shell, etc The system rightly counts them as logged in.
Click "Add Click Finish, Close, etc. At that point you will be able to manage services as if they were on your local machine. Ryan Duffield Ryan Duffield Oops, didn't see the "command line" requirement.
What port s would I need to unblock on my server? This is gold. I have always been accessing servers remotely to handle services. Now with this I can have a list of different servers within the same console. Philibert Perusse Philibert Perusse 3, 5 5 gold badges 23 23 silver badges 26 26 bronze badges.
PSService is useful as well. There's a lot of power in those tools. Andrew Moore Andrew Moore The SC command is much better for this. Take a look at the batch scripts I posted in this question: stackoverflow.
Stephen Wrighton Stephen Wrighton In lieu of this, you can right-click the Services node and start Service Manager for that host. Telnet is most definitely unencrypted.
Right click on your computer name and choose "Connect to Remote Computer" Put in the computer name and credentials and you have full access to many admin functions including the services control panel. Adam Adam. The Overflow Blog. It does include a switch that can restart the service. There are multiple ways to deal with services using PowerShell. But the following scripts seem to be the easiest ways to me. Basically, the Get-Service cmdlet with -ComputerName returns an object reference to the service in the question.
You can also throw in the Test-Connection cmdlet in the script to test the remote connection before querying the service. To connect to a remote services MMC, click the Services name in the left pane, go to Action, then Connect to another computer…. Thank you for the comment. Oh, this is not our fault. When I press the Edit button, it shows me two backslashes, but in the published guide it is one. It looks like a Spiceworks bug. Learn Windows General Windows.
0コメント