Removing different entries from Windows registry

an article added by: Don Jefferson at 06212007


In: Categories » Computers and technology » Windows Vista » Removing different entries from Windows registry

Removing Spyware

Spyware is malicious software that installs itself automatically without your consent and monitors your actions, either to learn what you do for example, to find out which websites you visit and send lists of them back to base or to try to glean sensitive information such as passwords or credit card numbers. You can remove much spyware by using tools such as Spybot Search&Destroy http://www.safer-networking.org/en/index.html , but you may have to remove determined pieces of spyware manually. Many pieces of spyware install themselves in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows\CurrentVersion\Run key, so this is a good place to look for spyware. After deleting the entries and using Windows Explorer to delete any matching executable files that are the actual spyware, you’ll need to restart Windows - and then check that the spyware hasn’t managed to reinstall the Registry entry by using another trick. If it has, search for instructions online on how to remove the spyware.

Changing Your Windows Name and Organization

If you misspelled your name or your organization’s name during setup, or if you’ve bought a computer loaded with Windows from someone else, you may need to change the name or organization that appears on the General page of the System Properties dialog box. There’s no way to make this change through the Windows user interface, but by navigating to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ key and changing the RegisteredOwner and RegisteredOrganization value entries, you can fix the problem in a minute or two.

Changing Your \Program Files\ Folder

If you want to prevent a Windows installation routine from installing a program to your \Program Files\folder for example, because you’re running out of space on the drive that contains the folder, change the location of your \Program Files\ folder by navigating to the HKEY_ LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersionsubkey and changing the ProgramFilesDir value entry to the appropriate drive and folder. Restart your computer to make the change take effect, and then run the installation routine to install the program there. Change the ProgramFilesDir value entry back again to its normal value if you want to install future programs in the \Program Files\ folder.

Change the Name for a Removable Drive

When you insert a media item such as a CD, DVD, or CompactFlash card in a removable drive, Windows displays the item’s name. But when there’s no media item in a removable drive, Windows displays the drive’s default name. If you have many removable drives attached to your computer, telling one from the other can be hard when they’re empty. To change the default name for a removable drive, navigate to the HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer key and create a new key named DriveIcons within it. Within the DriveIcons key, create a new key with the drive’s name - for example, E. Within this new key, create a new key named DefaultLabel. Double-click the Default value entry, type the name you want Explorer to display for the drive when it’s empty, and press Enter. You may need to restart Windows to make Explorer notice the change.

Clearing the Paging File at Shutdown

If you’re concerned about your system’s security - well, you ought really to be using Windows Professional rather than Windows Home. But here’s a technique that you can use with both OSes to clear the paging file when you shut down Windows. Article 15 discusses the paging file in detail; but briefly, it’s a huge file on your hard disk that Windows uses to store information temporarily so as to spare physical memory RAM. So the paging file can contain sensitive information that a malicious hacker or a federal agency could recover. To clear the paging file when you shut down Windows, navigate to the HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\SessionManager\MemoryManagementkey and change the value of the value entry ClearPageFileAtShutdown to 1. Then restart your computer.

For Testing Only: Crashing Your Computer on Cue

Most people want their computer to crash seldom or preferably never. But if you want to test what happens when it crashes for example, to see how memory dumping works, you’ll be relieved to know that you don’t have to wait for Windows to crash: Windows includes a built-in way of crashing itself. You just have to add the right Registry entry, set the appropriate value, and then press a couple of keys.

Here’s what to do:

1. Back up your Registry. Yes, really back it up this time.

2. Open Registry Editor for example, choose Start Run, enter regedit, and press the Enter key.

3. Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\ Parameters\ key.

4. Right-click in the right pane and choose New DWORD Value from the context menu. Registry Editor creates a new value called New Value #1 and displays an edit box around the new value’s name.

5. Enter the name CrashOnCtrlScroll and press the Enter key.

6. Double-click the CrashOnCtrlScroll value. Registry Editor displays the Edit DWORD Value dialog box.

7. Enter 1 in the Value Data text box. In the Base group box, leave the Hexadecimal option button selected.

8. Click the OK button. Registry Editor closes the Edit DWORD Value dialog box.

9. Close Registry Editor.

10. Restart your computer and log back on.

11. Hold down the Ctrl key on the right side of the keyboard and press the Scroll Lock key twice. Windows goes down as if sandbagged, and any memory dumping you’ve set occurs.

Using Registry Favorites to Quickly Access Keys

If you find yourself using the Registry a lot, there’s another feature you should know about: Registry favorites. To access the keys you need to work with frequently, you can create favorites in Registry Editor much as you can in Explorer and Internet

Explorer. To create a favorite, follow these steps:

1. Select the key to which you want the favorite to refer.

2. Choose Favorites Add to Favorites. Registry Editor displays the Add to Favorites dialog box shown here.

3. In the Favorite Name text box, enter the name for the favorite. By default, Registry Editor suggests the key name, but you may well want to change this to more descriptive text.

4. Click the OK button. Registry Editor adds the favorite to your Favorites menu. To access a favorite, display the Favorites menu and choose the favorite from the list, as shown here.

To remove a favorite from the Favorites menu, choose Favorites Remove Favorite. Windows displays the Remove Favorites dialog box, shown here. Choose the favorite in the Select Favorite list box or select multiple favorites if you want to delete them, and then click the OK button.

Understand what the Registry is, what it’s for, and why you may need to work with it The Registry is a hierarchical database of all the settings for all the hardware, software, and users on your computer. Normally, you change the Registry only by working through the Windows user interface - for example, by making a change in Control Panel, or by installing hardware or software. But sometimes you may need to edit the Registry directly to solve a problem or implement a tweak.

Back up your Registry and learn how to restore it Before you edit the Registry, you should back it up in case your changes cause trouble. Launch Registry Editor by pressing Windows Key+R, typing regedit, and pressing Enter. Back up the Registry by clicking the Computer item, choosing File Export, and specifying the filename and folder. Restore the Registry by choosing File Import, selecting the backup file, and clicking the Open button. To repair severe damage, you may need to restart or start your computer, press F8, and select Last Known Good Configuration from the Windows Advanced Options menu.

Navigate the Registry and create, edit, and delete keys and value entries To navigate the Registry, expand the subtree and the keys it contains just as you would the folder listing in an Explorer window. You can also choose Edit Find and use the Find dialog box to find a key or data. To create a key, right-click the key that will contain the new key, choose New Key from the shortcut menu, type the name, and then press Enter. To create a new value entry, right-click the key that will contain it, choose New from the shortcut menu, and then choose the data type from the submenu. Type the name for the value entry, and then press Enter to apply the name. Double-click the value entry to open a dialog box for setting its value. To delete a key or value entry, right-click it and choose Delete from the shortcut menu.

Understand the Registry data types and what they contain Most of the Registry data consists of five data types: String text data, Binary binary values, DWORD double-word values, MultiStrings multiple pieces of text, and Expandable String text whose length can expand.

Make changes to the Registry Books, magazines, and above all websites will shower you with advice on changes you can make to the Registry. Evaluate any change carefully before you make it, because it might destabilize Windows, and always keep a recent backup of your Registry for recovery. You may need to restart Windows to make some changes take effect.

Use Registry favorites to store and access the keys you need most Registry favorites help you navigate quickly to keys you need to change. Choose Favorites Add to Favorites to add the current key to the list at the bottom of the Favorites menu. To go to a favorite, open the Favorites menu and select the favorite from the list. To delete a favorite, choose Favorites Remove Favorites, and then work in the Remove Favorites dialog box.

legal notice

Our website is not responsible for the information contained by this article. Web-articles is a free articles resource.
Suggestion: If you need fresh, daily updated content for your website, feel free to use our service. Click here for more information.

Useful tools and features

link to this article    
If you like this article (tutorial), please link to it from your web page using the information above.

related articles

1. Aero and Windows Vista
The Value of Vista We waited more than five years for Vista. As you may recall, Windows XP was released with much fanfare in October 2001. But instead of the next Windows version shipping in just a couple of years, as originally expected, Microsoft lost its way in the development process. Vista didn’t make it to consumers until early 2007. Was it worth the wait? The short answer is, “Yes.” We believe Vista is a major advance on Microsoft’s previous operating s...

2. Windows Vista Put Some Gadgets in Your Windows Sidebar
Apple users have long been able to take advantage of the Mac OS X Dashboard, and Windows users have been able to download Yahoo Widgets (formerly Konfabulator Widgets). Those things are still available, but now Vista has its own little tools, known as gadgets. Vista gadgets live in the new Windows Sidebar which you can move to the left or right side of the screen by right-clicking it and selecting Properties. Or you can put Gadgets on your Desktop by dragging the little context menu that appears when you hover ...

3. Support for RSS News Feeds in Windows Vista
IE 7.0 includes an easy way to subscribe to news feeds, regularly updated information that sites publish in the format known as Really Simple Syndication (RSS). When a surfer visits a site that publishes one or more news feeds, a square broadcast icon on IE 7’s toolbar changes from grey to orange. Clicking the icon takes you to a page that explains the content of a feed and provides a clickable link that subscribes you. This is a big improvement over previous news feed buttons in other browsers, which formerly ...

4. Thinking of Cheating at Solitaire in Windows Vista
Unfortunately, Vista new Solitaire code seems to have broken one way that neerdowells have cheated at the game for years. This scandalous behavior was first revealed in Windows 3 s all the way back in 1991. As that article explained it, you could click Game - Undo when playing a Draw Three game, and the last three cards you turned over from the deck would go back on the pile. If you then held down the Shift key while clicking the deck, only one card at a time would turn over, allowing you to ...

5. A Quick Overview of All the Versions of Windows Vista
It seems like Windows Vista has a lot more versions than Microsoft has ever offered before. But that isn’t quite true. The Redmond company years ago split Windows XP into almost as many versions as we have today with Vista. You may occasionally hear Vista’s versions referred to as SKUs. This term stands for Stock Keeping Unit. We’ll use the more common terms version and product version throughout this article instead. Here’s a review of the major Windows XP versions (rough...

6. Taking Advantage of Your Ability to Upgrade to Windows Vista
Windows Anytime Upgrade Unlike previous versions of Windows, Vista installs itself with the capability to upgrade from a weaker version to a more-capable version at any time. You simply run the Anytime Upgrade applet, select a source to purchase an upgrade license from, and your PC is quickly enhanced with the more powerful version you’ve selected. _ Vista Home Basic can be upgraded in this way to Home Premium or Ultimate. _ Vista Home Premium and ...

7. Deploying Windows Vista: A Power User`s Toolkit
If you’re an enterprise administrator faced with the prospect of rolling out Windows Vista to hundreds or thousands of desktops around the world, take heart: Microsoft has finally upgraded its deployment tools in dramatic fashion, taking advantage of the componentized architecture of Windows Vista. But these deployment tools aren’t just advantageous to the world’s biggest corporations. If you’re a power user, a tinkerer, or someone who ends up having to reinstall Windows fairly regularly, you mi...

8. What`s New in the Windows Vista User Interface
Gazing upon Windows Vista for the first time, you will immediately be struck by how different everything looks when compared to older Windows versions such as Windows XP and Windows 2000. Now, windows are translucent and glass-like, with subtle animations and visual cues. This new interface leaves no doubt: Windows Vista is a major new Windows version, with much to learn and explore. In this article, we’ll examine the new Windows Vista user interface, called Aero, and explain what you need to ...

9. Windows Vista Aero requirements
As noted earlier, you have to be running an activated version of Vista Home Premium, Business, Enterprise, or Ultimate Edition in order to utilize Windows Vista Aero. Here, activated refers to the Product Activation feature that’s included in Windows Vista, whereby each Windows Vista installation is guaranteed, via a service called Windows Genuine Advantage, to be legitimate and not pirated. Most copies of Windows Vista that are preinstalled on new PCs come pre-activated, so this is a step that many users...