What to do if the current owner cannot be displayed

藏色散人
Release: 2020-05-15 10:24:46
Original
13913 people have browsed it

What to do if the current owner cannot be displayed

What should I do if the current owner cannot be displayed?

Solution:

1. Open Notepad and enter the following text:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
Copy after login

@="Get permission"

"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]
Copy after login
@="获取权限"
"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"
Copy after login

2. Then save it as an import .reg file;

3. Then double-click the import .reg;

A warning will pop up, just allow the program to pass;

4. Then Select the file, right-click the mouse and select Get Permissions;

5. After obtaining permissions, select the file again, right-click the mouse and select Delete.

The above is the detailed content of What to do if the current owner cannot be displayed. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template