We have had performance issues for a few weeks at night, all our Hyper-V Servers where performing like CRAP every night around 3 AM and for about 45 minutes.
After a long night of investigation with my colleague, we found out that Windows 2012 is running a maintenance job around 03:00 each day.
The Automatic Maintenance window in the Action Center
When we stopped it all began to run as normal. This caused overloading of the SAN SP and gave high disk queue on all servers attached to the SAN.
But, after we disabled the Scheduled Task “Regular Maintenance“, it got enabled Again after some hours.
To avoy this disable “Maintenance Configurator“, but this can´t be done from GUI
To disable Maintenance Configurator run this command on a server with PsExec Link :
This update lets servers that are running Windows Server Update Services (WSUS) 3.0 SP2 provide updates to computers that are running Windows 8 or Windows Server 2012
Recently i got this error when trying to enable Cluster Aware Updating in Server 2012, i got this error:
“Unable to create the CAU clustered role because a Network Name resource could not be created. This can occur if a computer account (virtual computer object) for the role could not be created in the domain. Check the event log for more information. If the cluster name account does not have permissions to create the object, you can pre-stage a computer account in Active Directory. Then, use the Add-CauClusterRole Windows PowerShell cmdlet with the VirtualComputerObjectName parameter to create the CAU clustered role. For more information about pre-staging computer accounts, see http://go.microsoft.com/fwlink/p/?LinkId=237624.”
Unable to create the CAU clustered role because a Network Name resource could not be created
to fix this open Active Directory Users and Computers, go to view and select Advanced Features. Navigate to the OU where your Cluster object will be created and right-click on the OU and choose properties., go to the Security tab. Add your Hyper-V cluster computer object, then choose Advanced. From there select your Hyper-V cluster object and choose Edit. Navigate down to “Create Computer objects” and choose check the check box.
Click Apply and Ok, then try enabling CAU again!
Note: By default the new CAU object will be created where the cluster object is.
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 <KMS host key>
Note In this command, replace <KMS host key> with 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. Additionally, a KMS host key that is associated with Windows client operating systems cannot be installed on Windows server operating systems, and vice-versa. This is true for all Windows operating systems except for Windows Server 2003. If you install a KMS host key on a Windows operating system that is not associated with that host key, you receive the following error message:
0xc004f015: The Software Licensing Service reported that the license is not installed. SL_E_PRODUCT_SKU_NOT_INSTALLED
For example, you receive this error message if you try to install a KMS host key for Windows 7 on a computer that is running Windows Server 2008 R2.
For more information about KMS host keys and about associated groups of Windows editions, see Table 5 in the “Determine Product Key Needs” section of the Volume Activation Planning Guide
(http://technet.microsoft.com/en-us/library/dd878528.aspx#E3IAC)
Activate the new KMS host key on the host computer, run the following command: cscript %windir%\system32\slmgr.vbs /ato