Scenario
Performing SQL Server Installation or Update SQL Server version prompted “Attempted to perform an unauthorized operation”
This was due to SQL Server Setup process can't enumerate the following registry subkey:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge
Solution
Method 1 for “Attempted to perform an unauthorized operation”:
If you're running 64-bit Windows 10, version 20H2 (19042.xxx), you must install the Edge browser version 86.0.622.56 or a later version that includes the fix for this problem.
To see the version number in Edge, select Settings > About Edge
Following guides will manually update the Edge browser
- Start Microsoft Edge
- Select the Settings (ellipsis) button in the top-right corner
- Select Help and feedback > About Microsoft Edge
- On some older Edge version might need to select Settings > select Help and feedback > About Microsoft Edge
- Edge will automatically check for updates
- To complete the Edge update installation, select Restart
- Once updates completed, Edge will show “Microsoft Edge is up to date.”
Method 2 for “Attempted to perform an unauthorized operation”:
Following guides recommended for those with Registry knowledge only
Serious problems might occur if you modify the registry incorrectly
Before you modify it, back up the registry for restoration in case problems occur
Following steps is to add the Full Control permission to the Administrators account
- Start Registry Editor by select Start, type regedit, and then select Registry Editor in the Search results
- Right-click the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge subkey, and select Permissions
- In the Permissions window that opens, select Advanced
- Select Change next to the listed owner
- In the Select User, Computer, Service Account, or Group window, type the name of your Windows user account (or your email address if you have a Microsoft account) in the Enter the object name to select box, and then select Check Names to validate the account name
- Select OK 2 times
- In the Permissions window, select the Users group, and then select the Allow check box for the Full Control permissions
- Select OK to return to the main Registry Editor window
- Close Registry Editor window and restart PC
Find out more about Features Supported by the Editions of SQL Server 2012
Find out more about SQL Server 2012 Express installation
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article