How to Fix “Elevated Permissions are required to run DISM” in Windows?
The error “Elevated Permissions are Required to Run DISM” simply means that the command is not being executed with administrator privileges. This means that the User Account Control is preventing the command from running due to insufficient permissions.
Deployment Image Servicing and Management (DISM) commands are used to repair Windows images, such as system files, registry files, and drivers. These types of commands require administrator privileges to run on Windows. Therefore, running these commands with the administrator should resolve the error.
1. Run Command Prompt as Administrator
Running the command prompt as an administrator grants the necessary permissions required to run the DISM command. This will allow the DISM to access and repair the system files, which is essential for repairing Windows images.
Without administrator privileges, you cannot run DISM commands. You need to run the command prompt as an administrator first.
- Press the Win key and type Command Prompt.
- Right-click the Command Prompt and select Run as administrator.
- Once the command prompt is opened in administrator mode, run any DISM commands you need to execute to complete the operation. Below are the common DISM commands used to repair Windows images.
DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth
2. Disable User Account Control (UAC)
Disabling the User Account Control (UAC) can prevent it from blocking the execution of the DISM commands that require administrator privileges. By disabling the UAC, the system will automatically grant the necessary permissions without asking for administrator approval.
However, after executing the command, it is strongly recommended that you re-enable the UAC. Otherwise, all programs will run as administrator, which means your protected system files and settings can be modified by any untrusted third-party program without your approval. Therefore, you must turn UAC back on even if the error persists.
- Press the Win key and type UAC in the Windows Search Bar.
- Hit the Enter key to open the Control Panel UAC settings.
- To completely disable the UAC, drag the slider to Never Notify and click OK to save the changes.
- Once done, now open the command prompt as administrator and see if the error still persists by running the DISM command.
3. Create a Command Prompt Shortcut
Creating a command prompt shortcut and configuring it to always run as administrator may help you resolve this error message, especially if you are running the DISM command without administrator privileges. This method is not different from the first method. Both methods will work in the same manner.
- Press the Win + R keys to open the Run Program.
- In the run program, enter the following path and hit Enter to navigate.
C:\Windows\System32
- Here, search for the cmd program.
- Then, right-click on it and select Show more options.
- Then, select Create a shortcut and click Yes to confirm the action.
- Once done, go to the desktop, right-click the CMD shortcut, and select Run as administrator.
- Once the command prompt is opened in administrator mode, run the DISM commands to see if this resolved the error message.