IT tutorials
 
Windows
 

Windows 7 : Editing the Registry - Using Regedit (part 1) - Viewing the Registry

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/7/2013 7:33:10 PM

Most people never need to edit the Registry by hand because most Registry keys are set by the software that uses them. However, you might need to edit the Registry by hand if you’re directed by a technical support person who’s helping you fix a problem, or when you’re following a published procedure to make an adjustment for which there is no Control Panel setting.

In the latter case, before going any further, I need to say this one last time, to make it absolutely clear: Unless you’re quite certain that you can’t make a mistake, back up the Registry (or at least the section you want to change) before making any changes.

The next few sections cover the basics of the Registry Editor.

Viewing the Registry

The Registry Editor doesn’t have a Start menu item. The easiest way to run it is to type regedit into the Search field on the Start menu. When regedit appears in the results pane under Programs, take one of the following actions, depending on your needs:

  • If you are logged on as an Administrator, press Enter or click regedit. When the User Account Control dialog box appears, click Continue. The Registry Editor will run with full elevated privileges.

  • If you are not logged on as an Administrator but need to change settings in only the HKEY_CURRENT_USER section of the Registry, press Enter or click regedit. The Registry Editor will run with reduced privileges, and you will not be able to change systemwide settings.

  • If you are not logged on as an Administrator but need to change systemwide settings in HKEY_LOCAL_MACHINE, right-click regedit and select Run as Administrator. Enter an Administrator account’s username and password. The Registry Editor will then run with full elevated privileges.

Note

The reason for these complicated variations is that malicious programs and email attachments can easily abuse the Registry Editor, so it’s subject to UAC restrictions. The Registry Editor must be running in elevated mode to modify Registry keys that are secured to be changeable only by the Administrator. By the way, there is no indication in the Registry Editor’s title bar to tell whether it’s running with elevated privileges—you just have to remember.


Regedit displays a two-pane display much like Windows Explorer, as shown in Figure 1. The top-level keys, which are listed below Computer, can be expanded just like drives and folders in Explorer. In the pane on the right are the values for each key. The name of the currently selected key appears in the status bar.

Figure 1. The Regedit screen shows keys on the left and values on the right.

Values have names, just as the files in a folder do, and it’s in the values that configuration information is finally stored. Each key has a (Default) value, which is the value of the key itself, and any number of named values. For example, Figure 28.1 shows the key HKEY_CURRENT_USER\Control Panel\Desktop. The value of HKEY_CURRENT_USER\Control Panel\Desktop itself is undefined (blank), and the value HKEY_CURRENT_USER\Control Panel\Desktop\DragFullWindows is 1.

Registry values have a data type, which is usually one of the types shown in Table 1. The Registry Editor display lists values by their technical names.

Table 1. Data Types Supported by Regedit
Technical Name“Friendly” NameDescription
REG_SZString valueTextual information, a simple string of letters.
REG_BINARYBinary valueBinary data, displayed as an arbitrary number of hexadecimal digits.
REG_DWORDDWORD (32-bit) valueA single number displayed in hexadecimal or decimal.
REG_QWORDQWORD (64-bit) valueA single number displayed in hexadecimal or decimal. QWORD values are used primarily by 64-bit Windows applications.
REG_MULTI_SZMultistring valueA string that can contain more than one line of text.
REG_EXPAND_SZExpandable string valueText that can contain environment variables (such as %TEMP%).

Other data types, such as REG_DWORD_BIG_ENDIAN and REG_RESOURCE_LIST, exist, but they are obscure and rare and can’t be edited with Regedit.

Note

When I search the Registry, most of the time, I check all the Look At boxes but not Match Whole String Only.


Searching in the Registry

You can search for a Registry entry by key name, value name, or the contents of a value string. First, select a starting point for the search in the left pane. You can select Computer to select the entire Registry, or you can limit your search to one of the top-level keys or any subordinate key. Next, select Edit, Find from the menu and enter a search string in the Find dialog box. The Find feature is not case sensitive, so it doesn’t matter whether you use upper- or lowercase letters. You can check any of the Look At boxes to designate where in the Registry you expect to find the desired text: in the name of a key, in the name of a value, or in the data, the value itself.

Tip

The search function has two limitations:

  • You can’t enter a backslash (\) in the search string when looking for a key or value name; Regedit won’t complain, but it won’t find anything, either.

  • You can’t search for the initial HKEY_xxx part of a key name. That’s not actually part of the name; it’s just the section of the Registry in which the key resides.

For example, to find a key named HKEY_CLASSES_ROOT\MIDFile\shell\Play\Command, you can’t type all that in and have Find jump right to the key. If you already know the full pathname of a key, use the left pane of Regedit to browse for the key directly.


Check Match Whole String Only to search only for items whose whole name or value is the desired string.

Click Find Next to start the search. The Regedit display indicates the first match to your string; by pressing F3, you can repeat the search to look for other instances.

 
Others
 
- Windows Server 2008 : Basic Rules When Using the Command Prompt - Understanding Paths, Using Basic Commands, Redirecting Output to Files
- Windows Server 2008 : Basic Rules When Using the Command Prompt - Understanding Wildcards, Getting Help
- Windows Small Business Server 2011 : Windows Storage Server 2008 R2 Essentials (part 2) - Connecting to Windows Storage Server 2008 R2 Essentials
- Windows Small Business Server 2011 : Windows Storage Server 2008 R2 Essentials (part 1) - Connecting Windows Storage Server Essentials to the SBS Domain
- Windows Small Business Server 2011 : Using the Command Line to Manage Backups
- Windows 8 : Security - Securing Internet Explorer
- Windows 8 : Security - Encrypting File System
- Windows 8 : Security - BitLocker Drive Encryption
- Windows Vista : Deployment Platform - Basic Deployment Process, BDD 2007 Deployment Process
- Windows Vista : Platform Components (part 2) - Windows Setup, Sysprep, Windows PE, Windows DS, ImageX
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us