Difference between revisions of "Enabling Remote Desktop Connections"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(No difference)

Revision as of 13:42, 8 September 2006

In XP, you have Remote Desktop Connection / Terminal Sessions, disabled by default.

You can enable them with a simple registry edit.

First, the XML for WPKG will look like this:

<package
    id="enable-ts"
    name="enables Terminal Server"
    revision="1"
    priority="0"
    execute="once">
 <install cmd='regedit /s %PACKAGES%\ts\enable-ts.reg' />
 <upgrade cmd='regedit /s %PACKAGES%\ts\enable-ts.reg' />
 <remove cmd='regedit /s %PACKAGES%\ts\disable-ts.reg' />
</package>


And here are registry files for enabling and disabling Remote Desktop Connections:

enable.ts

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000

disable.ts

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000001

This will allow you to log in as Administrator (either domain or local).