10
edits
Changes
updated info about enable RDP on Win10.
</package>
</source>
---- I'm using this on Win10 Pro ----
<package id="RemoteDesktop"
name="Remote Desktop"
revision="8"
execute="once"
reboot="false"
priority="500">
<check type="logical" condition="or">
<check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections" value="0" />
<check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\Services\TermService\Start" value="2" />
</check>
<install cmd='reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f' />
<install cmd='reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v SecurityLayer /t REG_DWORD /d 0 /f' />
<install cmd='reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f' />
<install cmd='netsh advfirewall firewall set rule group=â€Assistência Remota†new enable=yes' />
<install cmd='sc config termservice start= auto' />
<!--MAYBE It's NEED TO USE : reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSEnabled /t REG_DWORD /d 1 /f -->
<upgrade include="install" />
<remove cmd='reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f' />
<remove cmd='sc config termservice start= disabled' />
<remove cmd='netsh advfirewall firewall set rule group=â€Assistência Remota†new enable=no' />
</package>
----