Microsoft Windows operating systems maintain a list of files and folders that are excluded when you backup and restore files by using the Ntbackup.exe tool and other Windows-compatible backup programs.
Windows stores this information in the following registry keys:
Note The registry values shown in this article are a sample from one computer and may differ from what you might see on your computer depending on your configuration.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\KeysNotToRestore
The default values and value data for the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup registry key is listed in the following table.
Value | Value Data |
Client Side Cache | %SystemRoot%\csc\* /s |
ComPlus | %SystemRoot%\Registration\*.crmlog /s |
Internet Explorer | %UserProfile%\index.dat /s |
Memory Page File | \Pagefile.sys |
MS Distributed Transaction | %SYSTEMROOT%\System32\DTCLog\MSDTC.LOG |
NtFrs | %systemroot%\ntfrs\jet\* /s %SystemRoot%\debug\NtFrs* %systemroot%\sysvol\domain\DO_NOT_REMOVE_NtFrs_PreInstall_Directory\* /s %systemroot%\sysvol\domain\NtFrs_PreExisting___See_EventLog\* /s %systemroot%\sysvol\staging\domain\NTFRS_*
|
Power Management | \hiberfil.sys |
Temporary Files | %TEMP%\* /s |
The default values and value data for the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\KeysNotToRestore registry key are listed in the following table.
Value | Value Data |
Active Directory Restore | CurrentControlSet\Services\NTDS\Restore In Progress\ CurrentControlSet\Services\NTDS\Parameters\New Database GUID |
Fault Tolerance | Disk\ |
Installed Services | CurrentControlSet\Services\* |
LDM Boot Information | CurrentControlSet\Services\dmio\boot info\ |
Mount Manager | MountedDevices\ |
Pending Rename Operations | CurrentControlSet\Control\Session Manager\PendingFileRenameOperations |
Plug and Play | CurrentControlSet\Enum\ CurrentControlSet\Control\CriticalDeviceDatabase\ |
Session Manager | CurrentControlSet\Control\Session |
Windows Setup | Setup\SystemPartition |
The file exclusions listed in this article also apply when you are using Volume Shadow Copy Service. In this scenario, the requestor, such as NTBACKUP.EXE, passes a list of files and folders it will backup or restore, subject to any exclusions by the registry keys listed in this article.