Difference between revisions of "Enabling Remote Desktop Connections"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
Line 12: | Line 12: | ||
execute="once"> | execute="once"> | ||
− | <install cmd='regedit /s "% | + | <install cmd='regedit /s "%SOFTWARE%\ts\enable-ts.reg"' /> |
− | <upgrade cmd='regedit /s "% | + | <upgrade cmd='regedit /s "%SOFTWARE%\ts\enable-ts.reg"' /> |
− | <remove cmd='regedit /s "% | + | <remove cmd='regedit /s "%SOFTWARE%\ts\disable-ts.reg"' /> |
</package> | </package> |
Revision as of 21:26, 30 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 "%SOFTWARE%\ts\enable-ts.reg"' /> <upgrade cmd='regedit /s "%SOFTWARE%\ts\enable-ts.reg"' /> <remove cmd='regedit /s "%SOFTWARE%\ts\disable-ts.reg"' /> </package>
And here are the registry files for enabling and disabling Remote Desktop Connections:
enable-ts.reg
:
REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] "fDenyTSConnections"=dword:00000000
disable-ts.reg
:
REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] "fDenyTSConnections"=dword:00000001
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?