Home > Resources > Windows 8 > How to Get Administrator Privileges in Windows 8/8.1

How to Get Administrator Privileges in Windows 8/8.1

"Whenever I delete some system folders in my Windows 8 laptop, the system informs me that I need permission to perform this action. I don't know what permission is required. Is there anyone who can help me solve the problem?"

The problem described above can be illustrated by the following picture, and it can be settled by getting administrator privileges. Meanwhile, this article will show you how to make use of Registry Editor to get administrator privileges.

Video guide on how to get administrator privileges in Windows 8:

Steps to get administrator privileges in Windows 8/8.1:

Step 1: Open a new notepad.

Press Windows+R to open Run dialog, enter notepad and click OK.

Step 2: Input the following code in the notepad.

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Get administrator privileges"
"Icon"="C:\\Windows\\System32\\imageres.dll,-78"
"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]
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Get administrator privileges"
"Icon"="C:\\Windows\\System32\\imageres.dll,-78"
"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"
[-HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\runas]
@="Get administrator privileges"
"HasLUAShield"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\dllfile\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\Drive\shell\runas]
[HKEY_CLASSES_ROOT\Drive\shell\runas]
@="Get administrator privileges"
"Icon"="C:\\Windows\\System32\\imageres.dll,-78"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Drive\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"

Step 3: Rename and save the file.

Sub-step 1: In the Notepad window, click the top-left File tab and choose Save As.

Sub-step 2: Rename the file as Get administrator privileges.reg and click Save.

Note: Make sure the file extension name is ".reg".

Step 4: Merge the code in the reg file to the registry.

Sub-step 1: Right-click the reg file created on the desktop, and select Merge.

Sub-step 2: Choose Yes in the User Account Control window to allow the Registry Editor to make changes to the computer.

Sub-step 3: As the Registry Editor dialog appears, click Yes to add the information in reg file to the registry.

Instantly, the Registry Editor prompts that the keys and values contained in the reg document have been successfully added to the registry.

Later, you'll find that the "Get administrator privileges" option is added to the context menu of some system folders.

Tips: If you want to delete administrator privileges in your PC, you can find the detailed method in How to Remove Administrator Privileges on Windows 8/8.1.

Related Articles:

Quick Links

Password Recovery Software

Windows Password Tools
Windows Password Genius
Office Password Tools
Office Password Genius
Office Password Remover
Word Password Genius
Word Password Remover
Excel Password Genius
Excel Password Remover
PowerPoint Password Genius
Access Password Genius
Outlook Password Genius
SQL Password Genius
Archive Password Tools
RAR Password Genius
ZIP Password Genius
PDF Password Tools
PDF Password Genius

Hot Products