Skip to main content

From Conception to Completion we can help with your IT needs

Go Search
Home
  
From Conception to Completion we can help with your IT needs > Windows Server 2008 Core > ocsetup command  

ocsetup command

The OCSet command is used to install and remove roles. The exception is to install AD (DCPromo)
 
 
  • To list installed and available roles;
    • oclist
  • To install Active Directory Lightweight Directory Service Role;
    • start /w ocsetup DirectoryService-ADAM-ServerCore
  • To uninstall ADAM;
    • start /w ocsetup DirectoryService-ADAM-ServerCore /uninstall
  • To Install DHCP
    • start /w ocsetup DHCPServerCore
  • To remove DHCP
    • start /w ocsetup DHCPServerCore /uninstall
  • To Install DNS
    • /start /w ocsetup DNS-Server-Core-Role
  • To Remove DNS
    • /start /w ocsetup DNS-Server-Core-Role /uninstall
  • To Install Print Server
    • start /w ocsetup Printing-ServerCore-Role
    • start /w ocsetup Printing-LPDPrintingservice

 

 

Server Commands     Home

Last modified at 2/19/2008 12:20 PM  by Jarrod Katz - Admin