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


November 22, 1999

Backing Up and Restoring the System State


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!

A Windows 2000 (Win2K) computer contains several crucial system components that are essential to its successful operation. You should ensure that you properly back up these components and that you can successfully restore them if things go wrong. Win2K Backup refers to these components as the System State, which has a different meaning depending on whether you're working with Win2K Professional (Win2K Pro) or Win2K Server. For Win2K Pro, System State refers to the boot files, the COM+ Class Registration database, and the Registry; for Win2K Server, it refers to these components and Active Directory (AD), Sysvol, the Certificate Services database, and the Cluster service. Screen 1 shows the System State components for a typical Win2K Server. Here's a summary of what the System State includes:

For Win2K Pro and Server:

  • Boot Files
  • COM+ Class Registration database
  • Registry

For Win2K Server:

  • AD (if the server is a domain controller)
  • Sysvol (if the server is a domain controller)
  • Certificate Services database (if the server is running Certificate Services)
  • Cluster service (if the server is running Cluster service)

System State Limitations
When you back up the System State, you back up the entire set of components to one .bkf file. You can either add to this file the next time you run a backup or overwrite it. Unfortunately, you can't back up or restore individual System State components using Win2K Backup because of certain dependencies among the components. It seems that unless you want to restore your entire system, including the AD and the Registry, backing up the System State won’t help. This all-or-nothing proposition can be time consuming and, in some cases, worthless. On my bare-bones Win2K Pro machine, the System State backup occupies more than 222MB of hard disk space. As you can imagine, a Win2K server running AD and other services would require a large amount of disk space for the System State backup. However, disk space isn't the real issue here—hard disks are relatively inexpensive. The problem is that if you make one change to your Registry or to a file in the Sysvol folder and then decide to restore the original from the System backup, you might have to restore half a gigabyte of data. Having said that, I should state that the purpose of the System State is to give you a complete backup of your important system files. To back up and restore individual components, you can use other methods that I address at the end of this column. Another limitation of the System State is that you can back it up and restore it only on a local computer; you can't back up or restore the System State of a remote computer.

Backing Up the System State
To back up the System State, run Win2K Backup program from Start, Programs, Accessories, System Tools, or use Start, Run, and type ntbackup.exe. You can use the Backup wizard from the Welcome tab, or you can click the Backup tab and check the System State box, as Screen 1 shows. Enter the backup media or file name at the bottom of the dialog box, and click Start Backup. The backup program will give you the option to append or replace the media, as Screen 2 shows. You can also configure some Advanced options, as Screen 3 shows, and schedule the backup. You must be an administrator or a member of the Backup Operators group to back up files and folders.

Restoring the System State
Restoring the System State is similar to backing it up. Screen 4 shows how to restore a System State on a Win2K Pro computer from Win2K Backup's Restore tab. Although you can’t restore individual System State components, you can restore them to alternate locations. Looking at Screen 4, you might wonder why the three System State components each occupy just 1KB on the Win2K Pro computer when my bare-bones System State backup takes 222MB. The answer lies in one of the options I selected under the Advanced Backup Options. If you select "Automatically backup System Protected Files with the System State" option in Screen 3, you'll back up all the system files in your \%systemroot% folder (\winnt by default), along with the boot files listed in the System State. On a Win2K Pro machine, this option can add over 200MB to your System State backup.

Restoring the Registry only. I mentioned earlier that the System State backup doesn’t give you the option of restoring individual components. When you back up your System State, you also back up your Registry files to the \%systemroot%\repair\regback folder. You can use the Registry files in the Regback folder to replace your corrupted Registry files without performing a complete System State restore.

Restoring the AD only. Once you have backed up your System State, you can restore the AD by starting your system in Directory Services Restore mode; this technique will also let you restore your Sysvol folder.

End of Article



Reader Comments
Before I embark on fruitless journey, has anyone written a NTbakup to CDRW or DVDR? I think it would be pretty handy.
especially to DVD.


William L. Morris November 29, 1999


RE: NTBACKUP & CD-R, CD-RWs etc...

YES it would be handy but microsoft do not support it!!!
see MSKB Article No Q262006

I got around this by 'Mapping' another drive letter to my CD-RW drive.
Only problem then was when the CD fills up the PC crashes, reboots or gives an error.

If its less than the CD's capacity then all goes ok.

Bizarre is not the word - i have irate customers because of this!

david j e risso August 30, 2000


This is a great reference!!
<br><br>
Thanks!

Ashis May 31, 2001


How can I backup the system state with Veritas NetBackup?

Edwin Mora October 16, 2001


Has anyone restored Active Directory from Veritas backup of system state data?

Ivan August 12, 2003


Just what I was looking for except if the system crashes can I boot into safe mode and restore system state?

Jim Pickhardt October 24, 2003


What happens when you cannot get into windows to restore the system state. Is there an alternative way to restore the OS without having to reinstall to another directory?

Amin Nasir November 05, 2003


All I want to do is restore my computer to an earlier date.

mary j. meeker December 08, 2003


I am getting this error each time I try to backup the system state on my Windows 2000 server with active directory. How do I give it the system state the permission it need so backupexec will back it up?

Unable to attach to \\UDR1\System?State.
Access is denied.

To Backup or Restore System State, Administrator privileges are required.
^ ^ ^ ^ ^
Unable to attach to \\UDR1\System?State.
^ ^ ^ ^ ^

Michael A. Pollard February 24, 2004


Interesting. I've got a question: I came into work today and got a call about a user not being able to print. The end user's network attached printers had a status of 'unable to connect'. I checked the print server and all printers had disappeared. I rebooted the print server and magically the printers reappeared. Had the printers been gone for real, could I have made a full recovery by restoring an older copy of the system state? Would it be worth while?

Ben April 09, 2004


 See More Comments  1   2 

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
Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Microsoft Warns of Windows Version Expirations

Microsoft warned that this year will see three out-of-date Windows versions slip into retirement. ...

Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...


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 Why We Do Backups and Do We Even Know How to Use Them?

New Year Savings Plan: How to get more out of your backup with new technologies like data deduplication, server virtualization and others

Real World Applications of Storage Strategy

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.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement