Easy access to WIN7 administrator privileges, from farmers to landlords

  

If your system is Win7, then in the process of using the software, you will inevitably encounter a prompt: no administrator rights, sometimes some software can not directly open or can not run normally. Maybe for this problem, you will feel that if you only set one user in your computer, this user is the administrator. Actually, please, please listen to me in detail.

The so-called administrator?

The administrator refers to the user name entered in the place where the user information is entered when installing the WIN7 system, then you create a new user, but This user is not an administrator. The real administrator is Administrator.

How do I get administrator privileges?

Create a batch register file. The file content is, the file suffix is ​​.reg. Then double-click on the file. Open the file you need to access. If you need administrator rights, select the file, right-click, select the administrator to get all permissions, then cmd will pop up, then you will find that cmd is executing the command. Don't worry, you are getting access. File permissions. Wait a little while, you can open the file you want to open. The following commands are useful.

[java]

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 takes 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\\" && Ic; 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"

The above steps will get you there. The administrator's permission, in the future use of the web page or software, there will be no restrictions or problems that cannot be used, which provides us with convenience. With the qualification of the administrator, I feel that I have turned from a farmer to a landlord.

Copyright © Windows knowledge All Rights Reserved