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

Windows registry tricks. Part 1

The Windows registry, as you know, is a real treasury of all kinds of "thin" settings of the operating system as well as its various components, but once so, it would be nice to thoroughly study it for something tasty also beneficial at the same time. What, in fact, will also devote to today's material. We will not use special software utilities, tweakers, but 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 bowels can partially deprive the "window" of efficiency or send the system to the other world. Therefore, in order not to pour bitter tears into three streams in any way, we recommend that you create 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 at the command line, copy all registry branches to the all.reg file.
2. Use the archiving program also to resume the system (Start -> Programs -> Accessories -> Utilities -> Data Backup), which is included in the standard package of many Windows operating systems.
3. Adopt a specialized program, for example, jv16 PowerTools 2006. However, it’s better to decide on our last review of registry editors. last remark. All of the following registry manipulations are designed primarily for the Windows system of the popular 2000 / XP / 2003 line; for other OS versions, the effectiveness of these tips is not guaranteed.

Well, let's start.

Clearing the page file after shutdown

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

It’s only proud not to forget that using this manic tool is necessary only if it is truly absolutely necessary, because in normal life, activating this Windows feature can only harm the nervous system of a user who is also too late to schedule a proper wait for a restart or shutdown of a computer.

Prohibiting recording to external USB drives

With the advent of miniature USB drives that are also affordable, the task of information security has become as relevant as ever. Indeed, judge for yourself, almost every office employee without any particular difficulty, embittered by everything as well as everything, can carry away any information from the corporate network, thereby causing significant financial damage to the company. One of the echelons of defense against such unfriendly users is blocking the recording of data on external USB-drives.

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

Comment. This "feature" is only functional on Windows XP with a second service pack installed.

Removing applications from the "Install also uninstall programs" list

To edit the list of installed applications, huddled in the menu "Control Panel -> Install and Uninstall Programs", experienced users sometimes resort to set the routine there and also to delete "dead" links to previously deleted applications. To that blah blah, such an option is quite useful for protection against accidental uninstallation of a particular software.

However, from words to action. The cleaning of the list is achieved by the route of deleting the corresponding sections of the HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Uninstall branch.

Windows automatic login

In case if only one user is working at the computer, then the automatic login to Windows function will help save time when loading the operating system. Here, however, there is a couple of “buts”: the first - you should not forget about the information security of your workroom (after all, anyone can get access to your files as well), the second - the login and password, specified as identification parameters, are stored in the registry is also not encrypted in any way.

The configuration scheme is as follows. We find the HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon branch also working there with the following string parameters (if some of them are missing, you need to create them):
• set AutoAdminLogon equal to "1"
• in the DefaultUserName specify the username, in the DefaultPassword field its password
• if there is a domain in the network, adjust the DefaultDomainName parameter

Save changes and use health.

Delete unnecessary folders from the "My Documents" directory

With Microsoft’s light hand, the latest versions of Windows, in addition to the notorious My Documents folder, have learned to create a system of controversial need for directories such as My Pictures, My Videos, My Music, etc. Moreover, after some it’s time to discover that other programs also strive to “stick” something there like My eBooks, My ISO Files. In general, there is some kind of stumbling block, but not My Documents. To get rid of this nightmare also to teach program installers to copy data to the necessary rooms is allowed again, if the registry is also supported by the HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell Folders branch. Just adjust the system routes according to our needs. As you can see, there’s nothing complicated, but the routine on your hard drive will become larger.

Change the frequency of Internet clock synchronization Windows

Starting with Windows XP, every user of this system got the opportunity to synchronize the system time with the atomic clock via the Internet. One grief - there is no function to adjust the frequency of synchronization. meanwhile, you can make your edits in the HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ W32Time \ TimeProviders \ NtpClient branch of the Windows registry.
Here, the SpecialPollInterval variable sets the refresh rate (in seconds). For example, the value shown in the screenshot above is 604800 corresponding to 168 hours, then eat seven days. We set the frequency less, because accuracy is the decency of kings!

We remove the words "Shortcut for ..." when creating shortcuts

From time immemorial, when creating shortcuts to Windows programs, the phrase "Shortcut for ..." has been added to the link name. Practice illustrates that this phrase does not in any way extremely attractive Russian users, therefore, almost all at once everything is corrected in the right way. In principle, this is not so difficult at all. It is enough to reset the value of the binary Link parameter in the HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer branch.

We minimize Outlook 2002 in the system panel

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