Fix: Incompatible device specified for device ‘0’ when cold migrating VMware guest

by File in: Vmware

I received the following error message when using the vSphere Client to cold migrate a VMware guest running on ESX 3.0.2 to a new datastore :  Incompatible device specified for device ‘0’   The migration failed at 99%.  VMware KB 9105247 suggested the problem was an attached .ISO image file.  No .ISOs were showing as […]

Counting the number of files in a directory, command line style

by File in: script

I needed to count the number of files in a directory on a Windows 2003 server.  Here’s the command that can easily be scripted: dir/b/a-d c:\directory | find /v /c “::” You can also specify a file share instead of a directory name: dir/b/a-d \\server\share | find /v /c “::” If you want to count the number […]

Script to gracefully power off a VM guest

by File in: virtualization, Vmware

You can use vmware-cmd to shut down a VMware guest.  The syntax is [sourcecode language=”perl”] vmware-cmd /vmfs/volumes/datastore1/guest1/guest1.vmx stop [/sourcecode] Powering off a VM guest is often part of a larger script, so I need to know when the guest is really down before executing the remainder of my script.  The following code checks the guest’s state using […]

AD Message: Object is a container and contains other objects. Are you sure you want to delete object and the objects it contains

by File in: Active Directory

I received the following message today when trying to delete a computer object from Active Directory: Object %COMPUTERNAME% is a container and contains other objects. Are you sure you want to delete object %COMPUTERNAME% and the objects it contains? This operation could take a long time if  %COMPUTERNAME% contains a large number of objects. To determine which sub-objects this […]

FIX for SQL cluster instance install error: “There was an unexpected failure during the setup wizard. The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it”

by File in: SQL

I received the following generic popup message when installing a new instance on SQL 2005 SP3 cluster running on Windows Server 2003 R2:  There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it.   The active […]

FIX: ipconfig /registerdns results in RPC server unavailable error

by File in: Windows

A new Windows 2003 R2 server was not automatically registering itself in DNS despite having “Register this connection’s addresses in DNS” selected. Performing an ipconfig /registerdns resulted in a “RPC server unavailable” error message.   The solution was to temporarily enable the DHCP Client service, which we disable as a part of our server build […]

Citrix License Management Console error: “You did not authenticate correctly. Please try again or contact your system administrator”

by File in: Citrix

I was troubleshooting a Citrix installation manager package installation that was stuck in a pending, then paused state.  The job results window showed the server’s status as PAUSED (server not licensed).   I tried opening the Citrix License Management Console, but received the following error:   “You did not authenticate correctly. Please try again or contact […]

IE7 RDP web client fix

by File in: Internet Explorer, Uncategorized

We have a security appliance that manages user passwords.  One feature of this appliance is it can initiate a RDP session to a Windows box and pass the user’s credentials for authentication, which allows the users to access the remote system without knowing their password.  This appliance uses the Remote Desktop Web Connection ActiveX control, and […]

Direct patch download links for MS10-002 KB978207

by File in: security

Microsoft had released the out of band patch to resolve Internet Explorer vulnerabilities, see KB978207 and MS10-002 for additional details. The patches for IE6, IE7, and IE8 are available on Windows Update and Microsoft Update.  Unfortunately for me, our business proxy blocks access to these sites.  We also have to go through a corporate vulnerability rating process, […]