Tech

Guides
 

Classic Windows NT tip: Dump Registry to text files for tracking

By John Sheesley, Special to ZDNet Asia
Tuesday, December 09, 2008 11:50 AM
Figuring out what changes occur to the Windows registry is difficult. This tip shows how you can do so in Windows NT by exporting to text files. It worked in 1999, and still works today.

The Windows Registry has been the bane of Windows users since Microsoft first introduced it with Windows 3.11.

The Registry stores all sorts of information about the hardware, software, and user configurations on the system for all modern Windows operating systems. Although it was a good idea to relieve the problem of multiple configuration files that plagued Windows 3.x, it has created its own set of problems.

Among the problems is the way that applications modify the registry and the results thereof. Applications don't just make one change to the registry. They can add, change, and delete dozens of keys at a time. These key changes can cause all sorts of unexpected things to happen.

But at the same time there's no easy way to tell exactly what changes are happening because the Registry doesn't track the changes that are made. That's where today's Classic Tip comes in.

From the TechMail archives
This tip comes from TechRepublic's Windows NT TechMail dated November 29, 1999:

DUMP REGISTRY TO TEXT FILES FOR TRACKING
Windows NT doesn't keep track of registry changes for you. So, if you really want to find out what's going on, you'll have to use some roundabout methods.

Our technique involves dumping the contents of the registry to a text file. Once you've done so, you can just install a new program and repeat the process. When you've got two text files, you can compare them for differences.

Open the Registry Editor by typing REGEDIT in the Run dialog box. When the Registry Editor opens, select Export Registry File from the Registry menu. You'll see the Export Registry File dialog box.

At this point, enter a path and filename for the text file. Next, select All in the Export Range section and click OK. (You shouldn't try to export the registry to a floppy disk because the text file can be several MB in size.) If you find a problem, you can also use the first text file to repair your computer if the new program causes problems–simply use the Import Registry File option.

As for comparing the two files, you can use any file compare utility that you want. We recommend using the WINDIFF utility from the Windows NT Resource Kit.

Fast forward to today
This tip works just as well for Windows Server 2003/2008 today as it did for Windows NT back then. The WinDiff utility no longer is a separate download from the Windows NT Resource Kit. Instead you'll find a copy of it in the SupportTools folder on your original Windows Server CD.

You can find out more information about it on Microsoft's Support Web site.



WORTHWHILE?

0

0 votes
Blog

Talkback 1 comments

Inctrl4
You can also use comparison based testing tools like Inctrl4 and Inctrl5
Posted by Milind on Friday, December 12 2008 12:17 PM


Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

Whitepapers/Case Studies

Downloads

Windows Server News



Tech Jobs Now!

Tags

  1. domain controller
  2. environment
  3. group policy
  4. hardware
  5. infrastructure / architecture management
  6. microsoft server 2003
  7. microsoft windows
  8. microsoft windows active directory
  9. microsoft windows powershell
  10. microsoft windows server
  11. microsoft windows server 2008
  12. network
  13. ohio
  14. rick vanover
  15. server
  16. server platforms
  17. servers
  18. storage
  19. tool
  20. virtualization