Difference between revisions of "Enabling Remote Desktop Connections"
From WPKG | Open Source Software Deployment and Distribution
Line 5: | Line 5: | ||
The XML for WPKG will look like this: | The XML for WPKG will look like this: | ||
− | + | <package | |
− | <package | + | id="remotedesktop" |
− | + | name="Remote Desktop" | |
− | + | revision="1" | |
− | + | reboot="false" | |
− | + | priority="0"> | |
− | + | <check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections" value="0" /> | |
+ | <install cmd='reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f"' /> | ||
+ | <upgrade cmd='reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f"' /> | ||
+ | <remove cmd='reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f"' /> | ||
+ | </package> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
This will allow you to log on as Administrator (either domain or local) using Terminal Sessions. | This will allow you to log on as Administrator (either domain or local) using Terminal Sessions. |
Revision as of 16:07, 2 March 2007
In XP, you have Remote Desktop Connection / Terminal Sessions, disabled by default.
You can enable them with a simple registry edit.
The XML for WPKG will look like this:
<package id="remotedesktop" name="Remote Desktop" revision="1" reboot="false" priority="0"> <check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections" value="0" /> <install cmd='reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f"' /> <upgrade cmd='reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f"' /> <remove cmd='reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f"' /> </package>
This will allow you to log on as Administrator (either domain or local) using Terminal Sessions.
Question: how to enable Terminal Sessions for other, non-Administrator users?