Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: script for W7 / to enable rdp and from older client

15 Jan 2010   #1

script for W7 / to enable rdp and from older client

Is there a script to enable rdp on Windows 7 machines and also to allow older os's like wxp to rdp to Windows 7 machines?


My System SpecsSystem Spec

26 Jan 2010   #2

Windows 7 Home Premium (64-bit) *** Windows XP SP3 (32-bit), OSX 10.6

Hi gogiants1998,

Here's an article about enabling Remote Desktop in Windows 7 & Vista. I hope it's helpful to you.


My System SpecsSystem Spec
27 Jan 2010   #3



Yes, I knew about that. I am looking for a way to do it remotely meaning with a script, batch file etc that I could run on target desktops Windows 7 OS and enable it.
My System SpecsSystem Spec

27 Jan 2010   #4


 Const ENABLE_CONNECTIONS = 1   strComputer = "." Set objWMIService = GetObject("winmgmts:" _     & "{impersonationLevel=impersonate}\\" & strComputer & "\root\cimv2")  Set colItems = objWMIService.ExecQuery _     ("Select * from Win32_TerminalServiceSetting")  For Each objItem in colItems     errResult = objItem.SetAllowTSConnections(ENABLE_CONNECTIONS) Next
change strComputer="." to whatever machine you're trying to enable it on. "." is local machine.
My System SpecsSystem Spec

 script for W7 / to enable rdp and from older client

Thread Tools

Similar help and support threads for2: script for W7 / to enable rdp and from older client
Thread Forum
Client Logon issues from Win 7 to SBS 2003 - Client Setup OS Stub Stop Network & Sharing
What to do with an older PSU? Chillout Room
I Need Help To Reorder The Context Menu Script In Script Form? Customization
VBS script: Cannot find script engine General Discussion
Enable Microsoft RDP client Control (disabled) - access denied Network & Sharing
script error when running a vbs script. Network & Sharing
Cache Writing - Enable or not to enable? Hardware & Devices

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:20 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33