Thursday, 22 January 2015

#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



#Exchange 2013 - How to list Database Mailbox user

1. Launch Microsoft Exchange PowerShell
2. Type Get-MailboxDatabase "Mailbox Name" | Get-Mailbox

Example: Get-MailboxDatabase "DB1" | Get-Mailbox


Tuesday, 19 August 2014

#Windows Server 2012 - Windows Update Hang or not responding

Method 1

1. Run command prompt as administrator.
2. Type " net stop wuauserv " to stop windows update services.
3. Type " cd /d %windir% "
4. Type " rd /s SoftwareDistribution "
5. Type " net start wuauserv " to start windows update services.