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
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
What to do with an older PSU?
I have an Thermaltake Purepower 430 NP PSU .. but it has a fairly low +12v and high +3.3v & +5v +3.3v - 28A +5v - 30A +12v - 18A Would this be more suitable for a server box or summat? -----
Chillout Room
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
revive older PC
I have an older PC that I was wondering if I did a video card upgrade on it, would it support Win 7. The proc is a 32 bit Semperon 2.0 gig, the computer has 2 gigs of ddr ram and an IDE 160 gig HD. There is an optical drive too. The video card slot is AGP. I was wondering if a Geforce 6200,...
General Discussion
Speed Up Win.7 with older PC?
Hi all, I installed Windows 7 last night on my backup HDD and so far I'm liking it. I have the permission stuff all shut down, installed Office 2007, AVG and even got Windows Mail to work then imported all my files, bookmarks, pictures ect.. and I'm pretty well set to use Windows 7 as my main OS...
General Discussion
Cache Writing - Enable or not to enable?
Hello, Could anyone tell me the advantages and disadvantages of disabling cache writing on the priming HDD? Thanks in advance :D
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 11:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App