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.

Who is Participating?
meugenConnect With a Mentor Commented:
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:


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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.