| Previous | Next |
| ERROR_ALERTED | ERROR_REPARSE |
ERROR_ELEVATION_REQUIRED
Meaning and context of ERROR_ELEVATION_REQUIRED
This result error message indicates, you can only gain access to or take ownership of the file/folder by getting the elevated permission of a local administrator. So, to resolve the problem, you need to change the ownership of the drive. If you encountered the issue while trying to run an app, you can configure its properties to launch it as an administrator. Keep reading this post to learn how to fix ‘The requested operation requires elevation’ issue on Windows 10.
Solution 1: Take Ownership of the Hard Drive
- Log out of your user account.
- Log into the administrator account.
- On your keyboard, press Windows Key+E. Doing so will launch File Explorer.
- On the left-pane menu, click This PC.
- Now, go to the right pane and right-click your hard drive.
- Select Properties from the context menu.
- Once the Properties window shows up, go to the Security tab.
- Click the Advanced button.
- On the Advanced Security Settings window, click the Owner tab.
- Click the Edit button.
- Select the user you wish to set as the owner of the drive.
- Make sure that the ‘Replace owner on subcontainers and objects’ option is selected.
- save the changes you made by clicking Apply and OK.
Solution 2: Run the App as an Administrator
You may encounter the error message (This result) when opening an app which requires administrative privileges. In this case, you need to configure the app’s settings to let you open it as an administrator all the time. Here are the steps:
- Right-click the app, then select Properties from the options.
- Now, go to the Compatibility tab.
- Select the box which says, ‘Run this program as an administrator’.
Solution 3: Disabling UAC
It is possible that you’re getting the error message This result (status code 740) because of the User Account Control (UAC) settings. So, you can try disabling UAC to know if it is the culprit. To begin, follow the instructions below:
- Press Windows Key+S on your keyboard.
- Inside the Search box, type “Change user account control settings” (no quotes), then hit Enter.
- Now, drag the blue bar down to the ‘Never notify’ option.
- Save the changes you made by clicking OK.
Where the result is returned
It is Win32 system error 740 (0x000002E4) from winerror.h. AllStat describes it as “The requested operation requires elevation.”. The code is useful only together with the API that failed, because multiple Windows components can reuse system-error values while imposing different retry and cleanup rules.
Diagnostic sequence
- Call GetLastError immediately after the failing API and save it, the function name, all relevant flags, and the target path, handle, service, device, account, or policy object.
- Capture the component log that owns the elevation / required operation and retain the original numeric value before a framework converts it to an HRESULT or exception.
- compare preconditions with the API documentation and reproduce with a minimal request before changing system-wide configuration.
Retry it only after the resource or state named in “The requested operation requires elevation.” has changed. For invalid parameters, unsupported formats, missing objects, policy restrictions, and access failures, correct the input or configuration instead of immediately repeating the same call.
Official references
Looking for a different code? Search another status or error code.
