I'll teach you how to learn. System Performance Optimization Registry modification instance (1) _ Registry

Source: Internet
Author: User

  about file association function optimization

When you have many applications installed in your system, there will be several software that can open the same file format, at which point you may want to choose which software to open on your own, or you may want to change the way you open in the process of using it. This not only avoids the failure of an application to open a file when it is damaged, but it also makes it possible to choose the way that you feel most satisfied. Then, you can make the appropriate modifications in the registry.


First, you can confirm an open method for a file, which is to specify it in the registry. For example, you want to specify that the MP3 file be opened with Foobar instead of the default Windows Media Player. Open the Hkey_classes_root\mp3file\shell\open\command subkey and the default values from the right window from the original C:\Program files\windows Media player\ Wmplayer.exe "/prefetch:6/open"%l "to" C:\Program Files\foobar2000\foobar2000.exe ""%1 "(assuming that Foobar is installed on disk C), MP3 's default open mode is Foobar. Similarly, for other file types, you can also change the file association by finding it under the HKEY_CLASSES_ROOT subkey, opening the branch of the Shell\open\command subkey under it, and changing the association program in the right window to note that the last "%1" should not be forgotten.

Alternatively, you can add an open method for a file in a format that, when you leave the default opening mode unchanged, can have other open options when you right-click. This time, we take the HTML file as an example, some of the advanced production staff are directly using code to write, we can in the right mouse button HTML file to add "Open with Notepad" directly into the code changes. Also, locate the Hkey_classes_root\ Htmlfile\shell subkey, create a new subkey "QuickEdit" below it, and modify its default key value to "open with Notepad." Under this subkey, create a new subkey "Command", modify its default key value to "notepad.exe%1", and eject Registry Editor. When you right-click an HTML file, you will be able to edit the HTML file directly with Notepad by clicking on the "Open with Notepad" option. Similarly, you can add open methods for other files. Locate the appropriate file subkey to add the process as above.


Finally, if you think both of these methods are not convenient, you can add the "open with" option directly in the right mouse button, so that no matter what the file is free to choose to open the way, no longer need to be open to the restrictions of the way to bother. Open the Hkey_classes_root\*\shell subkey, create a new subkey "Openwith" under it, set its default key to "Open with", and create a new subkey "Command" under the Openwith subkey to set its default key value to "C:\ Windows\system32\rundll32.exe Shell.dll, Openas_rundll%1 ", so that the right to click on any file, you can open the choice of the way, is not very convenient:"


  About disk optimization

To optimize your hard drive:

Open the Hkey_local_machine\system\current Controlset\control\filesystem branch and create a new binary key value in the right window, named "Namecache", to set up windows XP file name caching, if there is more than 128MB in the system, can be set to 32MB. You can also create a binary value "Pathcache" for the path cache for Windows XP, which can also be set to 32MB.

To implement floppy drive background write disk:

Opens the Hkey_local_machine\system\current CONTROLSET\SERVICES\CLASS\FDC branch with a 0000 key value pointing to the first floppy drive and 0001 to the second floppy drive. Create a new DWORD value under the key value of the floppy disk that you want to modify, named Forefifo, and the value set to 0. In this way, the system will be able to write the disk operation to remember, automatically in the System idle when the write disk operation.

Optimize the file system for faster disk speeds:

Because some software consumes too much system resources, we can optimize the file system to increase disk speed by limiting the resources that each software can consume. Open the Hkey_local_machine\ system\current controlset\control \filesystem subkey Branch and create a new DWORD value in the right window, named "Configfileallocsize , set its value to decimal 500.

To establish advanced security for disk drives:

Open the Hkey_local_machine\software\ microsoft\windowsnt\currentversion \WinLogon subkey and create a new string-type key-value entry in the right window named " Allocatefloppies, set its value to 1, so that only the currently logged-on user can access the disk drive and its removable media device.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.