MASIGNCLEAN104

How to create a Registry Key in Windows 10

iklan banner

The Windows Registry is a collection of settings that Windows in addition to applications tin use. It is a directory which stores settings in addition to options for the operating organisation for Microsoft Windows. It contains information in addition to settings for all the hardware, operating organisation software, most non-operating organisation software, users, preferences of the PC, etc. The Registry consists of the next 5 Root Keys. Root Keys comprise SubKeys. Subkeys may comprise subkeys of their ain also in addition to comprise at to the lowest degree ane value, called every bit its Default Value. Influenza A virus subtype H5N1 primal amongst all its subkeys in addition to values is called a Hive. Each primal has ane of the Data Types – information types: REG_SZ, REG_BINARY, REG_DWORD, REG_QWORD, REG_MULTI_SZ or REG_EXPAND_SZ.

In this post, nosotros volition exhibit you lot how to create a Registry Key inwards Windows 10.

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

Before you lot begin, it is ever a expert thought to either back upward the Registry or create a System Restore Point.

The Windows Registry is complex past times architecture in addition to built such that full general consumers won’t understand. It is also advisable that you lot know the basics in addition to exercise non modify it unless you lot know what you lot are doing.

The hierarchy of Registry

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

To edit the Registry, nosotros purpose the built-in Registry Editor or regedit. It displays a tree-like navigation structure.  The topmost is your computer, followed past times a listing of folders, in addition to subfolders. These folders are called KEYS, in addition to at that topographic point are 5 fixed laid of folders nether the Computer.

  1. HKEY_CLASSES_ROOT: Contains file extension association information which helps the estimator empathize what to exercise amongst a chore when asked.
  2. HKEY_CURRENT_USER: It contains configuration information for Windows in addition to software for the electrical current user.
  3. HKEY_LOCAL_MACHINE: It stores configuration for the software installed on the computer, in addition to also for the Windows OS
  4. HKEY_USERS: Here you lot tin notice a user-specific configuration for all users on that computer.
  5. HKEY_CURRENT_CONFIG: Its a pointer to HKEY_LOCAL_MACHINE

These are the principal keys every bit you lot cannot create a NEW KEY nether Computer – only you lot tin generate novel keys nether whatever of these master keys.

How to create a Registry Key in Windows 10

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

1] Using Registry Editor

Creating a Registry Key is easy. Right-click on whatever folder or white infinite in addition to conduct New. You tin create a Key, String Value, Binary Value, DWORD Value (32-bit), QWORD value (64-bit), Multi-String Value or Expandable String Value. This method is useful when you lot excogitation to perform a youngster modify to receive a occupation on your computer. It could live on related to an application or on the OS level.

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

  • To edit an existing value, double-click on it to launch the editor.

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

  • To delete a key, right-click on it in addition to select Delete.
  • You also convey the choice to Rename, Export, Copy, in addition to laid Permissions.

2] Using the Command Line

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

You tin also purpose Command Line to manipulate registry keys along amongst tips, features in addition to security methods.

3] Use Notepad to create REG files

Right-click on whatever of the existing keys, in addition to export it. Open that file inwards notepad, in addition to it volition assistance you lot empathize how you lot tin edit a primal in addition to its values. It is useful when you lot desire to perform mass editing, amongst backup inwards place.

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

Note the version declaration, followed past times a blank line, in addition to thus the path followed past times residuum inwards quotes, in addition to a blank describe of piece of work again. Once the edit is complete, you lot tin right-click, in addition to conduct to merge the file into the registry hive.

4] Third Party Tools

If you lot notice the default registry editor complex, you lot tin purpose tools like RegCool, Registrar Registry Manager Lite in addition to Registry Commander. They offering features similar Undo, Redo, permission management, tabbed window, import, export, favorites in addition to thus on.

3] Use Programming

If you lot are an application developer, you lot should purpose programming to receive out your application settings inwards the registry. Here is an example, in addition to it volition vary depending on the linguistic communication you lot purpose to prepare the application.

RegistryKey primal = Registry.LocalMachine.CreateSubKey(@"SYSTEM\CurrentControlSet\services\eventlog\MyApplication\MyService"); key.Close();

Now that you lot know how to exercise it, nosotros also recommend you lot to read what each of these means. It’s essential, in addition to volition alone assistance you lot to brand certain the changes you lot brand is correct.

What makes a Registry Key?

If you lot imagine “Key” every bit a folder, the residuum of them are different types of file types which shop diverse kinds of values. So if you lot receive an application, you lot tin convey a principal folder, in addition to and thus subfolders to separate one laid from another. Here is a flake most each of them:

DWORD &  QWORD: Double Word tin shop 32-bit unit of measurement of data, spell QWORD tin shop 64-bit of data.  

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

String Value (REG_SZ): It tin shop either a Unicode or an ANSI string, in addition to contains a cypher at the end.

Multi-String value: When you lot desire to shop multiple numbers of String Value, you lot tin purpose this. However, brand certain to terminate it past times an empty string (\0). Here is a elementary example:

String1\0String2\0String3\0LastString\0\0

Note “\0” at the goal marks the goal of the starting fourth dimension string, in addition to the terminal \0 marks the goal of the multi-string.

 is a collection of settings that Windows in addition to applications tin purpose How to create a Registry Key inwards Windows 10

Expandable String Value: You tin purpose this for Environment Variables using Unicode or ANSI string. The payoff hither is that you lot tin expand it dissimilar String in addition to Multi-String value.

Binary Value: The simples of all, it contains 0 in addition to 1.

We promise that you lot notice this shipping service useful.


Source: https://www.thewindowsclub.com/
Share This :