Adding Terminal Services using ocsetup.exe

  • Thread starter Thread starter Lars Wurm
  • Start date Start date
L

Lars Wurm

Guest
Hi,

I am aware that servermanagercmd.exe is the CLI for adding components into
the GUI version of 2008. However, since ocsetup.exe is working on both GUI
and core version I want to make a generic script (which is in place) for
adding components on both platforms. When adding a component into the GUI
version, I can from taskmgr.exe see that an instance of ocsetup.exe is kicked
off... my problem is that I dont seem to find the OC name for terminal
services within 2008, that maps to the ocsetup.exe tool, or from the WAIK
tools which often give u a hint what the name is if u wanna add it using
ocsetup.exe. Has anyone come across the name for Terminal Services components
that maps to the ocsetup.exe CLI? Adding all other components work, so I
guesss this one will also, as long as I get hold of the OC name.
 
Re: Adding Terminal Services using ocsetup.exe

I would suggest using ServerManagerCmd.

For example:



ServerManagercmd.exe -install TS-Terminal-Server -resultPath
installResult.xml -restart

Echo %ERRORLEVEL%



installResult.xml is the log file, which comes in handy for investigating
issues





Thanks

Soo Kuan


--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Lars Wurm" <LarsWurm@discussions.microsoft.com> wrote in message
news:65028B4F-D308-4C11-89EE-1EB7E7AFBCDC@microsoft.com...
> Hi,
>
> I am aware that servermanagercmd.exe is the CLI for adding components into
> the GUI version of 2008. However, since ocsetup.exe is working on both GUI
> and core version I want to make a generic script (which is in place) for
> adding components on both platforms. When adding a component into the GUI
> version, I can from taskmgr.exe see that an instance of ocsetup.exe is
> kicked
> off... my problem is that I dont seem to find the OC name for terminal
> services within 2008, that maps to the ocsetup.exe tool, or from the WAIK
> tools which often give u a hint what the name is if u wanna add it using
> ocsetup.exe. Has anyone come across the name for Terminal Services
> components
> that maps to the ocsetup.exe CLI? Adding all other components work, so I
> guesss this one will also, as long as I get hold of the OC name.
 
Re: Adding Terminal Services using ocsetup.exe

As I wrote, I know how ServerManagerCMD works, I wanna know if the same
component can be handled from OCSetup.exe (which should be fine, given one
knows the name of the component used from OCList/OCSetup)? So, has anyone
come across the name of the TS components that maps to ocsetup.exe?
 
Re: Adding Terminal Services using ocsetup.exe

Servermanager/Servermanagercmd are the only supported tools for
adding/removing server roles/ role services. If you're using other
unsupported methods, you'll run into the risk of compatibility issues in
future windows.


--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Lars Wurm" <LarsWurm@discussions.microsoft.com> wrote in message
news:4F592B7B-A150-49AC-9F62-221C3EEBCA69@microsoft.com...
> As I wrote, I know how ServerManagerCMD works, I wanna know if the same
> component can be handled from OCSetup.exe (which should be fine, given one
> knows the name of the component used from OCList/OCSetup)? So, has anyone
> come across the name of the TS components that maps to ocsetup.exe?
 
Back
Top