Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Files and folders that are not backed up when the Ntbackup.exe tool is used in Windows Server 2003, Windows XP, and Windows 2000


View products that this article applies to.

Summary

This article lists the files and folders that Ntbackup.exe excludes during backup and restore operations. The file exclusions listed in this article also apply to backups that use the Volume Shadow Copy Service (VSS).

↑ Back to the top


More information

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.

↑ Back to the top


Keywords: KB233427, kbinfo

↑ Back to the top

Article Info
Article ID : 233427
Revision : 8
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 110