However, if there’s a registry change that you need to make frequently or you want to share with others, you can build a .Reg  file, which makes any changes you want with a double click. For example, if you want to disable the lock screen on five different computers, you can make a .Reg file to do it and then copy that file onto every PC you own or give it to your octogenarian parents and tell them to run it. Here’s how to create a .Reg  file for Windows 7, 8 or 10. Note: Editing the Windows registry is risky so be careful and, if you’re not a moderate-to-advanced user, ask someone else for help.

Using Export in the Registry Editor

The simplest way to create a .Reg file is by making the change you want in the registry editor and then using the editor’s export feature. However, this method only works if all the changes are in the same folder.

  1. Open the Registry Editor. You can get there by hitting Windows + R, typing “regedit” into the run box and clicking OK.
  2. Navigate to the registry key or value that you wish to export and select it. Note that keys are the “folders” in the registry while values are the individual settings within those folders. If you want an entire key copied, highlight the key.
  3. Select Export from the File menu.  4. Name the file and click Save. You must name it with the .reg extension. Your file will now work for anyone who double clicks it.

Editing a .Reg File

If you want to modify more than just a single key (and its children) or value with your .Reg file, you’ll need to modify it with a text editor.

  1. Open an existing .Reg or create a blank document using a text editor such as Notepad. 
  2.  Make sure the top line reads “Windows Registry Editor Version 5.00” if it does not already.
  3. Add the names of registry keys (aka folders) in brackets on their own lines. If a key does not already exist at this location, the .Reg file will create it. For example, enter “[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]” to create or write-to that key.
  4. Enter the values on their own lines beneath the appropriate key name. For example, if we want to set NoLockScreen to DWORD value 1, we write “NoLockScreen”=dword:00000001. You can enter as many different keys and values as you want. While DWORD values, begin with “dword:” and several zeros, string values are just enclosed in quotation marks. Note: Different registry values are DWORD, String values or other types such as multi-string value or QWORD (64-bit). The type depends on what Windows or an individual application is looking for. DWORD and String Value are the most common, particularly for registry hacks.
  5. Set a value to “-” if you wish to delete the value rather than setting it.
  6. Put a “-” in front of a key name if you wish to delete the entire key and all keys and values underneath it. Don’t do this unless you’re sure you’re not deleting something important.
  7. Save your file.

Running the .Reg File

Now, anyone who has the file .Reg file can make these registry tweaks by double clicking the file and selecting Yes if prompted.

Windows 10 Performance and Productivity

Best Windows 10 Keyboard ShortcutsMIrror Your Screen to a TV or MonitorSpeed Windows 10 Boot TimeGet Superfast Mouse, Touchpad SpeedsCalibrate Your MonitorActivate ‘God Mode’Defragment Your Hard DriveMeasure the Time it Takes for Apps to Load at BootUse Maximum CPU PowerEnable Swipe to Delete in EmailCopy and Paste at the Command PromptHow to record your screen in Windows 10Use Offline MapsGet the Full Layout in Windows 10’s Touch KeyboardCreate a .Reg File for Easy Registry HacksRecord PC Gameplay on the Xbox AppPerform a Clean Install of Windows 10Uninstall Windows 10 and Roll Back to 7 or 8Enable the Linux Bash ShellGenerate a Detailed Battery ReportTurn a PC into a Wireless DisplayOpen Folders in the TaskbarOpen Sites in the TaskbarImport Gmail ContactsGet Android NotificationsUse Multiple DesktopsUse Eye ControlUse the Timeline Feature to Resume a TaskSend Web Pages from Phone to PCAll Windows 10 TipsIncrease your Battery Life