locked
The process does not possess the ‘SeSecurityPrivilege’ privilege which is required for this operation RRS feed

  • Question

  •  

    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?

     

     

    Monday, April 28, 2008 6:41 PM

All replies

  • 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

     

     

     

     

    Tuesday, April 29, 2008 1:33 AM
  • 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
    >Debug Programs
    >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!

             
    • Proposed as answer by WAdams916 Tuesday, September 25, 2012 8:24 PM
    • Edited by WAdams916 Tuesday, September 25, 2012 8:26 PM
    • Unproposed as answer by WAdams916 Tuesday, September 25, 2012 8:26 PM
    • Proposed as answer by WAdams916 Tuesday, September 25, 2012 8:59 PM
    Tuesday, September 25, 2012 8:24 PM
  • Related: this site gives a mapping between the privilege constants (e.g. SeSecurityPrivilege), and the related permission (e.g. "Manage auditing and security log"):

    https://technet.microsoft.com/en-us/library/dn221963(v=ws.11).aspx


    • Edited by John.Bevan Wednesday, November 8, 2017 2:12 PM spelling mistake
    Wednesday, November 8, 2017 2:11 PM