Client RDP Session EventVwr
These errors I get when I log in.
Displayed from up -> down (7-1)
7. The Desktop Window Manager has exited with code (0x40010004)
6. Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The
applications or services that hold your registry file may not function properly afterwards.
5. Certificate Services Client has been started successfully.
4. The winlogon notification subscriber <TermSrv> is taking long time to handle the notification event (Logon).
3. The winlogon notification subscriber <TermSrv> took 120 second(s) to handle the notification event (Logon).
2. Windows license validated.
1.The Desktop Window Manager was unable to start because a composited theme is not in use
The problem.
My profile freezes when I logon to the terminal server. It seems to hang on “local session manager” when I look at the services on the server of my
user is see that Taskeng.exe and TSTheme.exe are loaded but nothing happens further. When I kill those processes my user logs on almost directly. I need to log off every time to logon again later, I cant just close the rdp session because when I want to log
back in its given all sort of errors. (The two computers cant logon right now etc. etc. etc.)
The problem seems to be even worse when I log in through a ThinClient. (Fully updated)
I have searched all over the web, but nothing really similar to my problem.
Things i tried:
- Logged in localy changed the "Theme" from modified to classic and logged off. When i logged back in the Theme was changed to modified again.
- RDP Security layer from Negotiate to RDP security layer (Still same errors, changed back)
- Gave the user "Administrator" rights (Still same errors, changed back)
I think it hasn't to do anything with the network because the problem only exist with this user.
This is one of the errors the server gets in eventvwr:
We had a problem that 1 of our users couldn't connect to her RDP session anymore and she kept getting random disconnections. We "fixed" this with creating a new account and deleting the old account. She got the random disconnections following rdp protocol
errors.
After that "fix" we started getting the following error when users try to login their account using Remote Desktop Connection:
" you are connected to the remote computer. However, an error occured while an initial user program was starting, so you are being logged off. "
Even our own admin account is getting this problem, when i check the Event Viewer it gives the following warning:
" Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.
DETAIL -
1 user registry handles leaked from \Registry\User\S-1-5-21-3320479788-3890630609-4098953269-1142:
Process 1000 (\Device\HarddiskVolume1\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-3320479788-3890630609-4098953269-1142\Printers\DevModePerUser "
Exept for the event id: 1530 i can't find anything els that could be the problem.
Extra details:
Log Name: Application
Source: Microsoft-Windows-User Profiles Service
Date: 23-12-2011 10:15:11
Event ID: 1530
Task Category: None
Level: Warning
Keywords: Classic
User: SYSTEM
Computer: tsdomain.Domain.local
Description:
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.
DETAIL -
1 user registry handles leaked from \Registry\User\S-1-5-21-3320479788-3890630609-4098953269-1142:
Process 1000 (\Device\HarddiskVolume1\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-3320479788-3890630609-4098953269-1142\Printers\DevModePerUser