The skill introduced today is how to obtain the ownership of a certain file or folder. As everyone knows, the ownership problem is already emphasized in the beginning of the windows system, including The user rights when the program is running, restricting the program's tampering with important files of the system, etc. This brings some problems to the daily system. In any case, when we find that some files cannot be modified, we still need to use them. Ownership issues, you need to obtain the ownership of the administrator of this file to have the right to modify a file, today talk about the permissions of win7 ownership.
Method 1: Add a menu to take ownership of the Windows7 right-click menu: The specific implementation method is not difficult, save the following content as a text file, and then modify the file with a .reg extension, double-click to import the registry.
Friendly reminder: If importing the registry does not work, please delete the space in front of each line in the field below.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\\*\\shell\
unas]
@="Administrator Ownership"
" NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\\*\\shell\
unas\\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\
unas2]
@="Administrator Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\\exefile\\shell\
unas2\\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\
unas]
@="Administrator Ownership"
"NoWorkingDirectory" ;=""
[HKEY_CLASSES_ROOT\\Directory\\shell\
unas\\command]
@="cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\"%1\\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \\"%1 \\" /r /dy && icacls \\"%1\\" /grant administrators:F /t"
Method 2: Use the professional optimization tool to set the context menu.
There are many optimization tools mentioned here, generally supporting WindowsVista optimization tools, can be used to optimize WIndows7, such as Vista optimization master (enter download), Vista Explorer (enter download), etc., of course, those specially designed The optimization software for Windows 7 can also achieve the same effect, such as Windows 7 optimization master (enter download), Windows 7 Explorer and so on. In the system settings of these tools, the right-click settings have the function of adding administrator rights. I will not explain them in detail here. You can find them yourself.
The above two methods can help you get the ownership of win7 administrators. Friends who need this can come to this website to study the tutorial well. If you have better methods, please feel free to discuss and discuss. .
solid state hard disk how to install win7 First, the installation is ready 1, the solid state hard
after win7/win8 upgrade win10 Many win10 systems used in many user computers, most of them are upgra
win7 system google browser can not open the web page processing method 2, open the local connection
First click the taskbar with the right mouse button to open the properties window. Then click Custo
How to solve the problem that the Win7 system mouse can't drag files
When the computer is very card, it will ring
Windows 7 system desktop background can not be changed solution
Win7 system play cf cross fire line no response how to solve?
Win7 system Internet Explorer has stopped working how to do
Two options for properly distributing Win7 virtual memory
Win7 system game full screen failure solution
Drag the computer's electronic calendar to the bottom of the taskbar and drag it out.
What is the rating review? How to set up Win7 system IE rating review?
Solution that cannot be expanded by favorites
Win7 system Activex components can not create objects how to do
Several good features that are easy to ignore in Win7
How to cancel Tencent Weibo? Tencent Weibo Logout Tutorial
How to remotely reinstall the system?
Microsoft officially released the Windows 8 release preview version
Punctuation marks will automatically become half-width, how to solve?
How can the win7 system be incompatible with the application software application?
Uninstalling unnecessary core applications with one command Freeing up space occupied by Windows 10
Various problem solving techniques that occur during the installation of Win8.1