Pages

Wednesday, December 20, 2017

Unable to expand virtual machine hard disk that is backed up by VMware VDP

Problem

You have a virtual machine in your vSphere environment that you would like to expand one of the hard disks but as you browse to the hard disk that needs to get expanded, you see that it is locked:

image

You’ve checked to confirm that there are no snapshots on the virtual machine:

image

Reviewing the files for the virtual machine show that there are CTK files for the disks that are locked and unable to be expanded in capacity:

image

Reviewing the disk for the VM in the vSphere Web Client displays the same behavior:

image

Shutting down and reviewing the VM’s summary tab indicate that the disks need to be consolidated:

Configuration Issues

Virtual machine disks consolidation is needed.

image

Attempting to consolidate the disks throws the following error:

Consolidate virtual machine disk files

Unable to access file since it is locked

See the error stack for details on the cause of this problem.

Error Stack

An error occurred while consolidating disks: msg.snapshot.error-DISKLOCKED.

image

image

Solution

One of the reasons why this error would be thrown is if you have this virtual machine configured to be backed up by a VMware VDP appliance and the appliance hasn’t released the disk at the end of a backup job or perhaps it did not complete properly.  To determine whether this is the case, open the settings of the VDP appliance and review whether this virtual machine’s disk is attached to it as such:

image

You can verify the disks that belong to the VDR appliance by reviewing the administration console as such:

image

To correct the problem, simply remove the disk from the VDP appliance and select the Remove from virtual machine when prompted with the Removal Options (this does not delete the disk):

image

Note that the disk will still be locked at this point:

image

Proceed to consolidate the disks:

image

The disk should be unlocked once the consolidation task completes.

Wednesday, December 13, 2017

Attempting to launch Citrix XenApp / XenDesktop 7.x desktop or application published by NetScaler fails with the error: “The connection to “XenApp Desktop” failed with status (Unknown client error 1110).”

Problem

You attempt to launch a XenApp or XenDesktop published application or desktop published by NetScaler but receive the following error message:

The connection to “XenApp Desktop” failed with status (Unknown client error 1110).

image

Solution

One of the possible causes of this error message is if you have incorrect or have not configured any STA (Secure Ticket Authority) on your NetScalers.  Navigate to NetScaler Gateway > Virtual Servers, open the properties of the virtual server, scroll down to Published Applications and ensure STA Servers are configured:

image

Monday, December 4, 2017

Attempting to run Windows update on a Windows 7 desktop fails with the error code 80248015

Problem

You attempt to run Windows updates on a Windows 7 desktop but notice that it fails with the following message:

Windows could not search for new updates

An error occurred while checking for new updates for your computer.

Error(s) found:

Code 80248015

Windows Update encountered an unknown error.

clip_image002

Solution

One of the ways to correct this issue is to navigate to the Windows directory and rename the SoftwareDistribution folder so that it would get recreated. 

C:\Windows\SoftwareDistribution

clip_image002[4]

Restart the desktop once the folder has been renamed and Windows update should now work as expected:

clip_image002[6]