Thursday, 24 October 2013

Adobe flash on Windows server 2012

To get flash to work on Windows server 2012 you need to enable the desktop experience. The instruction on the Adobe website discuss disabling ActiveX filtering, but this is for Windows 8.

import-module ServerManager
Add-WindowsFeature -name Desktop-Experience,qWave ` -IncludeAllSubFeature -IncludeManagementTools

Thursday, 3 October 2013

Resetting the VMware ESXi trial period

Sometimes I am asked to build a vSphere environment on a trial license from VMware. By default this is 60 days. However after building the environment, updating and testing the trial period will have dropped a number of days. The customer rightly pointed out that this has reduced their trail of the product.

You can use this command at the ESXi shell to reset the trail period back to 60 days.

rm -r /etc/vmware/license.cfg
cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg
/etc/init.d/vpxa restart