The process does not possess the ‘SeSecurityPrivilege’ privilege which is required for this operation
Golf56 on Mon, 28 Apr 2008 18:41:00
I am in the Security Configuration Wizard trying to create the 2007 database in SQL 2005. My install fails and shows the following error:
An exception of type System.Security.AccessControl.PrivilegeNotHeldException was thrown. Additional exception information: The process does not possess the ‘SeSecurityPrivilege’ privilege which is required for this operation
Can anyone tell me what is going on and what this error means?
Daniel Pollard on Tue, 29 Apr 2008 01:33:20
Your account needs to have the following local security policy's applied:
'Manage auditing and security log' see: http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/gp/548.mspx?mfr=true
WAdams916 on Tue, 25 Sep 2012 20:24:03
This is due to not having adequate permissions with the account you are using. This can often be caused by the permissions your account has in Active Directory. Luckily there is a way to get around this on the local machine you are using.
In order to fix this you will need to do the following:
Go to > Local Security Policy- > Local Policies -> User Rights Assignment on the server you are trying to install on.
Assign your logged in account (eg [domain]/[username]) the following rights:
>Back up files and directories
>Manage auditing and Security log
>Restore files and directories
>Take ownership of files or other objects
Once you have done this, log out then log back in again.
After this the installer should now work!
John.Bevan on Wed, 08 Nov 2017 14:11:43
Related: this site gives a mapping between the privilege constants (e.g. SeSecurityPrivilege), and the related permission (e.g. "Manage auditing and security log"):