Solved

Install Terminal Services to remote computer using command line?

Posted on 2009-06-28
1
627 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Problem Description: Actually I found the below issue with some customers after migration from SMS 2003 to SCCM 2007 and epically if they change site code, some clients may appear in the console with old site code, plus old sites still appearing …
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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