Remote Desktop
From Hak5
| This article (or section) may need to be wikified. Please help improve this article, especially its introduction, section layout, and relevant internal links. This article has been tagged since February 2007. |
Command Line: mstsc
Enable Remote Desktop Remotely
Let's say you're in a situation where you can't log into your XP machine because you forgot to click "Enable Remote Desktop" checkbox. This is using PSEXEC from sysinternals
psexec \\machinename reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0
Bring back desktop after session log off
Are you use remote desktop and hate how your computer is locked after you are done. This will end session and return desktop screen with all running programs to user. You can create shortcut or simply paste to RUN.
%windir%\System32\tscon.exe 0 /dest:console
Error Message: "The Local Policy of This System Does Not Permit You to Log on Interactively"
This usually happens in domain environment if you forgot to add user to remote users. You need NTRIGHTS from Windows Server 2003 Resource Kit Tools or Windows Server 2000 Resource Kit Tools. More info on NTRIGHTS at Microsoft KB Q315276
ntrights -m \\computer -u group or user to remove -r SeDenyInteractiveLogonRight
Remove Entries from the Remote Desktop Connection Computer Box
Remove MRU keys from following registry key. Other settings are stored in "Default.rdp" in My Documents.
HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default
--gointern 07:37, 7 Aug 2006 (PDT)


