Home > Articles

Editing with Regedit

Navigating Regedit

Figure 3.2 shows what Regedit looks like on your desktop. You see its menu bar across the top of the window and its status bar across the bottom. The status bar displays the fully qualified name of the selected subkey. You're familiar with most of the items you see in the program's window because you know how to use Windows Explorer. You can certainly use Regedit with its default window size, but maximizing the window makes viewing subkeys and values much easier.

Figure 3.2 Navigating Regedit's window is much like navigating folders and files in Windows Explorer.

Within the window, you see two panes, which Regedit separates with a divider that you can drag to change the size of both. The left pane is the key pane and contains the Registry's hierarchy. The right pane is the value pane, and it contains the values in the selected subkey. In the key pane, click a subkey and then Regedit displays its values in the value pane. Drag the divider to the left to make the key pane smaller and the value pane larger, or drag it to the right to make the key pane larger and value pane smaller. I prefer a larger key pane so that I can easily see the Registry's hierarchy. The following sections describe each pane in more detail.

TIP

If the key pane isn't big enough to see the subkey's fully qualified name, look at its full name in the status bar. To copy to the Clipboard the subkey's fully qualified name, click Copy Key Name on its shortcut menu.

Key Pane

The key pane shows the organization of the Registry—its hierarchy. Regedit displays subkeys immediately under their parent keys and indents them to show their parent-child relationship. It looks similar to an upside-down tree or an outline. Even though Windows 2000 stores the Registry in separate hive files, Regedit displays the entire Registry as one logical unit. When you update a subkey in Regedit, the operating system automatically updates the appropriate hive file. Changes to HKU are in users' hive files, UserProfile\Ntuser.dat, and changes to HKLM are in the appropriate per-computer hive file, SystemRoot\System32\config. For more about hive files, see Chapter 1.

The first item in the key pane is My Computer. Its children are the root keys in the local computer's Registry, and Regedit represents them as folders. Each root key contains subkeys, which Regedit also represents as folders. Click plus signs (+) to expand subkeys, or click minus signs (-) to collapse subkeys. If you'd rather use the keyboard to explore the Registry, use the shortcuts listed in Table 3.1 to move around Regedit. These keyboard shortcuts are often the quickest way to navigate because using Regedit can be a mouse-intensive activity that's likely to wear out your wrist. Collapse an entire branch by pressing the left-arrow key, for example, and press the left-arrow key again to select the parent key.

Table 3.1  Keyboard Shortcuts

Key

Description

Searching

 

Ctrl+F

Opens the Find dialog box

F3

Repeats the previous search

Miscellaneous

 

Delete

Deletes the selected subkey or value

F1

Displays Registry Editor Help

F2

Renames the selected subkey or value

F5

Refreshes the key and value panes

F10

Opens the main menu of Regedit

Shift+F10

Displays the shortcut menu (right-click) for the selected subkey or value

Alt+F4

Closes Regedit

Navigation

 

Keypad +

Expands the selected subkey's children

Keypad -

Collapses the selected subkey's children

Keypad *

Expands all the selected subkey's children

Up-arrow

Selects the previous subkey

Down-arrow

Selects the next subkey

Right-arrow

Expands the selected subkey if collapsed; otherwise, selects its first child

Left-arrow

Collapses the selected subkey if expanded; otherwise, selects the subkey's parent

Home

Selects the key pane's topmost subkey

End

Selects the key pane's bottommost subkey

Page Up

Moves up one page in the key pane

Page Down

Moves down one page in the key pane

F6

Toggles between the key and value panes

Tab

Toggles between the key and value panes


Regedit has one feature that makes navigating much quicker, particularly in subkeys with a lot of children or values. In the key pane, begin typing the name of a subkey. Regedit selects the first open subkey that matches the characters you've typed. It won't match subkeys that are hidden beneath others, however; it just matches subkeys that are visible in the key pane. For example, open HKCR, type .ba, and Regedit selects the first matching subkey, HKCR\.bat. You mustn't dawdle; pause too long and Regedit assumes you're starting over. This feature is an incremental search, and it works equally well in the value pane of Regedit. In a long list of values, you can press the down-arrow key as many times as it takes to get to a value, mouse around the scrollbars, or press one or two letters—take your pick.

Value Pane

The value pane shows the selected subkey's values. Each row is a single value. The Name column contains each value's name, the Type column contains each value's type, and the Data column contains each value's data. Regedit usually but not always presents data in a format suitable to the value's type. Resize columns by dragging the dividers between them left and right. To see more of each value's name and data, for example, drag the divider between the Type and Data columns to the left so that the Type column disappears. To restore the Type column, drag the same divider to the right.

Regedit supports editing only REG_BINARY, REG_DWORD, and REG_SZ values. Try editing any other type of value, and it opens the value in the Edit Binary Value dialog box. In this particular arena, Microsoft made a big mess. The Type column is new. Earlier versions of Regedit didn't have it, so users relied on the icons shown in Table 3.2 to determine values' types. Beside the names of REG_SZ values, Regedit displayed the icon shown in the first row of Table 3.2. Beside the names of all other values, it displayed the icon in the second row. Users knew that Regedit supported only the big three, so they expected to edit values other than REG_DWORD and REG_SZ using the Edit Binary Value dialog box. Now, the Type column shows the names of all the types that the Registry supports. This leads users to believe they can edit values such as REG_FULL_RESOURCE_DESCRIPTOR and REG_MULTI_SZ in Regedit, but they can't. To make matters more confusing, Regedit displays the icon shown in the first row of Table 3.2 next to REG_MULTI_SZ values, but it opens them in the Edit Binary Value dialog box. Give me a break!

Table 3.2  Icons in the Value Pane

Icon

Description

 

String values (REG_SZ, REG_MULTI_SZ, and so on)

 

Binary values (REG_DWORD, REG_BINARY, and so on)


The first value in the value pane is always (Default). It's the selected subkey's default REG_SZ value that you learned about in Chapter 1. All subkeys have it, whether it contains data or not, but some subkeys don't contain additional values. Including the default value, each subkey can have one or more values that have names, types, and data. To edit any value, double-click its name in the value pane or, on the Edit menu, click Modify. Note too that you can choose a variety of commands from each value's shortcut menu.

TIP

Regedit gets confused. Columns sometimes disappear and you can't restore them through the user interface. You must restore them by removing the program's configuration from the Registry. To do so, close Regedit and use Regedt32 to remove HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\ Registry from the Registry. You must use Regedt32 to remove this subkey because Regedit saves its configuration each time you close it.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020