Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

November 22, 1999 12:00 AM

Backing Up and Restoring the System State

Windows IT Pro
InstantDoc ID #7664
Rating: (2)

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.

Related Content:

ARTICLE TOOLS

Comments
  • nitiket
    6 years ago
    May 08, 2006

    very good

  • nitiket
    6 years ago
    May 08, 2006

    very very good and helpful

  • Temple Employee
    8 years ago
    Jun 16, 2004

    Yes I have backed up the system state and then burned it to CD later. I was able to blow away the system and then do a clean install and then restore the system state successfully for windows xp.

  • Ben
    8 years ago
    Apr 09, 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?

  • Michael A. Pollard
    8 years ago
    Feb 24, 2004

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

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.