Posts Tagged ‘Windows Server 2012’

Windows Time config for Active Directory

March 20, 2016 Leave a comment

Small list of quick windows time service commands

  • w32tm /query /peers
  • net stop w32time
  • net start w32time
  • w32tm /config /manualpeerlist:",0x1,0x1,0x1,0x1" /syncfromflags:manual /update /reliable:yes

Here’s a full article how Windows Time Service works – Link


Windows Server 64-bit recommended page file size

March 19, 2016 Leave a comment

I picked this up a while back when I was doing research for my RDS cluster.

Recommended page file sizes:

  • Windows Server 2008 R2:
    Minimum page file size: 1x RAM
    Maximum page file size: 3 x RAM or 4 GB, whichever is larger
  • Windows Server 2012 and R2:
    Minimum page file size: Depends on crash dump setting*
    Maximum page file size: 3 x RAM or 4 GB, whichever is larger

    More Info: Technet

I found this from a forum on the internet:

For WS 2008/R2, C drive 66 GB irrespective of OS version and platform. C drive should have 6GB page file.

Aforementioned are basic requirements.

As best practice, you need to set page file 1.5 Times the RAM available on any Windows Servers.

For instance,

Say, you have 16 GB RAM on a server, 1.5 times the RAM 16 GB = 24 GB;  you need to set 24 GB Page file on the Server.

Now, how would you ditribute the page file ?

Here is the way, You need create a separate Drive and split the Page file (other than the preset page file on C drive)

For WS 2008/2, C drive already has 6 GB, now on a newly created drive set 18 GB page file (i.e. 24 -6=18 GB), make sure you have at least 23 – 25 GB Drive to accomodate 18GB page file.

I use the above settings on my RDS servers.


Notes on migrating server roles with Windows Server Migration Tool

March 3, 2016 Leave a comment

Here are some notes I made when I was studying form my MCSA 2012 upgrade exam.

To migrate roles from Windows Server 2008 R2 (Win2008R2)  to Windows Server 2012  (Win2012) take the following steps:

  • Run PowerShell as Administrator and Install WSMT on the Win2012 server with the following command:

    Install-WindowsFeature Migration
  • Create deployment folders on Win2012 . Run the following command in Command Prompt as admin

    SmigDeploy.exe /package /architecture amd64 /os WS08R2 /path <deployment folder path>
  • Copy the deployment folders from Win2012 server to the Win2008R2 server.
  • Register WSMT on Win2008R2 server. Run the following command in Command Prompt (as admin) in the copied directory on Win2008R2 server:

  • Load WSMT into your PowerShell session. 

    Add-PSSnapin Microsoft.Windows.ServerManager.Migration

  • Find out What features you can export from the Win2008R2 Server by using the following command. Run it in PowerShell as Administrator.

  • Next step would be to use cmdlets such as Export-SmigServerSettings, Import-SmigServerSettings, Send-SmigServerData, and Receive-SmigServerData to migrate data and settings to Win2012 server

MORE INFO available at TechNet