Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


July 2000

Undocumented Ntbackup Registry Keys


RSS
Subscribe to Windows IT Pro | See More Backup and Recovery Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Using Ntbackup with Win2K and NT

In Windows NT 4.0, I found some undocumented Ntbackup-related Registry keys. I haven't discovered official documentation for what each key does, but I used a trial-and-error approach to explore some of the more obvious ones, and I share my discoveries for readers who would like to add these keys to their arsenal. You can find the settings under the HKEY_CURRENT_USER\Software\Microsoft\Ntbackup\User Interface Registry key.

  • Auto Verify Backup. This key, which has a default value of 0, determines whether Ntbackup will verify your backups when you perform them. You can override this value in the Backup Wizard at runtime.
  • Backup Catalogs. This key has a default value of 0. If you change the value to 1, Ntbackup will back up all catalog files from your Temp directory every time you perform a backup. Ntbackup will still delete the catalog files when it closes but will save them on tape first.
  • Eject Tape Flag. By default, this key has a value of 0. If you change the value to 1, Ntbackup will eject the media each time Ntbackup closes.
  • Skip Open Files. By default, Ntbackup will try for 30 seconds to back up an open file. Thirty seconds is plenty of time to close any application that might be using the file. However, NT keeps more than 10 system files (e.g., the Registry, event logs) open at all times. If Ntbackup spends 30 seconds trying to back up each open system file, your backup can easily take an extra 5 to 10 minutes. Changing this key's value to 1 lets Ntbackup skip open files altogether.
  • Wait Time. This key sets the number of seconds that Ntbackup will spend trying to back up an open file before timing out. I usually leave the Skip Open Files key set to 0 and change the value of Wait Time to 5. This combination of values doesn't delay Ntbackup long while it tries to close system files, and it gives me a chance to close applications that have files open.

The names of some other keys also imply a connection to Ntbackup. If you experiment with Registry keys, be sure to take the proper precautions. Don't experiment on any machine that you can't afford to reformat. I also recommend using the Export Registry File option in regedit.exe. This option lets you create an "undo" file. The option exports a key you select to a .reg file, and you can import the unaltered key back into the Registry if need be.

End of Article



Reader Comments
Why would you use the HKCU hive as opposed to the HKLM hive when modifying the registry for this setting? I could only think of using this entry if you wanted to enable this action for the logged on user.

Brian Hackathorne December 20, 2000


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Storage Whitepapers Turn to a Proven Server and Storage Migration Solution

The Impact of Disk Fragmentation on Servers

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Disk-to-Disk Grows Up

WinConnections and Microsoft® Exchange Connections

Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Keeping Your Business Safe from Attack: Encryption and Certificate Services

Related Storage Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement