Wednesday, 8 February 2017

Exchange 2016 Installer Issue

ERROR :
Error:
The following error was generated when "$error.Clear();
Set-LocalPermissions

" was run: "System.Security.AccessControl.PrivilegeNotHeldException: The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation.
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
   at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
   at Microsoft.Exchange.Management.Deployment.SetLocalPermissions.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__c()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".



I faced this error during the Exchange 2016 Installation:
The issue is due to a permission which was not given to the user i was using to install Exchange 2016.
The permission was controlled by GPO Policy.
The exact permission was "Manage Auditing & Security Log", you can find it by going to Group Policy Editor "Computer Configuration->Windows Setting -> Security Setting-> Local Policies -> User Rights Assignments -> Manage Auditing & Security Log"

SOLUTION:
Go to the Domain Controller 
Open the Default Policy or the Policy which is changing this security setting described above, and add the user to the list of allowed users. 

Once done, add update the group policy on the Exchange Server and restart your PC. 
The Exchange Installation should work fine.