Difference between revisions of "Enabling Remote Desktop Connections"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 4: | Line 4: | ||
The XML for WPKG will look like this: | The XML for WPKG will look like this: | ||
− | + | <source lang="xml"> | |
− | + | <package | |
id="remotedesktop" | id="remotedesktop" | ||
name="Remote Desktop" | name="Remote Desktop" | ||
Line 15: | Line 15: | ||
<upgrade 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"' /> | <remove cmd='reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f"' /> | ||
− | + | </package> | |
− | + | </source> | |
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 19:13, 9 February 2008
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?