Thursday, 22 January 2015

#Hyper-V - Microsoft Hyper-V Virtual Machine - The chain of virtual hard disk is corrupted

Error: The chain of virtual hard disks is corrupted. There is a mismatch in the identifiers of the parent virtual hard disk and differencing disk

Cause: Mount VM's VHD that VM with snapshot(s) with Disk Image Tool.



Resolution:

1. Go to the settings of the VM. Select the hard disk and click on Inspect

2. Click on Reconnect

3. Browse and select the parent VHD. Check the Ignore ID mismatch. Then, check finish.

4. Repeat the step to other VHD if have. 

5. After reconnected. Power on the VM, Windows scan disk will run. Let it finish the scan. It may take time.

6. Log in to windows as usual. Done

Hope this will help.

#Lync 2013 - management power shell hang, black screen or not working

Lync 2013 management power shell hang, black screen or not working.

Resolution/workaround:

1. Run Windows management power shell, follow with command below.
    Import-Module Lync
2. Now you can run any Lync command on windows management shell.

*Try to restart server after the command. Lync management shell should work now. 

#Lync 2013 - Object reference not set to an instance of an object

Lync 2013 Prepare Forest failed.

Error:

Resolution:

Run the following parameter in Lync power shell management.

Enable-CsAdForest -GroupDomain domain.local -GlobalSettingsDomainController dc.domain.local -GroupDomainController dc.domain.local -GlobalCatalog dc.domain.local

OR

Enable-CsAdForest -GroupDomainController dc.domain.local -GroupDomain domain.local