Problem
This article contains guidance on how to open Microsoft Edge with administrator privileges.
During a fresh Accelerator 14.5 (Compliance Accelerator /Discovery Accelerator) installation. At the end of the installation, when we click on the Finish button, by default, it is expected to open the default browser, and it asks to open in administrative privilege. However, when we open Edge with administrator privileges, it shows the following error message and cannot do the initial configuration.
Error Message
You are viewing this site without administrator privileges. Run the browser as an Administrator and ensure 'Anonymous Authentication' is disabled for this web site.
Cause
It is the expected behavior of Microsoft Edge. Microsoft Edge de-elevates the process and runs it as a non-elevated process.
Solution
Workaround: If you do not wish to update the default Microsoft Edge settings as stated in this article, you can alternatively use the Google Chrome browser in the administrative-privilege mode to access the EVBAadmin page.
To run Microsoft Edge as an administrator, we must add --do-not-de-elevate in the target command line and then run Microsoft Edge as an administrator.
- Shift and right-click the Microsoft Edge launching icon and go to Properties.
- Modify the target with "{}do-not-de-elevate("C:\Program Files(x86)\Microsoft\Edge\Application\msedge.exe" *{-}-do-not-de-elevate* --profile-directory=Default)
e.g., original target command line->
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default
Modified target command line->
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --do-not-de-elevate --profile-directory=Default
- Close all running instances of Microsoft Edge. (Go to task manager-> Details, right-click on msedge.exe-> end task, and do this till no msedge.exe is running).
- Relaunch Microsoft Edge with Run as Administrator.