Configuring Windows Server Core 2012 Part 1

Before configuring server core i would like to show you cool function with Windows 2012 is that, we can now switch from GUI interface to Server Core and viceversa after the installation of server 2012.Here is the step by step procedure to switch server from GUI to Core and Core to GUI.

GUI to Core 
  1. Connect with server, and Open Server Manager.
  2. Go to Manage and Remove Roles and Feature.
  3. Select the server from server pool and click Next.
  4. And in features, Unclick the User Interfaces and Infrastructure and click on remove features
  5. After the Removal, reboot the server.
    And WALA server switched to Core.
  6. We can do this thing using powershell                                                                                     Remove-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra

Core To GUI
  1. In  command prompt type Powershell
  2. Now type  Add-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra and hit enter
  3. After this we need to restart the server
  4. Type shutdown -r -t 00 (-r is for restart and -t for time i.e 00 seconds)
  5. After the Restart we can see that server is now switched to GUI.

Thanks to all for reading,
Will right back with Part 2.

Saturday by Prashant Shalgar · 0


Migrating Server Using Windows Migration Tool

Hi Guys,

In this post we will going to migrate windows server 2003 (32bit) to windows server 2012.For this we are using FileSer-01(Source) file server which will to migrated on server WSUS-01(Destination) with the help of Windows Migration Tool.
So lets get started.

Install Windows Server Migration Tools Feature on source machine.

  1. Connect with server WSUS-01 and Install Windows Server Migration Tools Feature.
  2. Go to Server Manager >> Add roles and features 
  3. Click Install
  4. Once it get finished, click close
OR      We can use powershell command

{code}Install-WindowsFeature Migration -ComputerName <Hostname>{code}

Here we have done with installation of Windows Migration Tools.

  • On WSUS-01 open powershell
  • Execute this command {code} .\SmigDeploy.exe /package /architecture x86 /os WS03 /path C:\MIG {code} 

Based on the source server you want to prep for you would issue the following command:
 Windows Server 2012
SmigDeploy.exe /package /architecture amd64 /os WS12 /path <deployment folder path>
Windows Server 2008 R2
SmigDeploy.exe /package /architecture amd64 /os WS08R2 /path <deployment folder path>
Windows Server 2008
SmigDeploy.exe /package /architecture amd64 /os WS08 /path <deployment folder path>
Windows Server 2008 32bit
SmigDeploy.exe /package /architecture X86 /os WS08 /path <deployment folder path>
Windows Server 2003 64bit
SmigDeploy.exe /package /architecture amd64 /os WS03 /path <deployment folder path>
Windows Server 2003 32bit
SmigDeploy.exe /package /architecture X86 /os WS03 /path <deployment folder path>
We are using 32 bit Windows 2003 source server.
  • Now Copy MIG folder to source machine i.e Fileser01,you can see all these folders               
  • Before executing SmigDeploy.exe we need to check the prerequesites for Windows Server Migration Tools

  • Now execute SmigDeploy.exe in Command prompt.
  • It will open one powershell session, Type Add-PSSnapin Microsoft.Windows.ServerManager.Migration

  • Now go on destination server i.e. WSUS-01 and open Server Manger >> Tools >> Windows Server Migration Tools >> Windows Server Migration Tools
Here we have Successfully enabled Server Migration Tools, please refer Technet Site for more info.

Thursday by Prashant Shalgar · 0


Deploy and configure Windows Deployment Services

Hi Guys,

In this post, we will deploy and configure Windows Deployment Services. Below is the Step-by-Step procedure to deploy and configure WDS. Two thing which are necessary to make you WDS up and running one is your Active Directory to authentication and DHCP server to provide Dynamic IPs to boot the client via network and get deployed Operating System.
In this demo i am using TEST-DC1 as my domain controller(AD) with DNS, DHCP role installed and WDS-01 as WDS server.

Deploy WDS Role - 
  1. Connect to server WDS-01 with Windows Server 2012 DVD.
  2. Go to Server Manager, Click Add Roles and Features
  3. Click Next to "Before You Begin", you can Skip this page by default.
  4. Select Role-based or Feature-based installation and click Next.
  5. Select a server from the server pool and Click Next.
  6. Now Select Windows Deployment Services and Add required features, Click Next
  7. Click Next.
  8. Note the things and Click Next,
  9. This Page we can select both or only deployment server. Deployment server is the core service which any deploy images on client and transport server is responsible to transmit data using multicasting.
  10. And now verify the setting and Click install.
  11. Once it get complete click Close.

Now Connect to TEST-DC1 to configure scope for WDS.

Configure DHCP Scope -

  1. Open DHCP Manager and right click, make sure that you DHCP server is authorised to lease IPs to client.
  2. Right Click on IPv4 and Select New Scope, it will open New Scope Wizard, Click Next.
  3. Give appropriate name and description and Click Next.
  4. Enter the range of addresses that the scope should distribute to client and also define the subnet mask.
  5. If you have any exclusion and delay provide the values or simply Click Next,
  6. Provide lease duration and Click Next,
  7. Select Yes, I want to Configure these option now and Click,
  8. Specify the Default gateways and Click Next,
  9. Provide DNS server and Click Next,
  10. Next, Next (To activate the scope) and Finish.
  11. We need to configure two more DHCP options that are
We have done with DNS scope and We have already Deployed WDS on WDS-01.

Now Connect to Server WDS-01 to configure the WDS Settings.

Configure WDS Role -
  1. Open Windows Deployment Service Management Console
  2. Expand Servers. Click WDS-01. In the Action menu, click Configure Server. This will launch the Windows Deployment Services Configuration Wizard. Click Next.
  3. In the Install Options page, click Integrated With Active Directory and click Next.
  4. In the Remote Installation Folder Location page, verify that C:\RemoteInstall is selected and click Next.
  5. In the System Volume Warning dialog box, click Yes.
  6. On PXE Server Initial Settings will select Respond to all client computer(Know and unknown) with Require administrator approval.
  7. It will Start Configuration you WDS server,After that Click Add images to the server now and Finish
  8. Enter the Path and Click Next
  9. Create Image Group and Click Next,
  10. Review Settings & Click Next
  11. It will start adding all images contain in that path.Once it get complete Click Finish.
Verify Install and boot images are Successfully.

Deploying OS using WDS - 
  1. Connect any blank server which doesn't have the OS(Physical Or VM)
  2. Here we are using VM in our Vsphere Infrastrure.
  3. Power On the VM.
  4. Boot through NIC and Press F12 after it will start Preparing the PXE(PreXecution Environment)
  5. Select Language and Click Next,

  6. Enter Credentials
  7. Select Operating System you want
  8. You can create partitions formate disk at this stage or simply click next it will Create one partition and Install OS in that.
  9. Here it starts the Installation. 

We have Successfully Deployed Image using WDS.

Hardly Thank to All For Reading and will right back with new Post.
Till the time enjoy and have fun 

Tuesday by Prashant Shalgar · 0


Configure Windows Images

          Hi friends here we are illustrating to configure or modify the windows images using the amazing tool i.e. Deployment Image Servicing and Management (DISM.exe) is a new command line tool that you can use to service a Windows image. The DISM tool replaces the Package Manager (pkgmgr.exe), PEimg, and Intlcfg tools used with Windows Vista. DISM consolidates the functionality found in those three tools, as well as delivers new functionality to improve the experience of offline servicing.

You can use DISM to:
DISM can be used to service Windows Vista with Service Pack 1 (SP1) and Windows Server 2008. When used with Windows 7 and Windows Server 2008 R2, you get the added functionality.
Add, remove, and enumerate packages and drivers.
Enable or disable Windows features.
Apply changes based on the offline servicing section of an unattend.xml answer file.
Upgrade a Windows image to a different edition.
Prepare a Windows PE image.
Take advantage of better logging.

Apply patches.

Command-Line Options 
To service a Windows image offline, it must be applied or mounted. WIM images can be mounted using the Windows Image (WIM) commands within DISM, or applied and recaptured using ImageX.
You can also use commands to list the indexes or verify the architecture for the image you are mounting. After you update the image, you must unmount it and either commit or discard the changes you have made.
The base syntax for nearly all DISM commands is the same. After you have mounted your Windows image, you can specify any DISM options, the servicing command that will update your image, and the location of the mounted image. You can use only one servicing command per command line. If you are servicing a running computer, you can use the /online option instead of specifying the location of the mounted Windows Image.
The base syntax for DISM is:
DISM.exe {/image:<
path_to_image> | /online} [dism_options] {servicing_command} [<servicing_argument>] 

Illustration  - Applying Windows Updates,Adding Roles and features and Adding drivers Using DISM.
  • Open internet explorer and type
  • When prompted, install the Microsoft Update Catalog add-in.
  • In the Search box, type KB2756872 and click Search.
  • Click Add next to Update For Windows Server 2012 (KB2756872)
  • Click View Basket. In the Updates In Your Basket page, shown in Figure 1-24, click Download.
  • In the Download Options page, navigate to c:\Updates, click OK, and click Continue. When the update completes downloading, click Close.
  • Use File Explorer to copy the Install.wim file from the sources directory of the Windows Server 2012 installation media to the C:\Images folder.
  • Open an elevated command prompt by opening the Search charm, typing cmd, right-clicking command prompt, and then clicking Run as Administrator.
  • Execute the following command to identify the index number of the Standard Server installation: Dism.exe /get-wiminfo /wimfile:c:\images\install.wim
  • Execute the following command to mount the Standard Edition server image located in Install.wim using the C:\Mount folder: Dism.exe /mount-image /imagefile:c:\images\install.wim /index:2 /mountdir:c:\mount (it will take few minutes)
  • Execute the following command to apply the software update you downloaded from the Microsoft Update Catalog web page:
  • Dism.exe /image:c:\mount /Add-Package /PackagePath:"c:\updates\Update for Windows Server 2012 (KB2756872)"
  • Execute the following command to enable the .NET Framework 3.5 features using the mounted installation media as the source location: Dism.exe /image:c:\mount /Enable-Feature /all /FeatureName:NetFx3 /Source:d:\sources\sxs
  • Execute the following command to dismount and commit the modified image:
  • Dism.exe /Unmount-Wim /MountDir:c:\mount /commit.
We have successfully applied updates on offline image using DISM.

Monday by Prashant Shalgar · 0

Windows Admin Jobs in Pune