VMware Error 0x0000005D

When you try to install Windows Operating System, you would come across an error code 0x0000005D. This is purely an issue related to the virtual machine profile. Please validate if you have selected a correct profile. if not please choose the correct profile and restart the installation process.

In my case, was trying to deploy Windows 2003 std edition for a legacy application using SCCM 2012. Had no clue with the error code 0x0000005D, though I have set Windows 2003 Std 32 Bit in profile. Later realized that the SCCM is using the latest version and then selected the corresponding 64bit profle like Windows Server 2003 Enterprise x64 Edition – from the drop-down list. Voila it fixed my issue.

VM profile is available at below path.

VM->Edit Settings->Options->General Options->Version


VMware P2V or V2V gives error Unable to contact the specified host.

When you do a P2V or V2V of Windows 2008 server using VMware Converter you might get the below error:

Unable to contact the specified host. The host is not available, there is a network configuration problem, or the management services on the host are not responding.

In order to execute the conversion process, it is necessary to open the required ports on the source. This error would be displayed when the required TCP and UDP ports are not open.

Hence, the best solution is to disable the firewall to fix the issue.

In my case the issue was fixed using the below command.

NetSh Advfirewall set allprofiles state off


Outbound Emails blocked on Windows Server.

Recently, came across an issue where the outbound SMTP mail where getting blocked. When checked the server and firewall settings everything looked very normal. Finally, the issue was with McAfee. McAfee access protection has a feature to block the out going e-mails. Hence, below listed steps where performed to fix the issue.

1. Click Start, Programs, McAfee, VirusScan Console.
2. Right-click Access Protection and select Properties.
3. Click the Access Protection tab.
4. Under Categories on the left, select Anti-virus Standard Protection.
5. In the right pane, select Prevent mass mailing worms from sending mail.
6. Click on , block tab relevant to “Prevent mass mailing worms from sending mail to remove tick mark.
6. In the Processes to exclude section, type the process name, then click OK to close the Rule details window.
7. Click Apply then close the Access Protection Properties window.


Fix RDP on Windows 2003 without reboot.

A very common issue on a daily life of a Windows server administrator is that the users complaining about RDP issue. If the issue is with Windows 2008, that’s fine as we can restart the remote desktop services to fix the issue. But the same issue on Windows 2003 is bit annoying.

However, I have found a solution which works perfect.

The fix: (remotely using command prompt)

tasklist /s \\servername /svc /fi “imagename eq svchost.exe” (locate PID for TermService)
taskkill /s \\servername /pid xxxx (may need /f to force, UAC might give problems as well)
sc \\servername start TermService

The Fix: (local, using command prompt)

tasklist /svc /fi “imagename eq svchost.exe” (locate PID for TermService)
taskkill /pid xxxx (may need /f to force, UAC might give problems as well)
sc \\servername start TermService

Detailed Information:

Open a command prompt
Type in: tasklist /svc /fi “imagename eq svchost.exe”
This will list the different instances of svchost.exe and the associated service and PID
Locate TermService and note the PID for it
Open Task Manager and go to the Processes tab. Then click View > Select Columns and check PID, then click OK
Locate the svchost.exe process with the PID noted in step 4, right click it, select End Process
Open services.msc
Start the Terminal Services service


How to identify the SAN Disk in Windows 2008?

In order to perform a storage testing, one of the server were allocated with two different storage XtremIO and FED.
Both the lun were added to server as a drive. However, we had a confusion to find which drive was from which storage. Luckily, we were able to track the luns using diskpart.

1. Open command prompt.
2. Enter “Diskpart”.
3. Enter “list volume”.
4. Type “Select volume *” (* to be replaced with volume ID Ex:C,D,E/0,1,2, etc)
5. Execute “Detail Disk”

You would now be displayed with disk details and more information, which will help you to track your lun.


How to restore Backup ROM version on HP servers using ROM Based Setup Utility.

Recently, we upgraded firmware on all our blade enclosures and servers. This time we got stuck with the Citrix servers. We were informed that the Citrix applications are not working after the recent updates. After lot of struggle it was traced out that the issue was due to the ROM version incompatibility and we had to restore the previous ROM version.

This was achieved using the “Redundant ROM Settings” available under RBSU (ROM Based Setup Utility). Please follow the below steps to restore your previous ROM without searching for the setup files.

1. Access ROM Based Setup Utility by pressing the F9 key during power on.
2. Select “Advanced Options”.
3. Select “Advanced System ROM Options”.
4. Choose “ROM Selection”.
5 Select “Switch to Backup ROM”.
6. Press the Enter key.
7. Press the Esc key to exit the current menu or press the F10 key to exit RBSU. The server restarts automatically.




Fixing Remote Desktop (Unnecessary pop-up)


Microsoft Remote Desktop is a great tool for connecting to any windows machine on remote. Sometimes, when you are in need of working on many different machines, you get irritated by annoying pop-up like asking username and password before connecting to the server and annoying remote identity pop-up. This needs our manual intervention and sometime delays our task. Hence, found a suitable option to disable these pop-ups. It’s very simple, please follow the below steps:
1. Close all remote desktop connections and exit the remote desktop client.
2. Click Start, click Run, type notepad, and then click OK.
3. On the File menu, click Open.
4. In the Files of type list, click All Files.
5. In the File name box enter Default.rdp (The full path to this file would be similar to the following: C:\Users\<your username>\Documents\Default.rdp)
6. At the bottom of the Default.rdp file, add the following text:
authentication level:i:0
7. Save the file and exit notepad.
8. You should no longer be prompted to enter credentials before connecting to remote desktops and confirm that you do indeed intend to connect.


Robocopy: How to copy files to a another drive, or server – only if they have changed?

With the robocopy, we can use the below syntax to copy everything from “x:\source” to “\\server\x\dest” including sub-directories:

robocopy x:\source \\server\x\dest /e /r:0 /w:0

Robocopy will look for the date and time stamp of each file. If the file has not changed, it will skip it.

Usage of parameters is as follows:

/e – This will include sub-folders, even if empty

/r:0 – Retry on failure zero times. No retries in this example. It will keep restarting the copy on failure

/w:0 – The number of seconds to wait between failures

Above won’t do is delete files on the destination if they have been deleted on the source. This can be attained by using /purge option:

robocopy X:\source \\server\X\dest /e /r:0 /w:0 /purge

Note: Usage of /purge will delete files on the destination. If you have an empty directory in source, you will end up with an empty directory on the destination.


How to manually rebuild Performance Counters for Windows?

To rebuild all Performance counters including extensible and third-party counters in Windows, type the below commands at a command prompt.


lodctr /R

Ensure that the counters are not disabled in the registry

The counters may be disabled via registry settings. Please check the following registry locations to ensure that the counters have not been disabled.


%servicename% represents any service with a performance counter. For example: PerfDisk, PerfOS, etc.

There may be registry keys for “DisablePerformanceCounters” in any of these locations. This value should be set to 0. If the value is anything other than 0 the counter may be disabled.

A value of 1 means the counter is disabled.
A value of 2 means the 32-bit counter is disabled.
A value of 4 measn the 64-bit counter is disabled.


How to Enable and disable NICs from command line?

Often when you are troubleshooting an issue with Windows Operating System, you would use the Command Prompt and there are scenarios were you would need to disable one of the NIC using command line, I often need this while troubleshooting with imaging issue. I’ve got the handy command.

C:\>wmic nic get name, index

you will find the output like
1 Broadcom NetLink (TM) Gigabit Ethernet
2 Broadcom NetLink (TM) Gigabit Ethernet #2
3 WAN Miniport (L2TP)
4 WAN Miniport (PPTP)
5 WAN Miniport (PPPOE)
6 WAN Miniport (IP)
7 Intel(R) WiFi Link 5100 AGN
8 WAN Miniport (Network Monitor)

Now, if you wish to disable “Broadcom NetLink (TM) Gigabit Ethernet #2”

Please execute the below command

C:\>wmic path win32_networkadapter where index=2 call disable

This should now disable the NIC “Broadcom NetLink (TM) Gigabit Ethernet #2”