MS - Windows

Fix - Cannot create vCenter Server Directory Services instance

Recently I had to build a replacement VMware vSphere vCenter server. I did the usual 2008 R2 OS install and updates, installed some prerequisites and tools. However when I went to install vCenter, I received the following error:

"Cannot create vCenter server Directory Services instance"

HowTo: Publish Exchange Public Calendar with PHP

My goal was to extract appointment info from an Exchange Public Calendar to be displayed on an intranet site. This can be accomplished using the Exchange Web Services. Microsoft has examples using C# and the EWS API to access the data. Also you can use Perl or PHP module code contributed by the communities to extract this. I chose to go the PHP route vs.

Fix - Vsphere Client System.Reflection.TargetInvocationException

The Windows Server 2003 x64 workstation I was using for the vSphere 4.1 client recently stopped working. Was working fine for quite awhile, but recently I had installed and demo'd a few various software packages. I tried the usual uninstall and reinstall without success.

Fix - Windows KMS Activation failure

In a lab environment, we run a Microsoft KMS server. We had built out an initial group of clients to meet the 25 minimum for KMS. Time passed and some engineers built out another group of clients, but everytime a client attempted to activate:

String is not in the form required for a subject?

I was trying to hash a few various scripts together into one powershell script and have it email some output to me when it completed.  I would then schedule the script to do a daily report.  All seemed to work fine until I added the email code part.  My code was like:

Windows 7 64bit USB to Serial Adapter

Serial access is still quite common for networking devices and such.  Unfortunately most new laptops no longer have a serial port.  The work around is to add a USB to serial adapter in the toolbox.  However I had been struggling to find a good USB to Serial Adapter to work with my Windows 7, 64bit installation. 

Fix - WMI Memory Leak

I noticed the EventLog error below on two new Windows 2008 R2 servers recently deployed.  Also I saw the memory utilization was quite high on a server that has not been rolled out yet.  The WMIPRVSE.EXE was using > 350 megs of memory.  

Top 3 Causes of Home Connectivity Issues

All of us in tech support world enjoy those panic calls from desperate remote users, "I cannot get online!".  Well here are my top 3 reasons for it and their simple fixes.

HowTo - Auto XP Login

Recently I had to make serveral XP terminals "auto-login" for guest access in common areas.  The default user had limited permissions of course.  With just a few registry keys, it was a piece of cake.  Add/Change the following keys in the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" hive... 

HowTo - Create Dummy Event Log Items

I found myself wanting to create dummy entries in the Windows Event Logs to test some monitoring and automated response mechanisms.  Some quick Googling brought the "eventcreate" command to my attention.

Using a simple command like this: