Difference between revisions of "Enabling Remote Desktop Connections"
From WPKG | Open Source Software Deployment and Distribution
| Line 11: | Line 11: | ||
priority="0" | priority="0" | ||
execute="once"> | execute="once"> | ||
| − | + | ||
<install cmd='regedit /s %PACKAGES%\ts\enable-ts.reg' /> | <install cmd='regedit /s %PACKAGES%\ts\enable-ts.reg' /> | ||
<upgrade 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' /> | <remove cmd='regedit /s %PACKAGES%\ts\disable-ts.reg' /> | ||
| − | + | ||
</package> | </package> | ||
| − | And here are 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</code>: |
REGEDIT4 | REGEDIT4 | ||
| Line 27: | Line 27: | ||
"fDenyTSConnections"=dword:00000000 | "fDenyTSConnections"=dword:00000000 | ||
| − | <code>disable.ts</code> | + | <code>disable.ts</code>: |
REGEDIT4 | REGEDIT4 | ||
| Line 33: | Line 33: | ||
"fDenyTSConnections"=dword:00000001 | "fDenyTSConnections"=dword:00000001 | ||
| − | This will allow you to log | + | 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? | ||
[[Category: Silent Installers]] | [[Category: Silent Installers]] | ||
[[Category: Changing Windows settings]] | [[Category: Changing Windows settings]] | ||
Revision as of 13:48, 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 the 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 on as Administrator (either domain or local) using Terminal Sessions.
Question: how to enable Terminal Sessions for other, non-Administrator users?