This page has been robot translated, sorry for typos if any. Original content here.

Tricks and tweaks Registry


Introduction In which we will deal with what we are dealing ...

As already mentioned in the announcement, you will not need any special programming skills, and all the necessary tools for this priesthood have already been provided to us by cantor Bill Gates .
In short, Registry is a regular database, with its own internal hierarchy, necessary for storing system settings. In other words, it is a substitute for INI files used by earlier versions of Windows .
You will need one of the 2 programs regedit.exe or regedt32.exe , do not think that the number 32 in the name is for beauty, we ourselves love beauty and grace, but in this case the difference is deeper. The fact is that the well-known Microsoft company does not want to follow the first part of its name Micro, and as a result, following the path of price discrimination in market segmentation, it stamped a fairly fair amount of operating systems:

Microsoft Windows 95/98 / Me
Microsoft Windows NT Workstation versions 3.51, 4.0
Microsoft Windows NT Server versions 3.51, 4.0
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server


This, of course, is not everything, but if you have something else worth it - you can safely stop reading this article further, our advice (or its equivalent) will not help you.
So, as long as the type of registry data being edited is different from REG_MULTI_SZ , regedit.exe works fine. Otherwise, prepare for the fact that this is a heavy legacy from Windows 95 , data like REG_MULTI_SZ will be edited incorrectly. By the way, if you find the program regedit32.exe in the directory where you installed your version of Windows , then you should know that this is the old version of regedit.exe , with all the ensuing consequences.
For completeness of the narration, it is necessary to say that the Registry itself is divided into several sections:

HKEY_CLASSES_ROOT - stores data about file extensions and determines the application to work with them.
HKEY_CURRENT_USER - stores data on the configuration of installed programs, their internal settings, as well as all settings defined by the user.
HKEY_LOCAL_MACHINE - all that relates to the hardware of the computer and drivers.
HKEY_USERS - section dedicated to all users of the OS, as well as their personal preferences.
HKEY_CURRENT_CONFIG is the current configuration of the computer.

Changes in the HKEY_LOCAL_MACHINE \ HARDWARE section are not saved after loading! This section is created every time.

Chapter 1. In which we take a closer look at regedit.exe .

Despite what has been said, in our opinion regedit.exe is more convenient than regedt32.exe . And if its use in the concrete case is incorrect, then this will be specifically mentioned.
Run regedit.exe :
Start (Start) -> Run (Run), enter the name of the program ie regedit , click OK (Enter).

1 - Current position in the hierarchical tree of the registry.
2 - If folders contain subfolders, then they are minimized [+] , no [-] .
3 - At the ends of the hierarchical branches and in their nodes, registry keys are contained, they may have different types of representations, but this does not matter to us.

It is as simple as moving between registry keys, as in Explorer . Now you should be clear what is meant if it says:

address: HKEY_CURRENT_USER \ Console , key: FontFamily , key value: 0 .

In addition to regedit.exe , you can also recommend the System Policy Editor included in the Windows98 package, a pretty cool System Mechanic , and of course Tweak UI . All this is not uncommon - look for FTP.

Chapter 2. In which, finally, we will begin to relax ...

Remember - incorrect changes can be fatal for all versions of Windows !!!
We strongly advise, before continuing reading this section, to save the System.dat and Users.dat files . If something goes wrong in the future, just rewrite them over the existing ones. These files are in the directory where you put Windows . Only to rewrite them, you need to boot into MS-DOS , and just in MS-DOS Session the operating system will not allow you to sacrifice like this! Or there is another way, export the branches before changing them. This feature in regedit.exe is provided in the File menu. Then merge the saved file with the existing, double click on it. By the way, if you don’t want a message about its success to pop up when merging the registry, unite so
regedit / s regfile.reg

If you use Windows NT , then think 7 times, and be careful, it will not be so easy to return the system to the rails. And think twice if it is a server .
Changes to many keys will be visible only after restarting Windows !!!

Registry Settings: Start (Start) => Run (Run) => regedit

Change the text in the header of an Internet Explorer window

Branch: HKEY_CURRENT_USER
Key: Software \ Microsoft \ Internet Explorer \ Main.
In the right pane, change the value of the "WindowTitle" parameter.

Create another name for My Computer

Branch: HKEY_CLASSES_ROOT
Key: CLSID \ {20D04FE0-3AEA-1069-A2D8-08002B30309D}
Date Type: REG_EXPAND_SZ (Expanded String Value). Rename the value "LocalizedString" to "LocalizedString.old". Create a new REG_EXPAND_SZ parameter and name it "LocalizedString", then set such value as: "% USERNAME% to% COMPUTERNAME%". Close the Registry Editor, click on the desktop and press F5 (refresh). My Computer icon will now be renamed to "Username on Computername".

Change information about Name and Company after installing Win XP

Branch: HKEY_LOCAL_MACHINE
Key: SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion
In the right pane, expand the RegisteredOrganization option. and set any value (the name of your organization).
To change the name of the registered owner, change the value of the RegisteredOwner parameter.
Alt + F4 and then F5.

Remove user name from Start Menu

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
Parameter: NoUserNameInStartMenu
Parameter type: REG_DWORD (DWORD Value)
Parameter value: (0 = display user name, 1 = hide user name)
Create a new DWORD parameter, or change an existing parameter named 'NoUserNameInStartMenu' and set the appropriate parameter value. Alt + F4, you may need to restart Windows to activate the changes.

Extract from the registry the registration number of the disk

Branch: HKEY_LOCAL_MACHINE Key: Software \ Microsoft \ Windows NT \ CurrentVersion
Parameter Name: ProductId
Type: REG_SZ
Meaning: from 6 to 15 characters this is the CD Key (it is better to record the entire number completely, just in case).

IE start page

Branch: HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Main
Parameter Name: Start Page
Type: REG_SZ
Value: URL

Change the location of the Favorites folder

Branch:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
Parameter Name: Favorites
Type: REG_EXPAND_SZ
Meaning: path (variables allowed)

Delete the label "arrow" that appears in the bottom left corner

Branch: HKEY_CLASSES_ROOT \ lnkfile. Remove the value of the IsShortcut parameter.
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \ piffile]. Restart.

Remove hints and tips for novice users who give XP

Branch: HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced
"EnableBalloonTips" = dword: 0

Prevent adding the word "label" for labels you create

Branch: HKEY_LOCAL_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer
"link" = hex: 00,00,00,00

Ability to change the wallpaper shown before any user logs in

Branch: HKEY_USERS \ .DEFAULT \ Control Panel \ Desktop
"Wallpaper" = "c: \ my_wallpaper.bmp"

Remove the basket from the table

Remove key
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Desktop \ NameSpace \ {645FF040-5081-101B-9F08-00AA002F954E}

So that the text under the My Computer icon includes the current username and computer name

Add the key: HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ CLSID \ {20D04FE0-3AEA-1069-A2D8-08002B30309D} and assign it a default value of the following "% USERNAME% on% COMPUTERNAME% in% USERDOMAIN%"

Enable Windows Media Player DVD Features

Branch: HKEY_CURRENT_USER \ Software \ Microsoft \ MediaPlayer \ Player \ Settings
"EnableDVDUI" = "Yes"

Change the title of the media player window

Branch: HKEY_CURRENT_USER \ Software \ Policies \ Microsoft \ WindowsMediaPlayer
"TitleBar" = "Your Title"

Instead of using Notepad.exe, use your program for viewing the source code of HTML pages using the "View - Source" command.

Add a registry key
HKLM \ SOFTWARE \ Microsoft \ Internet Explorer \ View Source Editor
Editor Name parameter
and give it a string value that includes the full file name.

Before each shutdown, your swap file will be cleared.

Branch: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Memory Management
"ClearPageFileAtShutdown" = dword: 1

If you copied the installation disk to the hard disk (HDD), you can change the installation path in the registry

Branch: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Setup
"SourcePath" = "D: \ your folder"

Cancel sending of reports on M $ in case of crash of any programs

To do this, change the values ​​of the two registry keys from 1 to 0:
Branch: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ PCHealth \ ErrorReporting
"DoReport" = dword: 0
"ShowUI" = dword: 0

Maintain desktop state

If you notice that Windows has stopped saving the location of icons on the desktop, check if the "NoSaveSettings" key appears in the branch
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer or
HKEY_USERS \ [Your profile] \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer

Name next to the system clock

If you want your name next to the system clock, then in the registry at
Branch: HKEY_CURRENT_USER \ Control panel \ International \
create 3 string parameters:
"s1159" with a value of "your name" (no more than 8 characters)
"s2359" with the value "the same as the first"
"sTimeFormat" with the value "HH: mm: ss tt"
The order should be followed!
Reboot and admire.
Comment: if done as described, the name next to the clock will appear not only on the panel in the lower left corner of the Desktop, but also in all programs that request system time, for example, in Outlook Express in the column "Sent" or "Received "=)

Creating new objects in the menu "File" => "Create"

Create empty files with the necessary extensions and place them in the "\ Windows \ ShellNew" folder. Run regedit.exe and go to the HKEY_CLASSES_ROOT key to find the desired file extension. Select it, click the right mouse button and add a new group, calling it "ShellNew".
In the right window of the editor, right-click on the background image and add a new string parameter.
Calling it "FileName", double-click on the icon in the "Edit Line" window and enter the name of an empty file that you placed in the folder "\ Windows \ ShellNew".
Close Registry Editor. All =)

Adding new "actions" to the "File" menu

Add, for example - WinRAR
In the registry - HKEY_CLASSES_ROOT \ * - create a new key:
HKEY_CLASSES_ROOT \ * \ shell \ open
Click on the right (Standart) and write: Add to & RAR
Then add one more key to HKEY_CLASSES_ROOT \ * \ shell \ open:
HKEY_CLASSES_ROOT \ * \ shell \ open \ command
on the right, enter the path: C: \ Program \ WinRAR \ winrar95.exe "% 1"

Context menu of folders and files

When you right-click on a file, a menu pops up, in which you can delete unnecessary parameters.
Branch - HKCR \ * \ shellex \ ContextMenuHandlers
here, the subsections are the same parameters - delete unnecessary ones
Commands for specific file types can be found in HKCR \ filename \ shell
For example, for an AVI file, this will be the HKCR \ avifile \ shell section
For the folder menu are responsible HKCR \ Directory \ shell and HKCR \ Folder \ shell

Remove components from the "control panel" \ "install and uninstall ..."

If you uninstall the program, but it still exists in the Control Panel \ Add and Remove Programs, and it is not possible to remove it from there, then proceed as follows:
1. Open the registry.
2. Find
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall
3. Find there a folder with an unnecessary program and delete it.

Automatic login to Windows (NT 4.0, XP)

Branch: HKEY_LOCAL_MACHINE \ Software \ Microsoft \ WinNT \ Current Version WinLogon:
AutoAdminLogon: REG_SZ: 1
DefaultUserName: Name
DefaultPassword: Password

How to remove past system tray icons

1. Remove IconStreams and PastIconsStream from the registry branch:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ TrayNotify
2. Open the Task Manager (Ctrl + Alt + Delete), in the Processes tab click on Explorer.exe and click End Process.
3. In the Task Manager, click File -> New Task, type explorer and then click OK.

Hiding disks from "My Computer"

HREY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
create a DWORD parameter - NoDrives. Set the following values ​​to hide the disks (values ​​in hexadecimal):
A: + B: = 3
C: = 4
D: = 8
E: = 10
F: = 20
A + B + C = 7
A + B + D = b
A + B + E = 13
A + B + F = 23
C + D = c
D + E = 18
etc.
Hide all icons = 0x03ffffff

The ban on startup (Windows 98 / ME / 2000 / XP)

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced
HKLMSoftware \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
Type - DWORD
To make the system ignore all autoloading from LOCAL MACHINE:
DisableLocalMachineRun - value 1
Single startup from LOCAL MACHINE RunOnce:
DisableLocalMachineRunOnce - value 1
User loading - CURRENT USER:
DisableCurrentUserRun - value 1
Single user loading - CURRENT USER Run Once:
DisableCurrentUserRunOnce - value 1

View of the window opened with "Save" / "Open"

You can register your folders on the left side of the dialog box for quick navigation:
Branch -HKCU \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ comdlg32
Create a partition - PlacesBar, where you can save folder names.
Ordinary folders of registration names can have 5 and they look like the first one is Place0, the second one is Place1, and the fifth one is Place4
The registry key for them has the form, for example - Place1 = "C: \ Windows \ Systems".
System folders have a DWORD registration type and are determined by the values:
Desktop - 00000000
My documents - 00000005
My drawings are 00000027
My videos are 0000000e
My computer is 00000011
Favorites - 00000006
My Network Places - 00000012
Fonts - 00000014
History - 00000022

Menu display speed

Branch - HKEY_CURRENT_USER \ Control Panel \ Desktop
Parameter - MenuShowDelay
The smaller the number, the faster the menu will appear (0 is the highest speed, i.e. without any delays)
+ Cut down the arrow - "Start work by pressing this button !!!".

Let us discard the fact that we will pick up the arrow that appears regularly after booting Windows . So annoying - "Start by pressing this button !!!"
We do it like this:
at HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
the key of NoStartBanner lives, its values ​​are 00 00 00 00 - to kill the arrow, 01 00 00 00 - to switch it back on if you miss it. And as they say do not stand under the arrow!

+ Delete Cart \ Recycle Bin from the desktop.

Continuing to unload our desktop , remove the Recycle Bin from it: it lives in the key HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \ CLSID \ {645FF040-5081-101B-9F08--00AA002F954E} .
Instead of deleting the same place, you can rename it to something else - "Storage of my photos . "

+ Assign your background to the IE toolbar

Now assign your background to the IE toolbar.
key HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Toolbar Create a string parameter "BackBitmap" in it we specify the path to the BMP . (let's say "C: \ vremia_dengi.bmp ").

+ Replace IE Header - Microsoft Internet Explorer

We are looking for the key HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ Main
Create a string parameter "Window Title" , and its value is the new title, or you can leave it blank.

+ Replace Outlook Express 5.0 Header - Outlook Express

We are looking for the key HKEY_CURRENT_USER \ Identities \ {EF68F100-9CB6-11D4-97C3-AA89954B582B} \ Software \ Microsoft \ Outlook Express \ 5.0
Create a string parameter "Window Title" , and its value is the new title, or you can leave it blank.

+ Let's beat the animation windows Windows

HKEY_CURRENT_USER \ Control Panel \ Desktop \ Window Metrics
Create a MinAnimate parameter with a value of 0.

+ Remove item from the Add / Remove Programs menu.

If you erased the program from a disk without uninstal, then the section will help you to remove it from the Add / Remove Programs .
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \,
in which find the key = Name of the program and delete it.

+ Make the appearance of network folders normal.

If you nazanchit folder network, then under it appears palm, if necessary, you can bypass this inconvenience, if you delete the key
HKEY_CLASSES_ROOT \ Network \ SharingHandler .

+ Add a small text to the system clock.

Suppose you have a strong desire to remind yourself (a friend) of the frailty of all living things. In the section HKEY_CURRENT_USER \ Control panel \ International
You need to create (if they are not) 3 string parameters:
"s1159" with the value "LIFECOUNT" ( up to 8 characters ),
"s2359" is the same as before,
"sTimeFormat" with the value "HH: mm: ss tt ".

+ Screen resolution is different from the standard.

change here HKEY_LOCAL_MACHINE \ Config \ 0001 \ Display \ Settings \ Resolution
looks good 300x300 .

+ Allow ip forwarding between networks.

change here HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Tcpip \ Parameters
IPEnableRouter value is replaced by 1.

+ Change access parameters (Polici).

DWORD = 1 - set a ban, = 0 - removes the ban. at HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer

"NoRun" - Forbids the Run command
"NoDesktop" - Removes all icons from the desktop
"NoClose" - Forbids shutdown
"NoCommonGroups" - removes the "Standard Programs" group from the Start menu.
"NoSaveSettings" - Forbids saving settings on the output
"DisableRegistryTools" - Prevent editing registry
"NoInternetIcon" - Removes the Internet icon from the desktop
"RestrictRun" - if set to 1 , only launch of programs specified in the key will be allowed
"HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \ RestrictRun"
at HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ WinOldApp

"Disabled" - Disable MS-DOS Prompt
"NoRealMode" - Banning Single-Mode MS-DOS

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Network
"NoNetSetupSecurityPage" - Hide Network Security Page
"NoNetSetup" - Ban Network Control Panel
"NoNetSetupIDPage" - Hides Identification Page
"NoNetSetupSecurityPage" - Hides Access Control Page
"NoFileSharingControl" - Banning File Sharing Controls

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System
Parameter: DisableTaskMgr - disable Task Manager (NT)
Value: ( 0 = disabled, 1 = enabled )

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ LanmanServer \ Parameters
Parameter: Hidden - Remove the server from the general "Viewer"
Value: ( 0 = disabled, 1 = enabled )

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Network
Parameter: NoWorkgroupContents - hide the contents of the workgroup in the Network Environment
Value: ( 0 = disabled, 1 = enabled )

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Network
Parameter: NoEntireNetwork - Remove the whole network icon
Value: ( 0 = disabled, 1 = enabled )

+ Kill autorun CD-ROM

Autostart your CD-ROM, lives at
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ CDRom
Autorun key 0 - no autorun, 1 - there is.

+ Disable the display of the Favorites menu in Start.

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
in the key of the NoF FavoritesMenu, replace 1 with 0.

+ Disable the display of the Documents menu in Start.

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
in the key NoRecentDocsMenu replace 1 with 0.

+ We will put on the middle mouse button a double click.

the address is HKEY_LOCAL_MACHINE \ SOFTWARE \ Logitech \ MouseWare \ CurrentVersion \ SerialV \ key is DoubleClick , the value is 001 .

+ Changing Windows personal data (password, name, place of work).

the address is HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion,
then we proceed according to the logic of things.

+ Ban on shutting down the computer.

Address - HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
parameter NoClose
Value: ( 0 = allow shutdown, 1 = block shutdown )