MSFN Forum: How to set Remote Desktop when unattended installation - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to set Remote Desktop when unattended installation Rate Topic: -----

#1 User is offline   bizzard2000 

  • Group: Members
  • Posts: 6
  • Joined: 31-December 05

Posted 13 November 2006 - 09:11 PM

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!

This post has been edited by bizzard2000: 13 November 2006 - 09:16 PM



#2 User is offline   Gee 

  • Member
  • PipPip
  • Group: Members
  • Posts: 275
  • Joined: 31-October 03

Posted 13 November 2006 - 11:24 PM

Use this Registry Tweak

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


#3 User is offline   bizzard2000 

  • Group: Members
  • Posts: 6
  • Joined: 31-December 05

Posted 14 November 2006 - 02:56 AM

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?

#4 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 November 2006 - 08:30 AM

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"


#5 User is offline   bizzard2000 

  • Group: Members
  • Posts: 6
  • Joined: 31-December 05

Posted 14 November 2006 - 06:22 PM

It`s working! Thanks Gee & Incroyable HULK!

#6 User is offline   Ralin 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 17-March 05

Posted 15 November 2006 - 06:03 AM

Just have to ask, why do you disable SMB-ports in that reg?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy