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

Tricks and tweaks of the Register


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

As already stated in the Announcement, you will not need any special programming skills, and all the necessary tools for this sacramental action are already provided to us by Bill Gates' cantor .
In short, Registry is a regular database, with its internal hierarchy, which is necessary for storing system settings. In other words, this is a substitute for INI files used by earlier versions of Windows .
You will need one of 2 programs regedit.exe or regedt32.exe , do not think that the figure 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 all the well-known company Microsoft , does not want to follow the first part of its name Micro, and as a result, following the path of price discrimination in the market segmentation, it has quite a number of operating modes:

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 all, but if you have something else - you can safely stop reading this article further, your registry (or its analog) our advice will not help.
So, as long as the type of editable registry data 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 of the type REG_MULTI_SZ will not be edited correctly. By the way, if you find in the directory where you put your version of Windows , the program regedit32.exe , then you know - this is the old version of regedit.exe , with all the ensuing consequences.
For completeness of the narrative, it must be said that the Registry itself is divided into several sections:

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

Changes in the HKEY_LOCAL_MACHINE \ HARDWARE section do not freeze after downloading! This section is created each time anew.

Chapter 1. In which we will become more familiar with regedit.exe .

Despite what has been said, in our opinion regedit.exe is more convenient than regedt32.exe . And if its use in a specific 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 the folders contain subfolders, then they are in the minimized state [+] , no [-] .
3 - At the end of the hierarchical branches and at their nodes, there are registry keys , they can have different types of representation, but this is unimportant for us.

Between sections of the registry, moving around is as simple as in Explorer . Now you should understand what is meant if it says:

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

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

Chapter 2. In which, at last, we will begin to relax ...

Remember - incorrect changes made, can be fatal for Windows of all versions !!!
We strongly recommend that you save the System.dat and Users.dat files before continuing to read this section. If something goes crooked in the future, then simply overwrite them over the existing ones. These files are in the directory where you put Windows . Only to overwrite them, you need to boot into MS-DOS , and just in the MS-DOS Session, the OS does not allow you to so blasphemous! Or there is another way, export the branches before changing them. This option in regedit.exe is provided in the File menu. Then unite the saved file with the existing one, double click on it. By the way, if you do not want that when the registry is unified, a message pops up about its successful implementation,
regedit / s regfile.reg

If you use Windows NT , then think 7 times, and be neat, returning the system to the rails will not be so easy. And think triple if it's a server .
Changes to many keys will only be visible after a Windows restart !!!

Registry settings: Start => Run => regedit

Change the text in the title bar of Internet Explorer

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}
Type of date: REG_EXPAND_SZ (Expanded String Value). Rename the value of "LocalizedString" to "LocalizedString.old". Create a new REG_EXPAND_SZ parameter and name it "LocalizedString", then set this value to "% 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 the Name and Company information after installing Win XP

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

Delete the user name from the 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 the existing parameter named 'NoUserNameInStartMenu' and set the corresponding parameter value. Alt + F4, you may need to reboot Windows to activate the changes.

Extract the registration number of the disk from the registry

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 (better write down the entire number completely, just in case).

Start page for IE

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
Value: path (variables are allowed)

Delete the "arrow" of the shortcut that appears in the lower left corner

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

Remove pop-up hints and tips for novice users who give XP

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

Prevent the addition of the word "Shortcut" to the shortcuts that you create

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

The ability to change the wallpaper shown before any user logs on to the system

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

Remove the basket from the table

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

For the text under the "My Computer" icon to include the current user name and computer name

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

Enable the DVD capabilities of Windows Media Player

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

Edit the title of the media player window

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

Use instead of Notepad.exe to view the source code of HTML pages on the command "View-Source" your program

Add a key to the registry
HKLM \ SOFTWARE \ Microsoft \ Internet Explorer \ View Source Editor
parameter Editor Name
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 have copied the installation disk to the hard disk (HDD), then you can change the installation path in the registry

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

To cancel sending of reports on M $ at 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

Saving the state of the desktop

If you notice that Windows has stopped saving the location of the icons on the desktop, check to see if the "NoSaveSettings" key appeared 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 to be next to the system clock, then in the registry at
Branch: HKEY_CURRENT_USER \ Control panel \ International \
create 3 string parameters:
"s1159" with the value "Your name" (no more than 8 characters)
"s2359" with the value "same as in the first"
"sTimeFormat" with the value "HH: mm: ss tt"
The order should be observed!
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 in all programs that request system time, for example, in Outlook Express in the "Sent" or "Received" "=)

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

Create empty files with the required extensions and place them in the folder "\ Windows \ ShellNew". Run regedit.exe and refer to the HKEY_CLASSES_ROOT key, find the desired file extension. After selecting it, right-click 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 the empty file that you put in the folder "\ Windows \ ShellNew".
Close Registry Editor. All =)

Adding new "actions" to the "File" menu

Let's 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 parameters that you do not need
Branch - HKCR \ * \ shellex \ ContextMenuHandlers
Here subsections are these very parameters - delete you not needed
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 partition
For the folder menu, the same is answered by HKCR \ Directory \ shell and HKCR \ Folder \ shell

Removing components from the "control panel" \ "installing and uninstalling ..."

If you deleted the program, and it still exists in the control panel \ installation and removal of programs, and it is not possible to remove it from there, we proceed as follows:
1. Open the registry.
2. We find
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall
3. We find there a folder with an unnecessary program and delete it.

Automatic logon 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 icons in the system tray

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

Hiding discs from "My Computer"

HREY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
create the DWORD - NoDrives parameter. Set the following values ​​to hide 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

Prevent Auto Backup (Windows 98 / ME / 2000 / XP)

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced
HKLMSoftware \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
Type - DWORD
For the system to ignore the entire startup from LOCAL MACHINE:
DisableLocalMachineRun - value 1
One download from LOCAL MACHINE RunOnce:
DisableLocalMachineRunOnce - value 1
User Upload - CURRENT USER:
DisableCurrentUserRun - value 1
A single download of the user- CURRENT USER Run Once:
DisableCurrentUserRunOnce - value 1

The type of the window opened when "Save" / "Open"

You can register your folders on the left side of the dialog for quick navigation:
Branch -HKCU \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ comdlg32
Create a section - PlacesBar, where you can save folder names.
The usual folders of registrational names can be 5 and they have the form - the first Place0, the second Place1, and the fifth Place4
In the registry, the key for them looks like, for example - Place1 = "C: \ Windows \ Systems".
System folders have a registration type DWORD and are defined by the values:
Working table - 00000000
My documents - 00000005
My Pictures - 00000027
My videos are 0000000e
My computer is 00000011
Selected - 00000006
My Network Places - 00000012
Fonts - 00000014
History - 00000022

Menu display speed

The branch is HKEY_CURRENT_USER \ Control Panel \ Desktop
Parameter - MenuShowDelay
The smaller the number, the faster the appearance of the menu (0 - the fastest, ie without any delays at all)
+ Cut the arrow - "Start work by pressing this button !!!".

Let's go by the arrow, which appears regularly after Windows boots. Such intrusive - "Start work by pressing this button !!!"
We do it this way:
at HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
lives key NoStartBanner , its values 00 00 00 00-to kill the arrow, 01 00 00 00 -include back if you are bored. And as they say do not stand under the arrow!

+ Remove the 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 removing tamzhe, you can rename it to something else - "The storehouse of my photos . "

+ Assigning your IE toolbar background

Now assign your background to the IE toolbar.
key HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Toolbar We create the string parameter "BackBitmap" in it we specify the path to the BMP . (for example, "C: \ vremia_dengi.bmp ").

+ Replace the title of IE - Microsoft Internet Explorer

Looking for the HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ Main key
we create a string parameter "Window Title" , and its value is the new header, or it can be left blank.

+ Replace the title of Outlook Express 5.0 - Outlook Express

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

+ Let's do 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 disk without uninstal, then remove it from the Add / Remove Programs section will help you
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \,
in which you find the key = Program name and delete it.

+ Make the network folders look normal.

If the network folder is specified, then the palm appears under it, 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 must create (if they do not exist) 3 string parameters:
"s1159" with a value of "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
change the value of IPEnableRouter to 1.

+ Change access settings (Polici).

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

"NoRun" - Disables the Run command
"NoDesktop" - Removes all icons from the desktop
"NoClose" - Disables shutdown
"NoCommonGroups" - deletes the "Standard Programs" group from the Start menu.
"NoSaveSettings" - Disables saving of output settings
"DisableRegistryTools" - Prevent editing of the registry
"NoInternetIcon" - Removes the Internet icon from the desktop
"RestrictRun" - If set to 1 , only the programs defined 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" - Disable Single-Mode MS-DOS

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

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

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

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Network
Parameter: NoWorkgroupContents - hide the content 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 "Entire network" icon
Value: ( 0 = disabled, 1 = enabled )

+ Kill autorun CD-ROM

Autostart your CD-ROM, live at
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ CDRom
key Autorun 0- no autoplay, 1- it is.

+ Prevent the display of the Favorites menu in Start.

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
in the key NoFavoritesMenu, replace 1 by 0.

+ Do not display the Documents menu in Start.

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

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

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

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

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

+ Prevent the computer from shutting down.

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