Transcript

In this video, we’re gonna talk about Modification of Installation. And for this, you’ll need to instrall Server Hyper-V and a Windows Server Client (Windows 7, 8, etc…)

First, I’ll show you how to Enable Remote Desktop

In managing a Remote Desktop you are going to need a Windows Server Hyper-V, it’s a physical server and it has Hyper-V installed.

First, I’ll show you how to Enable Remote Desktop

Click Tools and choose Hyper-V Manager.

  • Now as you can see here, I have 2 virtual devices. One is windows server core and the other is a Full GUI installation.
  • Now let’s configure the full version. In the server manager, click on local server. And here, you’ll notice that remote management is enabled and remote desktop is disabled. So, you’re gonna need to enable remote desktop.
  • Then “Allow remote connections to this computer”. You can also allow connections only from computers running Remote Desktop with Network Level Authentication by clicking “Select Users”.
  • Now, let’s go back to the physical machine. Then run server “Core”. Core only uses a console and there is no UI. So in order to enable remote desktop, we are going to use Cscript.
  • Just type “cscript scregedit.wsf /AR /v
  • And if ever the output is 1 means that remote desktop is not enabled. To switch it On just type “cscript scregedit.wsf /AR 0”
  • Then click the Core and it will attempt to connect with the server and then ask for the Administrator password. And that’s it, you now have a remote connection with the Core machine.

Switching Between Installation Modes

Switch From Core to Full

Reduce “Buyer’s Remorse” with core DISM (Deployment Image Servicing and Management Tool), you can also use Remote Server Manager even though you are in a core computer you can use server manager and then you get a full User Interface making a connection to the core machine and PowerShell (Install-WindowsFeature). These are the ways or tools to switch from Core to Full.

how to switch from core to full:

  • Type powershell
  • Then type Import-Module ServerManager
  • Type Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –Restart. Press Enter. And after that you are now switch to Full GUI.

how to switch from full to core:

  • Click Manage.
  • Choose Remove Roles and Features.
  • Click Next.
  • Click Next.
  • Just click Next because the features are not found in that page.
  • Scroll down and then find User Interfaces and Infrastructure then click it.
  • After that “uncheck” the Server Graphical Shell and Graphical Management Tools and Infrastructure.
  • After that a window will pop up and then click Remove Features.
  • Click on Next. And once it all done it will going to reboot and it will go back to pure server core.

Features on Demand

  • The advantage of this is it allows you to slim down the hard disks footprint of core or full installation. (Let’s say that you never make some roles and features when you install the Windows Server 2012, the binaries make it possible to install some items are still on the disks that still consumes space. So what features on demand allow us to do is not only not use those features but also not use the disk space that those binaries consume. Although, you can still back those binaries if you need them in a later time.

Although, you can still put back those binaries if need them in a later time.

Now, if you want to put them back, it will either get the source files from windows update or use a source, but you’d need to have a mounted WIM file from your installation media on your disk.

Now there are 2 methods for this:

  • 1 is to use powerShell
  • And the other 1 is to use Virtual Hard disks. Hard disks can be found on the Settings on your virtual machine, and there you will find the path to your virtual hard disk. But before you modify your machine, you need to turn it off first.

Now, to actually remove these binaries, this is what you’re gonna do:

You’re gonna need to run Powershell as an Administrator.

Type in uninstall-windowsfeature –name gpmc –vhd “The path to your virtual hard disk” for example: C:ProgramDataMicrosoftWindowsHyper-VVirtual Hard DisksDebugWin-12 Full.vhdx” –Remove

Now let’s move on to Minimal Server Interface.

– reduces the footprint of the operating system. It can reduce either the full GUI installation or the core installation.

To Minimize the Server Interface

  • You’re gonna need to click on Manage in your server manager.
  • Click Remove Roles and Features.
  • Click Next.
  • Click Next.
  • Next again.
  • Then on the Features window, scroll down and find User Interfaces and Infrastructure.
  • Deselect Server Graphical Shell but retain the Graphical Management Tools and Infrastructure. Click Next.
  • Then enable the auto-restart. Click Yes. Then Click Remove.

Then after it’s all done, you’re gonna notice that your desktop is gone. What’s also gone are the start screen, windows explorer and internet explorer. What you still have though are the Server Manager, MMC and Snap-Ins and the subset control panel.

And If you want to use (PowerShell)

  • Again, you’re gonna need to run Powershell as an Administrator.
  • Then enter Uninstall-WindowsFeature Server-Gui-Shell. Press Enter.
  • And then type shutdown /r /t 0. This is to restart the system and make the changes.
  • And if ever you want to install it again just type “install-WindowsFeature server-Gui-Shell and the same step restarts the computer and after that it will be back to Full UI.

Now to Add or Remove Feature from Offline Images like virtual hard disks which are the source files for virtual machines, here’s what you need to do:

In the server manager,

  • Click Add Roles and Features.
  • Click Next.
  • Click Next.
  • Choose Select a virtual hard disk
  • Then browse for the location of the virtual hard disk. Then click open.
  • Click Next.
  • Then after that, identify what roles or features you want to install.
  • Then Add Features. After that just click Continue.
  • Click Next.
  • Click Next.
  • Click Install.

Now if you want to use (PowerShell)

  • You’re gonna need to run it as an Administrator.
  • Then type install-windowsfeature dns (For example, if you want to install the dns server) –vhd “the path of your VHD file”. “C:ProgramDataMicrosoftWindowsHyper-VDebugWin-12 FullVirtual Hard DisksDebugwin-12 full.vhdx”
  • Then press Enter. And after you started it up then you have the DNS ready for configuration./li>

And that’s it for modifying installation and I hope you learned much in this video.

 

Contact Us


Join over a thousand users and let House of IT help you get started! Get a free quote now!