On last.fm: Listen to Jonas Brothers Full Tracks

Searching the registry from a command line in Windows 2000 Professional

Tags: Microsoft Windows, Jim Boyce, registry, Regfind.exe, Microsoft Windows 2000, Microsoft Windows 2000 Professional, Windows 2000 Professional Tips Newsletter

  • Save
  • Print
  • Digg This
  • 4

Takeaway: Jim Boyce shows us a command-line registry search alternative that will save you time and effort when working with Windows 2000 Professional.

If you work with the registry at all, it is likely that you have spent some time searching through the registry in Registry Editor, looking for keys or values. The registry can contain thousands of elements, so finding the one you seek can be time-consuming.

If you are looking for a command-line alternative to registry search, whether as an alternative to Registry Editor or to integrate in batch files or scripts, the Windows 2000 Resource Kit has a solution for you.

The Regfind.exe tool enables you to search the registry data, key names, or value names on the local or a remote computer. Regfind.exe supports numerous arguments to help you refine the registry search, such to search for specific types of values or malformed REG_SZ and REG_EXPAND_SZ values.

Besides providing search capability, Regfind.exe also enables you to replace values in the registry. This capability can be particularly useful for replacing multiple instances of a value located in different subkeys. It is a good idea to perform a search in the registry first, without using the replace argument to identify what Regfind.exe will change. Also, it is recommended that you back up the pertinent parts of the registry by exporting the key or subkey to a registry script file.

Miss a column?

Check out the Windows 2000 Professional archive, and catch up on the most recent editions of Jim Boyce's column.

Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!

  • Save
  • Print
  • Digg This
  • 4

Print/View all Posts Comments on this article

Technical Assignment solutionRKoverov@...  | 02/07/06
Manual Removal fo Anti-virusBob.Roy  | 02/08/06
Scripts for registry hackingtclguru@...  | 02/09/06

What do you think?

Article Categories

Security
Security Solutions, IT Locksmith
Networking and Communications
E-mail Administration NetNote, Cisco Routers and Switches
CIO and IT Management
Project Management, CIO Issues, Strategies that Scale
Desktops, Laptops & OS
Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
Data Management
Oracle, SQL Server
Servers
Windows NT, Linux NetNote, Windows Server 2003
Career Development
Geek Trivia
Software/Web Development
Web Development Zone, Visual Basic, .NET
advertisement
Click Here