Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I need to activate RDP on all our Windows XP Computers who are currently in workgroup mode.. anyone knows a script or a software that can scan / activate the RDP Service on the machines?

I've already have a script that does part of it.. the main problem is the running of the script on all computers...

I have administrator access to all of them... but running one by one is a bit of a trouble :|

share|improve this question

1 Answer 1

up vote 0 down vote accepted

What's the script you currently have? This sounds like a job for PSExec (Sysinternals). The main regkey you need is:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnection

Which should be changed to 0. Though that depends on if it was explicitly disabled originally, and how.

Personally, I'd make a script for PSExec which copies a .reg fragment over and then logs the change to a text file centrally on a server.

You could also use something like "Reg.exe" which I think is on XP, but I don't have a station to hand to test.

Serious question - why are you using computers in a Workgroup rather than a domain?

share|improve this answer
    
The workgroup is being remodeled to a domain but in various sites it's not implemented yet.. I have that reg key as a script yes.. what I really wanted was some kind of software that ran in a range of ips and executed that command! –  Suthi Sep 27 '11 at 9:46
    
Then look at PSExec or reg.exe as I explained. –  Dan Sep 27 '11 at 10:22
    
Dan but psexec only runs in a pc at a time that will gonna make me run it on every pc on the network individually –  Suthi Sep 27 '11 at 11:13
    
It will only execute on one PC at a time, yes, but the whole point is that it's remotely executed. I.e., you create a text file with all of your machines and create a batch script to go down them and run your command on each PC. There are lots of examples on Google for this. –  Dan Sep 27 '11 at 11:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.