Tuesday, April 28, 2015

Enabling TPM on HP Zbook and Elitebook laptops

Ran into an issue this Am with trying to enable TPM or Trusted Platform Module on a new Zbook from HP.  If you hit ESC then BIOS Options, then Security you will see that TPM, User Management and a few other options are greyed out.  Turns out you must set a BIOS Password in order to change those options.

Stupid move HP but whatever I guess, at least now I can encrypt the drive.

Wednesday, April 22, 2015

Backup and recover Vmware ESXi installs on SD cards

Here's a small piece on teh backing up and restoring of vmware 'firmware' most often used when running the hypervisor off SD cards.


Using the Vcenter-CLI:

Get-VmHostFirmware -Vmhost x.x.x.x -backupconfiguration -destinationpath c:\users\blah

Restoring:

Set-VmHostFirmware -Vmhost x.x.x.x -restore -sourcepath c:\users\blah\configbundle-<vmhost ip>.tgz -HostUser root -HostPassword <password>

Google Chrome sign-in issues..

For a while I've had a problem signing into Chrome.  I ignored it for the longest until I needed my tabs and bookmarks sync'd so I went looking.
Long story short this is what resolved my issue.

The symptoms were: entering username/passwd, and the sign-in animation keeps spinning forever.

Resolution: Renamed the following folder; c:\users\username\appdata\local\google\chrome\user data\default

Opening chrome will create a new Default folder, allowing you to sign in so all your addins, and info will sync correctly.


Backing up Putty saved sessions

Found a quick way to backup your saved sessions list in Putty..

Export the following registry key:

HKCU\Software\SimonTatham\PuTTY\Sessions

Or via Powershell:

reg export hkcu\software\simontatham\putty\sessions exported_putty_sessions.reg


Tuesday, April 21, 2015

Remotely determining a mac address

So today I had need of finding the mac address of a license server.. this server is a virtual and currently my vcenter server is down.  So unbeknownst to me Windows has had a nice little built-in command since XP called GetMac.

Read more here: https://technet.microsoft.com/en-us/library/bb490913.aspx

For those who don;t want to read it let me give you the simplest syntax for it..


getmac /s <hostname> /u domain\user /p <password>

That's it.  Short, simple and quick.. does exactly what you want it to.  Also there's no subnet limitations like with arp -a.


Enjoy.