Using PowerShell to convert to the MiniShell on a Server 2012 R2 Datacenter Core Edition
Using PowerShell to convert to the MiniShell on a Server 2012 R2 Datacenter Core Edition
You initially installed Windows Server 2012 R2 Datacenter Core Edition now you want to convert the installation to include the MiniShell to take care of some administrative tasks. Once the MiniShell has been installed you will have access to all the features of the graphical Server Manager tool.
In this blog I will show you the steps to convert to the MiniShell.
Use the Deployment Image Servicing and Management (DISM.EXE) to determine the index number of the desired operating system in the install.wim file.
- Open an Administrative Command Prompt.
- Type dism /get-imageinfo /imagefile:d:\sources\install.wim
Note: d: is the drive letter of the DVD drive.
- In our case Windows Server 2012 R2 Datacenter is Index : 4
Use the Deployment Image Servicing and Management (DISM.EXE) to mount the desired operating system files from the install.wim file.
Note: If you previously had the graphical interface installed on this server you will not have to mount the installation files.
Note: If your computer has internet access, PowerShell can retrieve the source files from Windows Update.
- Make a folder on the root of the C: drive to mount the installation files. Type mkdir C:\mount, type dir to ensure folder was created.
- Type dism /mount-wim /wimfile:d:\sources\install.wim /index:4 /mountdir:c:\mount /readonly. Observe the progress as the image is mounted.
- Verify the operation completed successfully.
Use the PowerShell to convert to the MiniShell using local source files.
- Launch PowerShell, type powershell in the command prompt.
Note: The prompt turned to PS.
- To determine the proper syntax for the features you want to install, type get-windowsfeature then enter.
Note: The feature we want to install is Graphical Management Tools and Infrastructure (Server-Gui-Mgmt-Infra).
- Type Install-windowsfeature Server-Gui-Mgmt-Infra –source c:\mount\windows\winsxs –restart
Note: This process will take some time to complete, be patient it will finish.
Use the PowerShell to convert to the MiniShell using Windows Updates.
- Launch PowerShell, type powershell in the command prompt.
Note: The prompt turned to PS.
- To determine the proper syntax for the features you want to install, type get-windowsfeature then enter.
Note: The feature we want to install is Graphical Management Tools and Infrastructure (Server-Gui-Mgmt-Infra).
- Type Install-Windowsfeature Server-Gui-Mgmt-Infra –restart
Note: This process will take some time to complete, be patient it will finish.
Note: This process will take some time to complete and may restart multiple times.
Verify the MiniShell is installed.
- Once the computer restarts and you have logged on, Server Manager will automatically launch.
- At this point all the graphical tools that can be launched from Server Manager will now be available.
Note: There is no graphical Windows installed and there is no Internet Explorer.
Note: If you close Server Manager and need to relaunch it just type Servermanager in the Command Prompt.
Check back later for more blogs relating to:
- Using Deployment Image Servicing and Management (DISM.EXE) tool to convert to the Full Graphical Shell on a Windows Server 2012 R2 Datacenter Core Edition from installation media.
- Using PowerShell to convert to the MiniShell on a Windows Server 2012 R2 Datacenter Core Edition.
- Using Deployment Image Servicing and Management (DISM.EXE) tool to convert to the MiniShell on a Windows Server 2012 R2 Datacenter
- Using PowerShell convert to the Full Graphical Shell on a Windows Server 2012 R2 Datacenter Core Edition.
- Using Server Manager to uninstall the MiniShell or Full Graphical Shell to convert Windows Server 2012 R2 Datacenter to a Core Edition.
- Using PowerShell to uninstall the MiniShell or Full Graphical Shell to convert Windows Server 2012 R2 Datacenter to a Core Edition.
Until next time – Ride Safe!
Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ
You May Also Like
Configuring Windows Mobility Center and How to Turn it On and Off
1 1372 1Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off
Agile Methodology in Project Management
0 184 0In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management
Creating Users and Managing Passwords in Microsoft Office 365
0 795 4In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365. For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365