Two methods to easily solve the problem of Win7 without administrator rights

  

Starting from the Vista system, in order to provide system security, Microsoft began to emphasize the ownership of Windows files, as well as the user rights when the program is running, restricting the program to important files of the system. Tampering. However, this also brings some problems to our normal use. When we want to delete a file on the system, it always prompts no administrator rights, so it cannot be deleted. Similarly, WIndows7 also has permission issues. When we find that some files can't be modified, we need to get the administrator ownership of this file. After we get it, we can change it if we want to modify it.

How to get ownership of a file or folder:

Method 1: Add a menu to take ownership of the Windows 7 right-click menu: the specific implementation method is not difficult, save the following as text File, then modify the file with a .reg extension, double-click to import the registry.

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: Using professional optimization tools, Set up the right-click menu

There are many optimization tools mentioned here, generally support WindowsVista optimization tools, can be used to optimize WIndows7, such as Vista optimization master (enter download), Vista Explorer (enter download), etc. Optimized software designed specifically for Windows 7 can 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.

Copyright © Windows knowledge All Rights Reserved