onsdag den 27. april 2011

Remote Desktop RemoteAPP not running logon scripts

This one was giving my some headaches. Sometimes people would see there network drives, and sometimes people could only see there home drive when launching applications directely instead of starting a desktop. Found tons of people who had “smart” hacks messing with RDP properties and runonce keys, but not anything I really liked. Was talking with a friend about it and he mentioned trying to use USRLOGON.CMD to just call the normal logon script. That didn’t quite work for me, but creating C:\Windows\System32\usrlogn1.cmd and then copy’ing the logon script localy and executing it, works seamlessly for me.

C:\Windows\System32\usrlogn1.cmd containing
xcopy /S /Y \\domain.fqdn\NETLOGON %temp%
C:\Windows\System32\cscript.exe %temp%\logon.vbs

Ingen kommentarer:

Tilføj en kommentar