All posts by Michael Albert

VI/VIM: Enable syntax highlightning in vi

Hi,

there are two options to enable syntax highlightning in vi/vim.

Just for your current editor session. Open your file
Continue reading VI/VIM: Enable syntax highlightning in vi

Java: Create a jks keystore with a selfsigned certificate

Hi,

short “HowTo” today 🙂 This post contains the keytool command line parameters for creating a jks container which contains an key and the selfsigned certificate belongs to that key.
Continue reading Java: Create a jks keystore with a selfsigned certificate

VMware vSphere: Cannot register a virtual machine in inventory: A virtual machine or template having the same name is already registered

Hi,

a customer had the problem that a virtual machine is shown as invalid or orphaned. After removing from inventory (not from disk) he couldn’t register the vm again: “A virtual machine or template having the same name is already registered”

This could have multiple causes:
Continue reading VMware vSphere: Cannot register a virtual machine in inventory: A virtual machine or template having the same name is already registered

Windows: Cumulative Update cannot be installed on Windows 10

Hi,

let us assume you have installed Windows 10 1607 and you want to install the cumulative Update KB3189866 and the update fails:


c:\Temp > wusa %TEMP%\AMD64-all-windows10.0-kb3189866-x64.msu /quiet /norestart

Eventlog: EventID 3,
Windows update could not be installed because of error 2149842967 (Command line: “C:\Windows\system32\wusa.exe” “C:\Temp\AMD64-all-windows10.0-kb3189866-x64.msu”)
Continue reading Windows: Cumulative Update cannot be installed on Windows 10

VMware: Generate an URL for a VM Console Session

Hi,

with PowerCli it is simply possible to generate an direct Link to accessing a VM’s Console without clicking through the whole vSphere Tree.

The anatomy of the URL is
https://%vCenterFQDN%:9443/vsphere-client/vmrc/vmrc.jsp?vm=urn:vmomi:VirtualMachine:%MoRef%:%vCenterUUID%
Continue reading VMware: Generate an URL for a VM Console Session