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 w7 machines and also to allow older os's like wxp to rdp to w7 machines?


My System SpecsSystem Spec
26 Jan 2010   #2
WalkerA WinTeam

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 W7 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
Thread Forum
Script to disable/enable a user
Hi, I need a script/batch file that I can click to quickly enable/disable a user. How can I do this?
General Discussion
Windows Script Host: Can not find script file ?
Hello & Thanks , win7 x64 Starting yesterday , I keep getting the following message: Windows Script Host Can not find script file "C:\ProgramData\{95137DD0-C591-AC56-7417-DCD4A4950F5A}\\lare.txt". Any idea why and how to fix it ? Thanks/ ...Vern Tags: win7 x64, Download Games...
General Discussion
Disable/Enable USB Devices in Windows Manager With Script
My scenario is as is... We have a ton of companies running windows 2008 (HP ML110G8) servers. These servers have zebra label printers installed on them. We have noticed that these printers will lock up and stop printing until the end user unplugs the device and plugs it back into the computer....
Hardware & Devices
Enable client for Microsoft networks via command line
Does anyone have a solution for enabling client for Microsoft networks via the command line. It's already installed, but the check box next to it is unchecked. I've been doing some reading around the net and haven't come up anything viable. Some have said to use netsh to do it, but I can't...
Network & Sharing
Enable Microsoft RDP client Control (disabled) - access denied
Good Evening i was wondering if there is a way to activate this mstscax.dll either threw the registry or any other method. i dont have access to enable it due to not admin rights on the machine. please let me know if its located in the registry or if there is a forced way to enabling it. ...
Network & Sharing

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 05:16.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App