Tag Archives: Windows Updates

2008 R2 SP1 kills Remote Desktop Services

Ran into this problem this morning when installing 2008 R2 SP1. Service Pack installs successfully, but cannot login via remote desktop services. Checked the eventlog remotely. found the following in the application log. Event ID 7034 reports which doesn’t help a lot.  Also Event ID: 1000 reports an application error.

Faulting application name: svchost.exe_TermService, version: 6.1.7600.16385, time stamp: 0x4a5bc3c1
Faulting module name: rdpcorekmts.dll, version: 6.1.7600.16952, time stamp: 0x4f1f9e66
Exception code: 0xc0000005
Fault offset: 0x000000000000a793
Faulting process id: 0xf80
Faulting application start time: 0x01cd1e4172e7da89
Faulting application path: C:WindowsSystem32svchost.exe
Faulting module path: C:Windowssystem32rdpcorekmts.dll
Report Id: eec16b12-8a34-11e1-8e8c-0050568ac72d

after a quick google I found the following thread

http://social.technet.microsoft.com/Forums/en-AU/winservergen/thread/f5855b60-f29c-4c90-b364-e364589e5267

And the following fix.

You need to run this with a user that is an admin on the target system.
Copy psexec and rdpcorekmts.dll (the new version) to a folder.
Create a file named servernames.txt and add the name of the server(s) you want to fi
Create a start.cmd file edit it and add the following:

@echo off
Echo ****************************************************
echo * This process will update and change the file rdpcorekmts. *
echo * If you don’t want to do that, ‘X’ out now                 *
echo ***************************************************
pause

:stop remote desktop services for /f %%i in (servernames.txt) do psexec \%%i net stop “Remote Desktop Services” /y

:Take Ownership for /f %%i in (servernames.txt) do psexec \%%i takeown /F c:windowssystem32rdpcorekmts.dll

:Change permissions to full for /f %%i in (servernames.txt) do psexec \%%i icacls c:windowssystem32rdpcorekmts.dll /grant administrators:F

:Copy in newer version for /f %%i in (servernames.txt) do copy rdpcorekmts.dll \%%ic$windowssystem32

:Change permissions back to read-only for /f %%i in (servernames.txt) do psexec \%%i icacls c:windowssystem32rdpcorekmts.dll /grant administrators:R

:start the service back up for /f %%i in (servernames.txt) do psexec \%%i net start “Remote Desktop Services” /y
Echo***************************************************

echo * Remove the names of the affected servers in the file Servernames *
echo***************************************************

Echo *Should be all done now. *
echo **************************

pause exit

Doubleclick start.cmd

You should now be able to login to your server.

Configuring updates Stage 3 of 3 0% completed

Had this little doozey today. lucky a quick search i was able to find it is pretty common.

http://msmvps.com/blogs/bradley/archive/2009/03/08/configuring-updates-stage-3-of-3-0-completed-aka-the-heart-attack-screen.aspx

There is on rare occasion an issue where Windows Vista, ultimately Windows 7 and even Windows Server 2008 will get stuck on patching.  It does not happen often at all, but on the very very rare time that it does, it gives you a heart attack for sure.  Not to worry, it’s something that one can recover from.

The symptoms are that the server stays on Configuring updates Stage 3 of
3 0% completed and stays there forever.  Meanwhile you have a heart attack. 

First rule, don’t panic.

Second rule, take a deep breath and find your install media.  Remember to hit F8 to get into the recovery console.

But here’s the workaround:

– Using the install media, the server was booted into the recovery console.
– In the following directory, c:windowswinsxs, the pending.xml file was
renamed pending.old
These two steps allowed the server to boot back into the desktop.

The issue is similar to this:

The update is not installed successfully, you receive a message, and the computer restarts when you try to install an update in Windows Vista:
http://support.microsoft.com/kb/949358/en-us