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

Saturday, 22 November 2014

#Lync 2013 - Application Server keep retrieving


Application server service status keep retrieving.



Solution:

1. Check if "Enterprise Voice" is Enabled on Front End Pool. To check, open Topology Builder, Expend Enterprise Edition Front End Pools, select pool.

2. If disabled, right the pool edit properties. check the Enterprise Voice to enable.
3. Publish the topology again.
4. Open the Lync Deployment Wizard, select install or update lync server system, run the Step 2, setup or remove lync server components.
5. Check the application server status again. Now should running. (you may need run the service manually if the service not running)

Tuesday, 4 November 2014

#SCCM 2012 - The specified folder doesn't exist or SMS Provider computer has no Read, Write or Delete subfolders and files permissions to it

System Center Configuration Manager 2012
 

Solution:

1. Right click on sources > properties > Sharing tab > Advanced Sharing > Permission > Add SYSTEM group with Full Control permission.


Monday, 20 October 2014

#WSUS Windows 2012 R2 - unable launch post installation.

WSUS fail to configure on SCCM 2012 R2 (Windows 2012 R2)
Post-deployment Configuration Failed. Configuration Failed for Windows Server Update...................


OR
The post-installation task failed. See below for details.
Log file is located at C:\Users\username\AppData\Local\Temp\.......
Fatal Error: Access to the path ...........UpdateServicesPackages



Solution:

1. After Install WSUS role, run WSUS as Administrator.
2. Enter DB Instance and content directory path.

Wednesday, 15 October 2014

#Exchange 2013 - How to set exchange database as default (from exchange server default created database to new created database)

1. Launch Microsoft Exchange PowerShell.
2. List database in exchange server.

Get-MailboxDatabase


(Mean I have total 2 database)

3. To move All user from default created database to new created database.

Get-Mailbox -Database "default database name" | New-MoveRequest -TargetDatabase "new database name"

(User mailbox being move to new created database)

4. To check the progress of moving.

Get-MoveRequestStatistics -MoveRequestQueue "new database name"

(Can see the test01 status still in queued. If done, status will show completed)

5. After All competed moved. Remove the move request.

Get-MoveRequest | where {$_.status -eq "completed"} | Remove-MoveRequest

6. Move All system mailboxes. Arbitration or Achive

Get-Mailbox -Database "default database name" -Arbitration | New-MoveRequest -TargetDatabase "new database name"

Get-Mailbox -Database "default database name" -Archive | New-MoveRequest -TargetDatabase "new database name"

7. To excluded the default created database from provisioning. (mean new mailboxes aren't added automatically into this database, unless manually added.)

Set-MailboxDatabase -Identity "default created database name" -IsExcludedFromProvisioning $true