CodePudding user response:
General is to use the administrator account, "run as administrator" change owner, set the permissions on the back,CodePudding user response:
Encryption or what? The administrator to obtain the ownership of try:How to add the right ownership "administrators"
Open notepad, copy the code below:
The Windows Registry Editor Version 5.00
\ [HKEY_CLASSES_ROOT \ * shell \ runas]
@="administrator title"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT \ * \ shell \ runas \ command]
@="CMD. Exe takeown/f/c " % 1 \ "& amp; & Icacls \ "% 1 "/grant administrators: F "
"IsolatedCommand"="CMD. Exe takeown/f/c " % 1 \ "& amp; & Icacls \ "% 1 "/grant administrators: F "
[HKEY_CLASSES_ROOT \ exefile \ shell \ runas2]
@="administrator title"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT \ exefile \ shell \ runas2 \ command]
@="CMD. Exe takeown/f/c " % 1 \ "& amp; & Icacls \ "% 1 "/grant administrators: F "
"IsolatedCommand"="CMD. Exe takeown/f/c " % 1 \ "& amp; & Icacls \ "% 1 "/grant administrators: F "
[HKEY_CLASSES_ROOT \ Directory \ shell \ runas]
@="administrator title"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT \ Directory \ shell \ runas \ command]
@="CMD. Exe takeown/f/c " % 1 \ "y/r/d & amp; & Icacls \ "% 1 "/grant administrators: F/t "
"IsolatedCommand"="CMD. Exe takeown/f/c " % 1 \ "y/r/d & amp; & Icacls \ "% 1 "/grant administrators: F/t "
Saved as a system. Reg file,
Double-click the file to run,
After you right click on the file "administrator title" good