1. Build a new file with the suffix named Reg, copy the following code and click Run.
Windows Registry Editor Version 5.00
[Hkey_classes_root\*\shell\runas]
@= "Administrator takes ownership"
"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\EXEFILE\SHELL\RUNAS2]
@= "Administrator takes ownership"
"Noworkingdirectory" = ""
[Hkey_classes_root\exefile\shell\runas2\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]
@= "Administrator takes ownership"
"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"
2. Open C:\Users\Toby, locate the application data file, if the folder is not found, the system hides the relevant files, need to open.
3. Right click on the popup menu bar to select "Admin Get all Permissions" (this option does not run the first step of the Rreg file, is not available).
Click "Admin Get all Permissions" to run, wait for the end of the run, you can open application Data.
Open Application Data