One script Fixes it:You require permission to make changes to this folder

 I wonder if everyone has encountered the problem shown in the following picture:

When you delete a file, a prompt appears saying "You require XXX permission to make changes to this folder"

In short, Asuka has encountered it many times.

Many times, even if you use the file shredder of an antivirus software, it still won't be able to shred it!

What should I do then? Can't it be deleted at all?

After searching on Google, Ah Xū tried three or four tutorials on manually changing file permissions. But none of them succeeded!

In the end, it took me another half an hour of searching before he found a solution that worked.

Why does such a prompt appear?

Since Windows XP, Windows has introduced a security tab for file management, aiming to make computers more secure.

However, this function occasionally affects our normal deletion of some unnecessary files, such as the following prompt:

Sometimes, even administrators cannot delete or modify certain system files. However, many software installations also leave behind files with super administrator privileges in the system. For instance, files left by Adobe's PDF Reader after uninstallation cannot be deleted even with an administrator account.

Obtain TrustedInstaller Permissions

As I mentioned above, I've tried 3 or 4 tutorials on manually obtaining permissions to delete, but none of them worked.🤷🏻‍♂️

Ultimately, it was this small script that succeeded. It can help you obtain the super administrator privileges of your computer:https://www.mediafire.com/file/fcagtjtwc8qjt8k/获取超级管理员权限.zip/file

After decompression, you will see two reg files, one is Add.reg and the other is Remove.reg.

A REG file is a registry script file for the Windows operating system. Double-clicking a REG file will import the data within it into the registry.

The function of Add.reg is to add an item to the right-click menu bar, which is used to obtain all the permissions of TrustedInstaller (that is, super administrator permissions). After obtaining the permissions of TrustedInstaller, any file can be deleted!

Double-click Add.reg to import the data in it into the registry.

Of course, there will be a confirmation prompt when writing to the registry. Here, click "Yes" (Some security software may prohibit this. Please allow it.)

Then, in your right-click menu bar, there will be an additional item: Get Super Administrator Privileges

At this point, right-click on the file you "want to delete but don't have permission to", and select "Get Super Administrator Privileges".

The subsequent steps are the same as deleting a normal file. Select the file (folder) and then press the Delete key on the keyboard.

  • Obtaining permission for regular files is of little use. Super administrator privileges are only for files that cannot be deleted due to lack of permission.

  • If you no longer want to use it, simply double-click Remove.reg to remove the option from the right-click menu.

  • Of course, don't try to obtain permission to delete system files that are not supposed to be deleted. Otherwise, your system will encounter problems. (Especially in the C drive, don't delete files that you are not supposed to delete!)


Comments