Install Terminal Services to remote computer using command line?

Is it possible to install Terminal Services to a remote computer using the command line?

If so, what are the commands are needed to accomplish this?

Assume the computer is a memeber of the domain.

keatsconAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meugenCommented:
You want to enable Remote Desktop on those servers?
Because in this case you can use this:
1.      Go to \\<servername>\c$\temp
2.      Create a new text file and name it RDPEnable.cmd
3.      Edit the file.  Copy the following and paste it as the only line in the RDPEnable.cmd file:

CHANGE LOGON /ENABLE

4.      Save the file
5.      Go to \\<servername>\
6.      Open Scheduled Tasks
7.      Right-click > New > Scheduled Task
8.      Name the task RDPEnable
9.      Enter the properties of the RDPEnable task
a.      In the Run field, enter C:\Temp\RDPEnable.cmd
b.      In the Start In field, enter C:\Temp\
c.      With your username in the Run As, click the Set Password button
d.      Enter and confirm your password
e.      Click OK to close the password dialog

10.      Go to the Schedule tab
a.      Select Once for Schedule Task
b.      Change the Run On value to be a date in the past

11.      Click Ok to close the task. Right-click on the RDPEnable task and select Run


HTH
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.