First of all we should create two
folders, Install and Mount. The folder Install will contain the
Install.wim copied from the source DVD and folder Mount will contain the Install.wim,
this folder is used for the purpose of mounting Install.wim.
Create two folders Install
and Mount using mkdir command.
Change drive to where you have
mounted Windows Server 2012 DVD. In my case it’s the D drive where the DVD is
mounted, next step is to change your directory to Sources where the Install.wim
is present.
Let's get the details about the
Image that we have mounted. Use the command “dism /get-wiminfo
/Wimfile:<Path of .wim file>”. In the below screenshot we can see
that there are 2 editions of windows server 2012, Standard and Datacenter each
with core and GUI mode. We will be using Windows Server 2012 Datacenter edition
for installing the server features. Make a note of Index number which will be
helpful while mounting the file.
To mount the .wim file, use the command
“dism /mount-wim /wimfile:<path of .wim file> /Index:Indexnumber
/mountdir:<path where you want to mount the .wim file> /readonly”.
Wait until the image file is mounted.
Wait until the image file is mounted.
To install the GUI and Server
Manager use the powershell command Install-WindowsFeature
Server-GUI-Mgmt-Infra, Server-GUI-Shell -Source <”path to winsxs
folder”>.
If you do not specify the
Source folder, the features will not be installed.
Wait until the installation is
completed.
Once the features are installed,
restart the computer.
No comments:
Post a Comment