How To Install A Server Role On Windows 2012 R2 Server Core?

Asked By 0 points N/A Posted on -

Hi, I recently installed the Windows 2012 R2 Server Core on my vm workstaton. But I want to add some server roles that can run on the server core substantially. Can somebody assist me with how to install a few server roles in it?

Answered By 0 points N/A #331946

How To Install A Server Role On Windows 2012 R2 Server Core?


Hi, as you have installed Windows 2012 R2 Server Core which does not have GUI and has only command-line utility, you can add some server roles. On the regular server operating system, you can install using server manager but on the server core, you will need to use commands to get what you want.

Some server roles that are supported in the Server Core are Active Directory, DHCP, DNS, File server, etc., Now let me help you with few commands that can be used to install server roles here:

a. To know what server roles are available, open cmd(command prompt) and type “oclist”.

b. Now to install the DNS server role, open cmd and type “start /w ocsetup DNS-Server-Core-Role”.

c. Also, configure the DNS feature through command prompt by typing as “dnscmd”.

d. Now to install the DHCP server role, in command prompt, type ” start /w ocsetup DHCPServerCore” and configure it by typing “netsh”. Also, to start the DHCP server service as it does not start automatically by default, type “sc config dhcpserver start=auto” and “net start dhcpserver”.

Login/Register to Answer

Related Questions