Jump to content

Recommended Posts

Posted (edited)

Hi,All

I want to set the Remote Desktop in the every offnet PC.But after unattended installation , I must set the option manually for every PC. Could anyone tell me how to set this option automatically by .vbs or other way? Thanks a lot!

Edited by bizzard2000

Posted

Use this Registry Tweak

;Enable Terminal Server
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000
"IdleWinStationPoolCount"=dword:00000001

Posted

Thanks for you help ! It seems that code would be enable the "terminal server" service. But I want to be enable the Remote Desktop Connection . Could I use Registry Tweak to be enable that?

Posted

The following code is working:

Allow Remote Desktop Help Session Manager

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RDSessMgr]
"Start"=dword:00000003

Allow RDC and Remote Help

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000
"fAllowToGetHelp"=dword:00000001

Open some Firewall ports for RDC

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]
"3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"
"139:TCP"="139:TCP:LocalSubNet:Disabled:@xpsp2res.dll,-22004"
"445:TCP"="445:TCP:LocalSubNet:Disabled:@xpsp2res.dll,-22005"
"137:UDP"="137:UDP:LocalSubNet:Disabled:@xpsp2res.dll,-22001"
"138:UDP"="138:UDP:LocalSubNet:Disabled:@xpsp2res.dll,-22002"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...