Changes

Enabling Remote Desktop Connections

17 bytes removed, 15:57, 2 March 2007
no edit summary
You can enable them with a simple registry edit.
First, the The XML for WPKG will look like this:
<code><package id="enable-tsremotedesktop" name="enables Terminal ServerRemote Desktop" revision="1" priority reboot="0false" execute priority="once0"> <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>
<check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections" value="0" />
And here are the registry files for enabling and disabling Remote Desktop Connections:
<code>enable-ts.install cmd='reg<add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f"' /code>: REGEDIT4 [<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"=dword:00000000' />
<code/package>disable-ts.reg</code>: 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.
Anonymous user