Tag: RDP Issue

Fix RDP on Windows 2003 without reboot.

A very common issue on a daily life of a Windows server administrator is that the users complaining about RDP issue. If the issue is with Windows 2008, that’s fine as we can restart the remote desktop services to fix the issue. But the same issue on Windows 2003 is bit annoying.

However, I have found a solution which works perfect.

The fix: (remotely using command prompt)

tasklist /s \\servername /svc /fi “imagename eq svchost.exe” (locate PID for TermService)
taskkill /s \\servername /pid xxxx (may need /f to force, UAC might give problems as well)
sc \\servername start TermService

The Fix: (local, using command prompt)

tasklist /svc /fi “imagename eq svchost.exe” (locate PID for TermService)
taskkill /pid xxxx (may need /f to force, UAC might give problems as well)
sc \\servername start TermService

Detailed Information:

Open a command prompt
Type in: tasklist /svc /fi “imagename eq svchost.exe”
This will list the different instances of svchost.exe and the associated service and PID
Locate TermService and note the PID for it
Open Task Manager and go to the Processes tab. Then click View > Select Columns and check PID, then click OK
Locate the svchost.exe process with the PID noted in step 4, right click it, select End Process
Open services.msc
Start the Terminal Services service

Thanks,
WintelAdmin

Filed under: Windows(2003/2008/2012)Tagged with: , , , , , , , , ,

Windows 2003 RDP: “The system cannot log you on due to the following error: The RPC server is unavailable

I was recently having issues in taking the RDP session of a Windows 2003 server. When I use the RDP Session, it was giving me an error stating “The system cannot log you on due to the following error: The RPC server is unavailable”. This issue is dependent on the below listed reasons:

1. Incorrect DNS settings.
2. Incorrect Time and Time zone settings.
3. The “TCP/IP NetBIOS Helper” service isn’t running.
4. The “Remote Registry” service isn’t running.

In my case, the issue was due to the service “TCP/IP NetBIOS Helper” was not running. I logged on to the server using the local admin credentials and was able to start the service to fix the issue.

Thanks,
WintelAdmin.com

Filed under: Windows(2003/2008/2012)Tagged with: , , , ,