Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-2442: Using DirectAudit SDK to create a database and set autogrowth as 'restricted'

Auditing and Monitoring Service ,  

12 April,16 at 11:44 AM

Applies to:


Centrify DirectAudit 2.x SDK







Using the DirectAudit SDK to create and manage the database, it is noticed that the API creates a database and then sets the autogrowth default property to 'unrestricted'. 

This has the potential to completely fill up the disk and cause further issues.

Is it possible to set autogrowth to 'restricted' while creating the database?




Use db_rotation_sql_script.vbs instead of db_rotation.vbs and modify SetupServer.sql (this file is in the same location as db_rotation_sql_script.vbs).


Search for CREATE DATABASE and locate the "MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB" sql statement, modify the MAXSIZE value to the desired size.


Related Articles

No related Articles