Using msiexec in an ‘if exists’ login script to install an .msi

I wrote this script to handle a company wide Keepass update in my company.  The script checks to see if a file (with the name of the version of Keepass) exists.  If it does then it proceeds with the install, if not it closes the program.

Continue reading “Using msiexec in an ‘if exists’ login script to install an .msi”

How to allow Hyper-V and VMware Workstation to co-exist on the same machine without an uninstall

Problem:
Recently I wanted to test something with the latest version of VMware Workstation on my test machine that also had Microsoft Hyper-V installed.  When trying to start a VM in VMware workstation I received the error ‘VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Workstation.’

Continue reading “How to allow Hyper-V and VMware Workstation to co-exist on the same machine without an uninstall”

Activate an evaluation copy of Windows Server 2012 R2 or Windows Server 2016 with a valid key

Problem:
A client recently asked me to setup several VMs using the evaluation copy of Windows Server 2016.  After they had put lots of data on the servers and decided to use them for production purposes they decided they wanted to keep the existing server setup. When inputting a purchased Volume Licence Key they were presented with the error ‘That key can’t be used to activate this edition of Windows. Please try a different key’.

Continue reading “Activate an evaluation copy of Windows Server 2012 R2 or Windows Server 2016 with a valid key”

How do I make a bootable USB flash drive with Windows on it?

This is a pretty simple one, for those of you that have a volume licence subscription or other method of downloading Microsoft .iso files with complete installers on them – this is how to make a bootable USB flash drive from them.

Continue reading “How do I make a bootable USB flash drive with Windows on it?”