Difference between revisions of "Enabling Remote Desktop Connections"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 21: Line 21:
 
And here are the registry files for enabling and disabling Remote Desktop Connections:
 
And here are the registry files for enabling and disabling Remote Desktop Connections:
  
<code>enable.ts</code>:
+
<code>enable-ts.reg</code>:
 
  REGEDIT4
 
  REGEDIT4
 
   
 
   
Line 27: Line 27:
 
  "fDenyTSConnections"=dword:00000000
 
  "fDenyTSConnections"=dword:00000000
  
<code>disable.ts</code>:
+
<code>disable-ts.reg</code>:
 
  REGEDIT4
 
  REGEDIT4
 
   
 
   

Revision as of 07:17, 10 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 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?