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

Tricks with the Windows registry. Part 1

The Windows registry, as you know, is a real treasure trove of various "fine" settings of the operating system as well as its various components, but once in a while, it would be nice to thoroughly examine it for something tasty as well as beneficial. What, in fact, also dedicate today's material. We will not use special software utilities tweaking, but we will try to “dig” in this course manually.

Before proceeding to the lesson, we hasten to remind you that the registry is the most vulnerable element of Windows, and any incorrect intervention in its depths can partially deprive the vents of a working capacity or send the system to the other world. Therefore, in order not to pour bitter tears into three streams at all, we recommend creating a backup copy of the registry before the source of the experiments.

There are several ways to do this:
1. Export using the Registry Editor (Start -> Run ... -> regedit.exe), or by typing regedit.exe / E c: \ all.reg in the command line, copy all registry branches to the file all.reg.
2. Use the archiving system also system resumption (Start -> Programs -> Standard -> System Tools -> Data Archiving), included in the standard package of many Windows.
3. Adopt any specialized program, for example, jv16 PowerTools 2006. However, our latest review of the registry editors will help you make the best choice . last note. All the following registry manipulations are calculated first on the Windows system of the popular 2000 / XP / 2003 series; for other OS versions, the effectiveness of the above tips is not guaranteed.

Well, let's start.

Clearing the paging file after shutdown

At the time of its work, Windows actively uses the pagefile.sys page file, redirecting data to it that does not fit in the computer’s RAM. Naturally, later fruitful and creative work, the share of information (sometimes also of confidential nature) can settle in it. Therefore, in order not to leave the attacker a chance, we launch the registry editor, acquire the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Memory Management branch and also set the ClearPageFileAtShutdown parameter to "1". Everything.

Proudly just do not forget that using this manic tool is necessary only in the case of truly extreme necessity, because in normal life activating this Windows function can only harm the nervous system of the user, who is also too late with the routine of waiting for the computer to restart or turn off the computer.

Prohibit writing to external USB-drives

With the advent of miniature USB carriers that are also affordable, the task of information security has become as important as it is. After all, judge for yourself, almost every employee of the office without any difficulty, angry at everything, can take away any information from the corporate network, thereby causing significant financial damage to the company. One of the echelons of defense from such unfriendly users is blocking the recording of data on external USB-drives.

To activate this function, we find the StorageDevicePolicies section in the HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control branch (if there is no such key, then create it), also form the WriteProtect DWORD parameter in it with the value "1" (enabled) or "0" (disabled), later we close the registry editor and also restart the computer to activate the changes.

Comment. This feature works only on Windows XP with the second service pack installed.

Uninstalling applications from the Add or Remove Programs list

By editing the list of installed applications that are huddled in the "Control Panel -> Install and Uninstall Programs" menu, experienced users sometimes resort to adjusting the order of deleting dead references to previously deleted applications. In addition, blah blah, this option is quite useful for protection against unintentional uninstallation of one or another software.

However, from the words - to the point. Cleaning the list is achieved by deleting the corresponding sections of the HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Uninstall branch.

Automatic login to Windows

If only one user is working at the computer, then it’s time to save when the operating system boots up by using the automatic login feature in Windows. Here, the truth is, to eat a couple of "but": first - you should not forget about the information security of your working room (after all, anyone can get access to your files as well as documents), second, the login and password specified as identification parameters are stored in The registry is also not encrypted.

The setup diagram is as follows. We find the HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon branch also work there with the following string parameters (if some of them are missing, they must be created):
• set the value of AutoAdminLogon to "1"
• in DefaultUserName we specify the user name, in the DefaultPassword field his password
• if there is a domain on the network, adjust the DefaultDomainName parameter

We keep the changes also use on health.

Delete unnecessary folders from the directory "My Documents"

Thanks to Microsoft, the latest versions of Windows, in addition to the notorious folder "My Documents", have learned to create another system of disputed directories - "My Pictures", "My Videos", "My Music", etc. Moreover, after some It's time to find out that other software also strives to stick something like My eBooks, My ISO Files. In general, the stumbling block of some kind, but not the "My Documents". To get rid of this nightmare also teach the installers of programs to copy data to the right premises is allowed again, even when the registry is also edited by the HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell Folders branch. Just adjust the system route to meet our needs. As you observe, nothing complicated, but the order on the hard disk will be more.

Change the frequency of Internet clock synchronization Windows

Starting from Windows XP, every user of this system got the opportunity to synchronize the system time with the atomic clock through the Internet. One grief - there is no synchronization frequency setting function. meanwhile, you can make your edits in the HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ W32Time \ TimeProviders \ NtpClient Windows registry branch.
Here in the SpecialPollInterval variable the update frequency is set (in seconds). For example, the value of 604800 indicated on the screenshot below corresponds to 168 hours, then it will be seven days. We set the frequency less, because the accuracy - the propriety of kings!

We remove the words "label for ..." when creating labels

From time immemorial, when creating shortcuts to programs, Windows adds the phrase "Shortcut to ..." to the name of the link. The practice illustrates that this phrase in no way extremely appealing to Russian users, therefore, almost at once everything is corrected in the necessary fashion. In principle, this is not so difficult. It is enough to reset the value of the binary Link parameter in the HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer branch.

Minimize Outlook 2002 to the system tray

If you use a mail client from Office XP, then saving space on the taskbar will be helped by adding (or modifying an existing) DWORD parameter MinToTray in the HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 10.0 \ Outlook \ Preferences branch. To minimize to the panel next to the clock, set the value to "1", otherwise - "0". That's all for now. Follow our publications.