Win10 uses the registry source file to add or modify the registry key entry method

  

In computer operations, we sometimes need to modify the registry key or add keys to the registry, but many friends have some difficulty in modifying the registry. We can use the registry source file to modify or create a new registry key. The registry source file used below is Windows 10 system, and may not be applicable to other Windows systems.

First, introduce the method of adding or modifying the registry key using the registry source file:

For example: create a new key in the registry, add the system right-click menu “Notepad” .

1. Copy the following content into Notepad.
Copy content to clipboard Windows Registry Editor Version 5.00


  • [HKEY_CLASSES_ROOT\\Directory\\shell\\Notepad\\command]

  • @="notepad.exe" ;



  • 2, then click on “File (F)” in the upper left corner of the notebook, click on the drop-down menu: Save As;
    < Br>

    3. In the "Save as" window, click on "Desktop" and enter: Notepad.reg in the File Name (N) field, then click: Save;

    4. At this time, a "Notepad.reg" icon is displayed on the system desktop, and we left-click on the "Notepad.reg" icon;

    5, a dialog box pops up :

    Registry Editor

    Adding information may inadvertently change or delete values ​​and cause the component to continue to work properly. If you do not trust the source of this information in C:\\Users\\abcde\\Desktop\\Notepad.reg, do not add it to the registry. Are you sure you want to continue? Click: Yes (Y);

    6, then a dialog box pops up: Registry Editor, C:\\Users\\abcde\\Desktop\\Notepad 1.reg The included items and values ​​have been successfully added to the registry. Click: OK;

    7, we right click on the icon on the system desktop, you can see the "Notepad" menu displayed in the right-click menu.

    Second, introduce the source file to add key items and modify the registry key value to the system registry by the above method.

    1, add to the registry “ open the ” right-click menu key with Notepad.

    Copy the following to Notepad:
    Copy content to the clipboard Windows Registry Editor Version 5.00


  • [HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\*\\shell\ otepad

  • @="Open with "

  • [HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\*\\shell\ otepad\\command]

  • @="notepad %1"


  • Click File - Save As - Desktop - File Name (Open with .reg) - Save, double click : Open the .reg icon with Notepad and import the registry.

    2, if we set the hidden folder option to "Show hidden files, folders and drives", now you need to restore the folder options “ show hidden files, files Clip and drive " item. Copy the following into Notepad:
    Copy content to the clipboard Windows Registry Editor Version 5.00


  • [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\Folder\\Hidden\\ SHOWALL]

  • "CheckedValue"=dword:00000001

  • "DefaultValue"=dword:00000002

  • "HKeyRoot"= Dword:80000001

  • "Id"=dword:00000002

  • "RegPath"="Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\ \\Advanced"

  • "Text"="@shell32.dll,-30500"

  • "Type"="radio"

  • "ValueName"="Hidden"


  • Click File - Save As - Desktop - File Name (show hidden files, folders and drives.reg ) - Save, left click double: show hidden files, folders and drive .reg icon Into the registry.

    3. The mobile hard disk does not display the drive letter. Copy the following into Notepad:
    Copy content to the clipboard Windows Registry Editor Version 5.00


  • [HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer]
    < Li>
    "NoDriveTypeAutoRun"=dword:00000091

  • "NoTrayContextMenu"=dword:00000001

  • "NoDrives"=hex:00

    Click File - Save As - Desktop - File Name (Mobile Hard Disk Does Not Display Drive Letter.reg) - Save, left click Double: Move hard disk does not display drive letter .reg icon, import registry.

    4. The icon disappears when you right click on the desktop icon.

    Copy the following to Notepad:
    Copy content to the clipboard Windows Registry Editor Version 5.00


  • [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run]

  • "explorer"="C:\\\\WINDOWS\\\\explorer.exe"

    Click File - Save As - Desktop - File Name (Desktop icon. Reg)- Save, double-click: the desktop icon .reg icon to import the registry.

    5, we can save the created registry file in a folder, and then reload the system or when needed, import the file into the registry.

    Windows10 system uses the registry source file to create or modify the registry key entry method for friends to refer to, the above registry source file pro test effective.

    Related recommendation:

    How to remove the mouse acceleration in the Win10 registry?

    Use the registry to query Win10 activation key without third-party tools

    Microsoft Reminder: Do not use CCleaner registry cleaning software in Win10

    Win10 quick access how to close ? Win10 method to modify the method of closing the registry value

  • Copyright © Windows knowledge All Rights Reserved