• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1039
  • Last Modified:

Commandline install Terminal Services

Hey

How do i install Terminal Services by commandline?

Mike
0
mikeydk
Asked:
mikeydk
  • 2
1 Solution
 
mozerukCommented:
Hey,

Have you tried this:
http://support.microsoft.com/kb/306626

Regards
0
 
mikeydkAuthor Commented:
Again - looking for a commandline utility / command.

0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I don't believe you can.  Is there a reason you need to?  (Command line role installation is, I believe, first available in 2008).
0
 
mikeydkAuthor Commented:
Install Terminal Services on Windows 2003

By default Windows 2003 Terminal Services is intially installed in Remote Administration Mode as opposed to Application Mode. Below are possible sections/values for the answer file:

[Components]
TerminalServer=ON|OFF

--ON will install Terminal Services in Application Mode
--OFF will revert it back to Remote Administration Mode.

[TerminalServices]
AllowConnetions=1|0

--A setting of 1 will allow connections while 0 will not.

LicensingMode = PerDevice | PerSession

--PerDevice configures TS to require a TS Cal for each
--computer connection.

--PerSession configures TS to require a TS Cal for each
--active client session.

PermissionsSetting=1|0

--A setting of 1 configures TS to be installed in a compatibility mode with NT4/2000 while a setting of 0 configures more restrictive Windows 2003 compatible permissions.

Here's an example of an answer file that will install TS in application mode, configure per device licensing with Windows 2003 compatibility settings.

[Components]
TerminalServer=ON|OFF
[TerminalServices]
AllowConnetions=1
LicensingMode=PerDevice
PermissionsSetting=0

You could save the contents of this to a text file named TSAppMode.txt and run it with the Sysocmgr command line, or the contents of this file could be used in a unattended.txt file for unattended OS installations.

Sysocmgr.exe /i:sysoc.inf /u:\TSAppMode.txt /r /q
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now