RECOMMENDED: Click here to fix Windows errors and optimize system performance
If you see the error message about the OneDrive error with full administrator privileges when you try to run the application, you are not alone.
The UAC allows an administrator to run OneDrive as normal
But why does OneDrive even work in the customer’s management account? Why doesn’t the software complain when it starts OneDrive normally on the desktop?
The answer can be found in Microsoft’s User Account Control (UAC) security feature. By default, interactively launched applications run with lower non-administrative privileges. This happens to all accounts – including administrators. OneDrive seems to need this context with lower privileges to do its job. In fact, Microsoft confirms in this OneDrive Desktop FAQ that the UAC allows an administrator to start OneDrive. If we removed the UAC from the equation (by right-clicking on OneDrive.exe and selecting “Run as administrator”), we were able to reproduce the error immediately.
But while the UAC restricts the rights of desktop users, the UAC is not in play when running in the context of a Windows service. Services always run with the highest privileges. We need to find a way for our client to start OneDrive with restricted rights to avoid this error.
Disabling Running with Highest Privileges for OneDrive
The problem is that OneDrive must be started with the highest permissions at the time of connection.
Here is the solution:
- Open Task Scheduler” (search for it)
- Click on the small > next to the Task Scheduler library.
- Select CareCentre
- Double-click OneDrive
- At the very bottom of the edit page, there is a checkbox “Run with highest privileges”.
- Uncheck this box, click OK, and then close the task scheduler.
- If you restart your PC now, the error window should disappear.
Temporarily disable and re-enable administrative privileges
- Log in to your regular user account on your Windows 10 PC.
- Press Win+X keys on your keyboard -> click on PowerShell(Admin) to open it
- At the command prompt -> copy and paste, issue the following command: net user administrator /active:no
- Wait for the confirmation message at the command prompt.
- Try to see if the problem is resolved.
- Reinstate administrator privileges by performing steps 1 and 2 of this method and issue the following command: net user administrator /active:yes
Report the OneDrive error to Microsoft with full administrative rights.
If it is proven that the above methods do not solve your problem, we recommend that you report the problem to Microsoft.
RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance
CCNA, Web Developer, PC Troubleshooter
I am a computer enthusiast and a practicing IT Professional. I have years of experience behind me in computer programming, hardware troubleshooting and repair. I specialise in Web Development and Database Design. I also have a CCNA certification for Network Design and Troubleshooting.