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 have already been 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 lot of operations:

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 , 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 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 - the 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, they are in the minimized state [+] , no [-] .
3 - At the ends 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 also 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 in 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}
Date type: 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 the value to "% USERNAME% to% COMPUTERNAME%". Close the Registry Editor, click on the desktop and press F5 (update). The My Computer icon will now be renamed to "Username on Computername".

Change information about the Name and Company after installing Win XP

Branch: HKEY_LOCAL_MACHINE
Key: SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion
In the right pane, expand the RegisteredOrganization parameter. And set 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 the user name, 1 = hide the name of the user)
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 in the panel in the bottom 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 required 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 the icon in the "Edit line" window and enter the name of the empty file that you placed in the folder "\ Windows \ ShellNew".
Close Registry Editor. All =)

Adding new "actions" in 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 the parameters 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 have uninstalled 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: First 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 system):
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
So that the system ignores 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 environment is 00000012
Fonts - 00000014
History - 00000022

Menu display speed

Branch - 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 the work by pressing this button !!!".

Let's go by the arrow that 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- 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 deleting 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

We are looking for the key HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ Main
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 Windows window animations

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 folder is networked, 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.

Let's say you have a strong desire to remind yourself (a friend) of the frailty of all living things. In the HKEY_CURRENT_USER \ Control panel \ International section
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" - Disabling 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 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 "View 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 Neighborhood
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.

+ Do not display the Favorites menu in Start.

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

+ Do not display the Documents menu in Start.

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
In the key NoRecentDocsMenu, replace 1 with 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 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 )