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



The information in this article applies to:

  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Datacenter Server

This article was previously published under Q233427
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

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).

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.

Modification Type:MajorLast Reviewed:4/11/2005
Keywords:kbinfo KB233427