How To Access The Registry

Table of contents:

How To Access The Registry
How To Access The Registry

Video: How To Access The Registry

Video: How To Access The Registry
Video: 4 Methods to Open Registry Editor (regedit) in Windows 10 | Definite Solutions 2024, December
Anonim

Depending on which user was logged in, the distribution of access rights to some system partitions is carried out. For example, for a simple user, editing the registry is not possible. But using some tricks, you can still get access to some registry keys.

How to access the registry
How to access the registry

Necessary

Operating system of the Windows line, Regedit registry editor

Instructions

Step 1

Using the graphical interface, you can configure access to registry files that will be available to any user. To access a file or folder with registry files, right-click on the object, select Properties from the context menu and go to the Security tab. Click the Advanced button and go to the Owner tab.

Step 2

In the "Advanced Security Settings" window that opens, click the "Change" button. On the Owner tab, move the pointer to Administrators or another account, then click OK. If necessary, activate the "Change owner of subcontainers and objects" option.

Step 3

For specific registry entries, right-click on the registry subkey (located in the left column of the registry editor), then select the "Permissions" item and click the "Advanced" button. Repeat all the steps that were described above, starting with moving to the "Owner" tab.

Step 4

Continuing to configure access to the registry, go to the "Security" tab, click the "Change" button. A new window "Security" will appear in front of you. Click the Add button below the list of operating system users. In the lower text box, enter a name for the account, then click OK. Now you can set the rights for the account, which allow you to view and change the registry branches (put a check in the "Allow" column).

Step 5

You can also add the item "Change of ownership" to the main menu of the operating system, for this you need to create a registry tweak. Create any text document or open a text editor. Copy the following lines into the body of the document:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT / * / shell / runas]

@ = "Change owner"

"NoWorkingDirectory" = "[HKEY_CLASSES_ROOT / * / shell / runas / command]

@ = "cmd.exe / c takeown / f /"% 1 / "&& icacls /"% 1 / "/ grant administrators: F"

"IsolatedCommand" = "cmd.exe / c takeown / f /"% 1 / "&& icacls /"% 1 / "/ grant administrators: F" [HKEY_CLASSES_ROOT / Directory / shell / runas]

@ = "Change owner"

"NoWorkingDirectory" = "[HKEY_CLASSES_ROOT / Directory / shell / runas / command]

@ = "cmd.exe / c takeown / f /"% 1 / "/ r / d y && icacls /"% 1 / "/ grant administrators: F / t"

"IsolatedCommand" = "cmd.exe / c takeown / f /"% 1 / "/ r / d y && icacls /"% 1 / "/ grant administrators: F / t"

Step 6

Click the top menu of the editor "File", then select the item "Save as", in the file name input field, type tweek.reg and click the "Save" button. Then run this file, click OK and restart your computer.

Recommended: