Friday , October 20 2017

Vmware Windows 2012 R2 template configuration–Recommended

image

  • Floppy Drive Removed
  • Memory 4GB
  • Hard Disk 40 GB – Keeping it low is good as you cannot reduce thin provisioned disk size.

Make sure Hot Add is enabled

  • Enable Memory Hot Add for this Virtual Machine
  • Enable CPU Hot Add only for this Virtual Machine

image

  • Check and Upgrade Tools during Power Cycling

image

  • Check Enable Logging

image

Get to Boot Screen to do some configurations –

image

  • Boot-Time Diagnostic Screen to Enabled

image

Change Boot Order to  –

  • Hard Drive
  • Removable Devices
  • CD-ROM Drive
  • Network boot

Use + to Toggle or Shift ` +

image

Advanced –> I/O Device Configuration Serial Ports/Parallel Ports/Floppy Disabled.

image

  • Install VMware Tools

image

Disabled IPv6

image

Allow Remote Desktop –

image

  • Set Time to Display List of Operating Systems to 5 Seconds
  • Set Time to Display recovery Options when Needed to 5 Seconds

image

Change Machine Name –

image

Make sure Windows is up to date –

  • As .NET 4.6.1 is not supported for Some Applications like Exchange. Not Installing it at this point of time (Optional).

image

Open PowerShell Run as Administrator and Cleanup C:\Windows\WinSxS folder which contains all the Updates which is almost 8GB

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

This is a great command added with Windows 8.1 and Windows Server 2012 R2.  Essentially, it’s the mother of all commands. It cleanups and removes all the old superseded stuff from every component in the component store.

image

Change DVD ROM Drive Letter to Z: in Disk Management –

image

Control Panel – Notification Area Icons – Check Always Show All Icons and Notifications on the Taskbar

image

Power Options Set to High Performance

image

  • Proper Time Zone Updated in Server Manager
  • IE Enhance Security Configuration is set of OFF for Administrators only.

image

Start Run – Lusrmgr.msc – Local Administrator Account – Password Never Expires

image

Check – File Name Extensions

Windows Explorer – View –

image

Change Appropriate Date Format –

image

 

Optional – If you have Mcafee Agent Installed

cd “C:\Program Files\McAfee\Agent”

maconfig.exe –enforce –noguid

image

Optional – if you have Windows Update Services in the Environment – WSUS Client registration will fail if you don’t do below

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate

Delete SusClientId

Delete SusClientIdValidation

image

Download sdelete https://technet.microsoft.com/en-us/sysinternals/bb897443.aspx

sdelete64.exe –z C:

image

Uncheck below on Taskbar and navigation properties –

  • Store Recently Opened Programs
  • Store and display recently

image

image

  • Delete Temporary Profile if created (C:\users\
  • IE Full Reset (inetcpl.cpl)

image

Clear All Event Logs

Get-EventLog -List | foreach{Clear-EventLog -LogName $_.log}

image

Microsoft Recommendation –

  • Do not Disable User Access Control (UAC)
  • Do not Disable Windows Firewall (Enable ICMPv4In alone – It will be easy while provisioning)

 

  • Clear the IP from the NIC (Network Card)
  • Shutdown Windows 2012 R2 Template server

 

Now Shrink the VMDK File –

putty to the host – Browse to the VMDK file of the VM. ( This doesn’t work on a VSAN Environment)

vmkfstools –K Template.vmk

image

 

  • Convert to Template

image

Deploy Virtual Machine From this Template –

image

Customization Specifications Manager to Join Domain Automatically –

image

image

Enter Local Administrator Password –

image

Network Settings

image

image

Enter Domain Information –

image

  • Check Generate New Security ID (SID)

image

  • Customize using an Existing customization Specification

image

Deploy Virtual Machine using Template –

image

image

Machine Joined Automatically –

image

Using PowerCLI – Import Multiple Virtual Machines using CSV

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Exchange Server MVP , Publisher of CareExchange.in Supporting/Deploying/Designing Microsoft Exchange for some years. Extensive experience on Microsoft Technologies.

Check Also

Automate Run Summarization via PowerShell in SCCM

Without Delegating System Center Configuration Manager Deployment Rights. We can Update the Summarization Automatically via ...

4 comments

  1. Thank you.

  2. anyone know how what to use for copy profile?

  3. Nice article. Very useful. Thanks.

Leave a Reply

Your email address will not be published.