How to add administrator authorization for win10 right?

  

win10 How to cancel admin rights Right-click Add admin authorization? We all know that WIN10 has a lot of permissions. It takes administrator privileges to delete a file. There is no menu on the right-click menu. How to set it up is as follows.

1, create a new text on the desktop "text document" Open

Copy the following code to inside
Copy content to clipboard Windows Registry Editor Version 5.00
< Li>
[HKEY_CLASSES_ROOT\\*\\shell\ unas]


  • @="Administrative Authorization"

  • "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]
    < Li>
    @="Administrative Authorization"

  • "NoWorkingDirectory"=""

  • [HKEY_CLASSES_ROO T\\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]

  • @="Management Authorization "

  • "NoWorkingDirectory"=""

  • [HKEY_CLASSES_ROOT\\Directory\\shell\ unas\\command]

  • @="cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\"%1\\" /grant administrators:F /t"
    < Li>
    "IsolatedCommand"="cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\"%1\\" /grant

  • administrators:F /t"



  • 2, Save as “ Admin Authorization.reg”.

    3. Double-click it to open the run and click it.

  • Copyright © Windows knowledge All Rights Reserved