Active Directory Time Synchronization with multiple domain controllers on different Hyper-V hosts

| |

By default, when virtual machine is created on Hyper-V host, its clock is "bound" to the virtualization host operating system clock via Hyper-V integration services. If there are two or more virtualization hosts in the same network, it may happen the operating system time on one of the hosts to be different comparing to another host.

Sysprep quick fix

| |

Sometime, sysprep operation may fail with the following error message:
System Preparation Tool 3.14A fatal error occurred while trying to sysprep the machineDetails can be found on Microsoft web site https://support.microsoft.com/en-us/kb/2769827 

The quick fix is available here

Anti virus scanning exclusion lists

|

General Exclusions for All Windows Platforms

  • Pagefile.sys
  • *.pst
  • %systemroot%\System32\Spool (replace %systemroot% with actual directory)
  • %systemroot%\SoftwareDistribution\Datastore (replace %systemroot% with actual directory)
  • %allusersprofile%\NTUser.pol
  • %systemroot%\system32\GroupPolicy\registry.pol
Microsoft Active Directory Domain Controller
  • : \ WINNT \ SYSVOL
  • : \ WINNT \ NTDS
  • : \ WINNT \ ntfrs

Why we have selected Hyper-V again (against VMware)

| |

Just finished some quick but rather indicative tests of VMware vSphere with View 5 and MS Windows 2008 R2 SP1 Hyper-V
We are long time looking for virtualization platform that would allow decent quality of 3D graphics and modeling applications.

Windows KMS

|

To install a new KMS host key for Windows 8 activation or for Windows Server 2012 activation, run the following command:

cscript %windir%\system32\slmgr.vbs /ipk 
Note In this command, "KMS host key" is a placeholder for the new KMS host key for Windows 8 activation or for Windows Server 2012 activation.

Important: Every KMS host key is associated with a group of Windows editions.

Hyper-Threading and Virtualization

|

To enable or to disable hyper-threading on virtualization hosts?

There are many articles, documents and discussions in Internet and there is no definitive answer about the hyper-threading usage in virtualized environment.

About Hyper-Threading

A processor architecture feature that allows a single processor to execute multiple independent threads simultaneously.

Implementing RemoteFX on HP ProLiant

| |

Quick check list and brief instructions on hyper-V RemoteFX set up
RemoteFX requirement:

  • Processors must support Second-Level Address Translation (SLAT). Intel-based processors, Extended Page Tables (EPT) == SLAT. AMD-based processors, Nested Page Tables (NPT) == SLAT.

SAN vs local server storage and virtualization

|

The Old Story
Every year purchase new server(s) loaded with as many disk as it can handle. Install software and transfer data from the old servers (3-4 years old) that go out of business due to reliability consideration and increased need of storage space.

Hyper-V , HP network teaming and VMSMP Event ID 28

|

Installing HP DL370 G6 server with 4 integrated network cards and following the HP recommendation about the installation sequence as specified:Host OS: Windows Server 2008 R2 Enterprise with SP1
(1) install Hyper-V and all updates without virtual network

Domain Controller FSMO Role Holders, Transfer and Demote

|

List of useful resources and brief information

Determining FSMO Role Holders

Netdom (part of Windows server support tools)

netdom query /domain: fsmo


Demote a domain controller

List and delete files using Windows PowerShell

|

To list files of specific type(s) on the disk or directory including all sub-directories

get-childitem c:\ -include *.tmp, *.temp, *.bak -recurse 
get-childitem D:\Projects\abc*\ -include *.bak -recurse 
The commands above will list on screen all files with extentions TMP, TEMP or BAK located on disk C:\ and all subdirectories or located on disk D:\ in directory PROJECTS and all subdirectories with name starting with ABC and their subdirectories.

Number of virtual processors in Hyper-V Guest Operating Systems

|

Article on Microsoft Tech Net with the latest information for the supported number of virtual processors and integration services when running different guest operating systems (virtual machines) on Windows Server 2008 R2 Hyper-v

http://technet.microsoft.com/en-us/library/cc794868(WS.10).aspx

Quick data

Hyper-V and BIOS settings

|

Hyper-V hardware requirement1. 64-bit (x64) processor and 64 bit Windows 2008 (R2) server2. Hardware Virtualization Assists
Enable in the system BIOS:- Intel VT-x (initially codenamed Vanderpool)
- AMD AMD-V (also called SVM and initially codename Pacifica)
3. Hardware Data Execution Prevention
Enable in the system BIOS:- Intel Execute Disable (XD)
- AMD No Execute (NX).
4. SLAT hardware - required for using RemoteFX, highly recommended for traditional server virtualization

Remote Desktop microphone redirection

| |

Install and configure the microphone on the local PC and set redirection at Remote Desktop Connection  Remote Desktop Connection microphone redirectionAllow audio recording at hostHKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-TcpfDisableAudioCapture REG_DWORD 0x00000000
Allow audio recording at G

Virtualization and CAD

| |

Virtualization and CAD software (AutoCAD and similar) at the end of year 2012.
Recently tested XenApp, XenDesktop and Server 2012 with Hyper-V + Nvidia Quadro 4000 and Windows 8 virtual machines.
The result
XenApp is OK with AutoCAD. However AutoCAD LT is not compatible with XenApp - limited to 2 Acad instances only.