New
#1
Logon through RDP has cmd.exe application error and then causes logoff
I have an issue which started a few weeks ago after a Windows Update which I have not been able to solve. On one of my computers running W7 Ultimate X64, if I log on from the computer for the first time, everything works fine. However, if I try to log on for the first time using RDP, the log on process starts and part way through a cmd.exe - Application Error pops up with "The application was unable to start correctly (0xc0000142). Click OK to..." and then logs off and closes the session. Once I've managed to log in, RDP works fine until the next restart or the account is logged out. It appears to be happening with every account on the computer.
What I can deduce is the something is trying to launch a cmd.exe, which for some reason if the log on is triggered through RDP, fails. What I have not managed to work out is what it is. I've tried to turn on userenv logging, but can't get it to generate a log file. I can't seem to find anything useful in the event logs either.
Any tips on how to track down what is happening would be appreciated. Thanks in advance.