bizzard2000 Posted November 14, 2006 Share Posted November 14, 2006 (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 November 14, 2006 by bizzard2000 Link to comment Share on other sites More sharing options...
Gee Posted November 14, 2006 Share Posted November 14, 2006 Use this Registry Tweak;Enable Terminal Server[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]"fDenyTSConnections"=dword:00000000"IdleWinStationPoolCount"=dword:00000001 Link to comment Share on other sites More sharing options...
bizzard2000 Posted November 14, 2006 Author Share Posted November 14, 2006 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? Link to comment Share on other sites More sharing options...
Incroyable HULK Posted November 14, 2006 Share Posted November 14, 2006 The following code is working:Allow Remote Desktop Help Session Manager[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RDSessMgr]"Start"=dword:00000003Allow RDC and Remote Help[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]"fDenyTSConnections"=dword:00000000"fAllowToGetHelp"=dword:00000001Open 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" Link to comment Share on other sites More sharing options...
bizzard2000 Posted November 15, 2006 Author Share Posted November 15, 2006 It`s working! Thanks Gee & Incroyable HULK! Link to comment Share on other sites More sharing options...
Ralin Posted November 15, 2006 Share Posted November 15, 2006 Just have to ask, why do you disable SMB-ports in that reg? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now