# instant file initialization

> Windows right that lets SQL Server skip zeroing data files when they are created or grown.

Source: https://sqlly.app/sql-configuration/sql-server/instant-file-initialization
Last updated: 2026-11-30
License: Text and data [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) (credit SQLly, sqlly.app); code and SQL snippets [MIT](https://opensource.org/license/mit). [Details](https://sqlly.app/license).

**Default**

`Not granted`

**Range**

Granted or not granted

**Restart needed**

No

**Default checked on**

SQL Server 2025

## What it does

Grant the service account the Perform volume maintenance tasks right (SE_MANAGE_VOLUME_NAME) and data file creations and growths skip the zeroing pass, which turns a minutes-long growth into an instant one. Log files still zero, apart from autogrowths up to 64MB that skip it since SQL Server 2022. SQL Server on Linux has no equivalent and always zeroes files.

## Default value

`Not granted`. Setup has offered to grant the right during installation since SQL Server 2022. sys.dm_server_services.instant_file_initialization_enabled reports Y or N.

## Check the current value

```
SELECT servicename, instant_file_initialization_enabled
FROM sys.dm_server_services
WHERE servicename LIKE 'SQL Server (%';
```

## Change it

```
-- Windows: Local Security Policy, Local Policies, User Rights Assignment,
-- Perform volume maintenance tasks: add the Database Engine service account or its service SID,
-- then restart the SQL Server service
```

No sp_configure and no RECONFIGURE: the privilege is a Windows one. Grant Perform volume maintenance tasks to the service account or its service SID, then restart the SQL Server service so the running process picks it up.

## When to change it

Windows servers that grow data files in production: big restores, ETL landings, databases that still rely on autogrow. Recheck after migrations or service account changes, because a fresh account starts without the right.

## What can go wrong

Unzeroed pages can hold readable fragments of files the OS deleted, until new data overwrites them, so deleted disk content is potentially accessible to anyone who can read the data files. Microsoft still recommends enabling it: the benefits outweigh the risk, and TDE closes the hole where the data is sensitive.

## Questions about instant file initialization

### What is the default value of instant file initialization in SQL Server?

Not granted. Setup has offered to grant the right during installation since SQL Server 2022. sys.dm_server_services.instant_file_initialization_enabled reports Y or N.

### Does changing instant file initialization require a restart?

No. No sp_configure and no RECONFIGURE: the privilege is a Windows one. Grant Perform volume maintenance tasks to the service account or its service SID, then restart the SQL Server service so the running process picks it up.

### When should I change instant file initialization?

Windows servers that grow data files in production: big restores, ETL landings, databases that still rely on autogrow. Recheck after migrations or service account changes, because a fresh account starts without the right.

Back to all [SQL Server settings](https://sqlly.app/sql-configuration/sql-server), or check the [SQL Server manual](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/server-configuration-options-sql-server) for every option.

## Related SQL Server settings

- [`FILEGROWTH` How much a data or log file grows each time it fills.](https://sqlly.app/sql-configuration/sql-server/filegrowth)
- [`tempdb data files` Number of tempdb data files, which spreads allocation-page contention.](https://sqlly.app/sql-configuration/sql-server/tempdb-data-files)
