Solved

Install Terminal Services to remote computer using command line?

Posted on 2009-06-28
1
626 Views
Last Modified: 2013-11-21
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.

0
Comment
Question by:keatscon
1 Comment
 
LVL 6

Accepted Solution

by:
meugen earned 500 total points
ID: 24734661
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question