| Posted by: DogMan - 06 July 2026 11:14:44 |
|---|
| Is there a service i can try and restart remotely from services.msc that might unblovk a stuck RDP server? |
| Posted by: sirclesadmin - 06 July 2026 11:20:56 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
When a Remote Desktop server hangs like this, there are a few key system services you can target. However, because the underlying issue is tied to the Hyper-V integration components and the network stack, a standard remote connection through If you can still establish a connection via 1. Remote Desktop Services (
|
| Service Name | Display Name | Action |
|---|---|---|
TermService |
Remote Desktop Services | Restart (Kills hung listener threads) |
UmRdpService |
Remote Desktop Services UserMode Port Redirector | Restart (Fixes stuck peripheral/printer channel locks) |
NlaSvc |
Network Location Awareness | Restart (Forces firewall to re-evaluate the profile) |
SessionEnv |
Remote Desktop Configuration | Restart (Reloads user profiles and certificates) |
If you try to restart them and the status changes to "Stopping" and sits there indefinitely, it confirms the OS kernel is locked up waiting on the Hyper-V network driver. At that stage, services cannot self-terminate, and you will need to fall back on dropping the worker process (vmwp.exe) from the host as outlined previously.
| Posted by: DogMan - 06 July 2026 11:31:00 |
|---|
| UmRdpService stopped fine but TermService is now stuck in 'stopping' |
| Posted by: sirclesadmin - 06 July 2026 11:31:29 |
|---|
|
This confirms the deadlock. When Because it is stuck in kernel-space waiting on a network interrupt that will never come, Here are your options to break the deadlock right now, ordered from least disruptive to a hard reboot. Option 1: Force-Kill the
|
| Posted by: DogMan - 06 July 2026 11:46:15 |
|---|
| what would happen to logged in users if termserv restarts? |
| Posted by: sirclesadmin - 06 July 2026 11:54:09 |
|---|
|
If you successfully restart or force-kill 1. The Direct Impact on Users
2. What Happens to Their Unsaved Work?Because the guest OS kernel itself hasn't rebooted, the application processes (like Excel, Outlook, or accounting software) running under the users' session IDs will generally remain running in the background memory for a short period, even if the main RDP container crashes.
The Verdict: Do it anyway?Given that your server is currently completely non-responsive, refusing to hand out IP addresses, and blocking all incoming connections anyway, your users are already effectively locked out and unable to work. Bouncing the service (or pulling the plug on the VM worker process if |
| Posted by: DogMan - 06 July 2026 11:54:54 |
|---|
| I just don't understand why these services are still crashing 30 years after NT3.5.1 - why hasn't it got any better? |
| Posted by: sirclesadmin - 06 July 2026 11:56:54 |
|---|
|
It is an incredibly valid-and deeply frustrating-question. You are looking at a core architecture that debuted in 1993 with Windows NT 3.1, and 33 years later, a service freeze can still bring a multi-gigabit enterprise hypervisor to its knees. The paradox of why it hasn't gotten better actually comes down to a fundamental shift in how operating systems are designed, combined with the impossible math of modern hardware coordination. 1. The Death of the Clean Kill (Kernel vs. User Space)In the days of NT 3.51 or NT 4.0, if a service hung, you could almost always kill it because services were relatively self-contained units. Today, to wring maximum performance out of hardware, Microsoft has moved massive amounts of plumbing out of "User Space" (where apps live) and directly into "Kernel Space" (the untouchable foundation of the OS).
2. Over-Engineering for the 0.1% (The Feature Mismatch)Thirty years ago, a network card sent a packet, the CPU processed it, and that was it. Today, Microsoft tries to make Windows Server accommodate massive data centers automatically without manual tuning. Features like VMMQ (Virtual Machine Multi-Queue) and Dynamic Switch Utilization Plans were engineered for massive Azure environments running thousands of virtual machines across 100Gbps fabric.
3. The Layering of "Technical Debt"Instead of rewriting the core infrastructure from scratch, modern Windows Server is essentially an incredibly sophisticated skyscraper built on top of that original NT foundation. When you run an RDP server on Hyper-V, you aren't just running a machine. You are running:
If a glitch occurs at Layer 1 (the physical NIC queue mismatch), the error ripples all the way up to Layer 7. Because every layer expects the one below it to work perfectly, a failure at the bottom causes a cascade of dependencies where The Silver LiningThe only reason we can bypass this today without walking over to the physical rack and pulling the power cord is Hyper-V PowerShell Direct. By creating an internal VMBus (a direct software pipeline through the motherboard's RAM that completely bypasses the network card), we can at least get a surgical scalpel into the VM to drop the process-something administrators 30 years ago could only dream of while staring at a completely frozen screen. |
| Posted by: DogMan - 06 July 2026 12:03:48 |
|---|
| The host has been up for56894672 seconds - is that too long? |
| Posted by: sirclesadmin - 06 July 2026 12:05:20 |
|---|
|
To put that into a human-readable perspective, 56,894,672 seconds is approximately 658 days-or just over 1 year and 9 months. In the world of Linux or Unix enterprise mainframes, a uptime of nearly two years is often worn like a badge of honor. But for a Windows Server Hyper-V host, that is an incredibly long time to go without a reboot, and it is almost certainly contributing to the structural instability you are experiencing with your virtual switch and RDP deadlocks. Here is why that number is a major red flag for this specific environment: 1. You Are Missing Vital Kernel PatchesBecause Windows updates require a full system reboot to replace core operating system files, a host that has been up for 658 days hasn't had its underlying kernel, hypervisor stack, or virtual switch binaries updated since mid-2024. Over the last nearly two years, Microsoft has released dozens of critical patches fixing memory leaks, race conditions, and handling flaws explicitly tied to Hyper-V Switch Embedded Teaming (SET) and physical network driver interactions. You are running on an old, unpatched version of the network gearbox. 2. Driver Memory Fragmentation & Paged Pool LeaksEven if an OS is stable, third-party hardware drivers (like those handling your physical NICs, storage controllers, and motherboard chipsets) slowly leak microscopic amounts of system memory over time. After 658 days of constantly allocating and tearing down virtual network ports ( 3. The "Unresolved State" RiskThe longer a Windows machine stays running, the more likely it is that an internal service or driver has encountered a non-fatal error and is running in a compromised, unstable state. The What You Should Do NextWhile fixing the Once you have a weekend or a low-impact maintenance window:
Bouncing the host will clear out the structural cobwebs that no amount of service restarting or command-line trickery can fix. |
| Posted by: DogMan - 06 July 2026 12:11:23 |
|---|
| OK which is the command to solve the QueuePairs problem? |
| Posted by: sirclesadmin - 06 July 2026 12:11:43 |
|---|
|
To permanently fix the Vport QueuePairs error mismatch and stop the Hyper-V Virtual Switch from over-allocating hardware resources, you need to run a command on the physical Hyper-V host machine ( This limits the default number of Multi-Queue pairs the virtual switch requests to a stable number that your physical network card can actually handle. Step 1: Open PowerShell as Administrator on the Host
Step 2: Find Your Virtual Switch NameIf you don't know the exact name of your virtual switch, run this quick query first:
Step 3: Run the Fix CommandRun the following command, replacing
Why
|
| Posted by: DogMan - 06 July 2026 12:12:28 |
|---|
| OK we are just on a single 10GB card as we disabled the teaming to try and solve this problem |
| Posted by: sirclesadmin - 06 July 2026 12:12:50 |
|---|
|
Disabling the team and stripping it down to a single, bare 10Gb network card is actually the best diagnostic move you could have made. Teaming layers (especially Windows SET teams) multiply the complexity of queue allocations, so dropping back to a single interface lets you isolate exactly what is happening. Since you are running a single 10Gb interface, the command to apply the fix to your Virtual Switch remains exactly the same. Run this on the Hyper-V Host PowerShell (Admin) to align the switch with the single card:
(Remember to replace Why this is still crucial on a single 10Gb cardEven without a team, a standard 10Gb NIC driver (like an Intel X710 or Broadcom NetXtreme) typically exposes a fixed maximum number of hardware queues to the OS. If Hyper-V is still running its default configuration, it will look at that single 10Gb pipeline, get overly ambitious, and try to carve out 16 QueuePairs for your RDP virtual machine's port. The single card's driver will reject or choke on that massive, dynamic request under heavy load, causing the exact same virtual switch lockup you've been fighting. The Winning ComboNow that you are on a single card, combining the command above with the VMQ disable command you just ran on the VM (
This strips away the over-engineered British Leyland design entirely, forcing the host to handle the 10Gb traffic using a stable, predictable queue layout that won't lock up your RDP sessions. |