Skip to main content

How to Turn the GUI Off and On in Windows Server 2012

When Server Core originally shipped, a lot of Windows admins avoided it because you could only use the command line, but this changes with Windows Server 2012 which enabled the use of a hybrid mode.

Turning the GUI Off

In Windows Server 8 the GUI has kept with the modular nature of recent Windows Server Operating Systems and in turn has become a “Feature”. This makes removing the GUI very easy. To get started launch Server Manager.




Click on Manage, and then select Remove Roles or Features from the menu.

Click next to skip past the before you begin page, then select your server from the server pool and click next.

Since the GUI is not a Role, we can just click next again to skip past the Roles section.

When you reach the Features page, you need to uncheck the box next to the “User Interfaces and Infrastructure” option, and then click next.

Now tick the “Restart Destination Server” box, then click remove.

The GUI will now be removed.

After the binaries are removed your server will automatically reboot.

Once it comes back up, and you log in, you will only be able to use the command line.

Turning the GUI On

Once the GUI has been turned off, you will want to know how to get it back. To do this we use SConfig, so go ahead and type SConfig into the command line and hit enter.

You can see near the bottom of the screen that we can use “12” to Restore the GUI, so type 12 and hit enter.

You will be warned that enabling the GUI requires a reboot, click the yes button.

That will kick off DISM which will start to add the binaries for the GUI Shell.

When its finished you will be asked if you would like to restart the computer now, type “y” and hit enter to reboot.

Comments

Popular posts from this blog

Use Portable VirtualBox to Take Virtual Machines With You Everywhere

Install Portable VirtualBox to an External Drive First, get started by downloading the Portable VirtualBox installer from vbox.me . Run the downloaded file and extract it to an external drive or wherever else you want to store your portable VirtualBox system. You can always move it later, if you like. Launch the Portable-VirtualBox.exe program from here and you’ll be prompted to download and install VirtualBox’s program files on your external drive. The tool can automatically download VirtualBox’s files for you. After it does, click the OK button to unpack them. If the full version of VirtualBox is already installed on your computer, you won’t see this screen and VirtualBox will just open instead. You’ll want to uninstall VirtualBox first or set this up on a computer without VirtualBox installed. Launch the program again after it finishes unpacking files. After you agree to a UAC prompt , you’ll see the standard VirtualBox window. A VirtualBox system tray icon...

Reset Windows Password Using Ubuntu

If you can’t log in even after trying your twelve passwords, or you’ve inherited a computer complete with password-protected profiles, worry not – you don’t have to do a fresh install of Windows. We’ll show you how to change or reset your Windows password from a Ubuntu Live CD. This method works for all of the NT-based version of Windows – anything from Windows 2000 and later, basically. And yes, that includes Windows 7. Note: If you have files on your hard disk encrypted using built-in Windows encryption, they may not be available after changing the Windows password using this method. Exercise caution if you have important encrypted files. You’ll need a Ubuntu 9.10 Live CD, or a bootable Ubuntu 9.10 Flash Drive. If you don’t have one, or have forgotten how to boot from the flash drive, check out our article on creating a bootable Ubuntu 9.10 flash drive . The program that lets us manipulate Windows passwords is called chntpw . The steps to install it are different in 32-bit and 6...

How to Create a MultiBoot USB Flash Drive for Windows and Linux

Step 1) Download an .ISO version of your installation (available through various sources [Microsoft, Apple, etc., or just from within the tool itself.]) Step 2) Plug in your USB and open up " My Computer ". Right click the USB, and select the " Format " button.    Note Recommended options: FAT32, quick format.       Now, continue at the warning prompt. And then press 'Ok' Step 3) Once the format is complete, open up this tool called ' YUMI ' YUMI - Multiboot USB Creator (Windows) | USB Pen Drive Linux Step 4) Using ' YUMI ', select the drive letter of your USB    Tip Make sure you chose the correct USB by opening up 'My Computer' and reading the Drive Letter) Step 5) There is a large list of possible operating systems, along with a built in DOWNLOAD feature! Select the operating system you want to download, and then browse for your .ISO file. Step 6) Press "Create" ...