I have received this message:
“Access denied as you do not have sufficient privileges or the disk may it be locked by another process. You have to invoke this utility running in elevated mode and make sure the disk is unlocked”.
How can I resolve this problem.
The You have to invoke this utility running in elevated mode and make sure the disk is unlocked error message is not new to experienced Windows users, who use the Command Prompt regularly.
This is how one user on Microsoft Answers forum described the problem:
If you’ve encountered (or you’re encountering) this error, and you are on the dark on how to fix it, this post will show you effective workarounds.
How can I fix You have to invoke this utility running in elevated mode error?
1. Run Command Prompt as an administrator
- Go to Start > type command prompt.
- From the list of options, right-click on Command Prompt and then select Run as Administrator.
- After doing that, try running the desired commands and check if the problem still appears.
2. Repair PC registry
- Boot PC to Safe Mode.
- In safe mode, go to Start > type cmd > right-click Command Prompt > select Run as Administrator.
- Now, type the sfc /scannow command.
- Wait for the scanning process to complete and then restart your computer. All corrupted files will be replaced on reboot.
3. Run chkdsk
- Press Windows Key + X to open the Power User Menu and select Command Prompt (Admin).
- When Command Prompt opens, enter chkdsk /f X: and then hit the Enter key.
- Follow the prompts and then restart your computer.
4. Take ownership of drive partition
Note: This solution can cause problems if you take ownership of the system drive, so be extra cautious while using this solution.
- Open Windows File Explorer. Right-click on the target partition and then select Properties.
- Go to the Security tab and then Advanced.
- Click the Change link beside the Owner label.
- In the Select User or Group window, type your user account under the Enter the object name to select pane, and then click OK.
- Now, open the Security tab of that specific partition in File Explorer.
- Next, click Add > Select a principle. Set permissions to Full control and then click OK to apply changes.
5. Change the current user to an administrator account
- Go to Settings > Accounts > Family & other users.
- Now, select the account owner name, and then select Change account type.
- Under Account type, select Administrator and click OK.
- Afterward, sign in with the new administrator account.
Hope you were able to resolve the You have to invoke this utility running in elevated mode and make sure the disk is unlocked error message? If so, you can share your experience with us by commenting below.
- Windows 10 beeping in Standby mode [TECHNICIAN FIX]
- Accidentally deleted Admin account? Here’s how to fix that
- Nothing happens when you click Run as administrator? Here’s how to fix it