Author Topic: Installing and Uninstalling Roles and Features Using Ocsetup  (Read 2264 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick

  • Administrator
  • Platinum Member
  • *
  • Posts: 46028
  • Karma: +1000/-0
  • Gender: Male
  • NickCS
    • http://www.facebook.com/nickcomputerservices
    • http://www.twitter.com/nickcomputer
    • Computer Chiangmai

Installing and Uninstalling Roles and Features Using Ocsetup

You can use Ocsetup.exe to install or remove roles, role services, and features on Server Core. Note that the Ocsetup.exe syntax is case sensitive so you must type package names exactly as shown in this list.


You can use Ocsetup.exe to install or remove roles, role services, and features on Server Core. The Ocsetup.exe syntax is case sensitive so you must type package names exactly as shown below (or exactly the same as in the output of the Oclist command).

To install and uninstall a role, role service, or feature, you use this command syntax:

Code: [Select]
start /w ocsetup package_name
Code: [Select]
start /w ocsetup package_name /uninstall

The Start command is required to open the Ocsetup.exe process in its own window. The /w switch causes Start to wait for the spawned process to finish running before returning to the command prompt.

Roles / Role Services and their Package Names
Active Directory Domain Services (AD DS): DirectoryServices-Domain-Controller-ServerFoundation
Active Directory Lightweight Directory Services (AD LDS): DirectoryServices-ADAMServerCore
DHCP Server: DHCPServerCore
DNS Server: DNS-Server-Core-Role
File Services / DFS Namespaces: DFSN-Server
File Services / DFS Replication: DFSR-Infrastructure-ServerEdition
File Services / Services for Network File System: ServerForNFS-Base
File Services / File Replication Service: FRS-Infrastructure
Print Services / Print Server: Printing-ServerCore-Role
Print Services / LPD Service: Printing-LPDPrintService
Web Server (IIS): IIS-WebServerRole
Streaming Media Services: MediaServer
Hyper-V (virtualization): Microsoft-Hyper-V

Features and Their Package Names
Backup: WindowsServerBackup
BitLocker Drive Encryption: BitLocker
BitLocker Drive Encryption Remote Administration Tool: BitLocker-RemoteAdminTool
Failover Clustering: FailoverCluster-Core
Multipath IO: MultipathIo
Network Load Balancing: NetworkLoadBalancingHeadlessServer
Quality Windows Audio Visual Experience: QWAVE
Removable Storage: Microsoft-Windows-RemovableStorage-ManagementCore
SNMP: SNMP-SC
SUA: SUACore
Telnet client: TelnetClient
WINS: WINS-SC


From the Microsoft Press book Windows Server 2008 Server Core Administrator’s Pocket Consultant by Mitch Tulloch.

credit: technet.microsoft.com


 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Related Topics

  Subject / Started by Replies Last post
0 Replies
1946 Views
Last post September 11, 2010, 01:25:28 AM
by Nick
0 Replies
2741 Views
Last post January 05, 2012, 05:13:37 PM
by Nick
0 Replies
2297 Views
Last post March 16, 2012, 08:22:10 PM
by Nick
0 Replies
2321 Views
Last post December 30, 2013, 05:11:57 PM
by Nick