Why NOT to run Opus as Administrator under UAC

UAC Support

Directory Opus supports Windows UAC and will prompt for elevation when required to perform administrator actions. The program itself does not need to be run elevated, and doing so can actually cause problems (detail below).

Opus also has a unique Admin Mode -- unrelated to the general "Run as Administrator" setting provided by Windows -- which lets you click a toolbar button and then perform multiple administrator actions without repetitive UAC prompts.

Admin Mode is local to the Opus window it's used on, and does not affect the rest of the program/process. (External programs launched while in Admin Mode will usually be elevated, however. More on this below.)

For more information about Opus's general UAC support, please see UAC and Administrator Mode in the manual.

This FAQ is about something slightly different:

Why you should not normally launch dopus.exe as an elevated process

If you have UAC enabled then it is not a good idea to launch the whole Directory Opus (dopus.exe) process elevated via the "run as administrator" option.

You should instead run Opus at the standard level, as you would most other software, and use the built-in UAC support and Admin Mode functionality to elevate individual commands or windows when required.

Of course, if you have UAC turned off completely in Windows then the issues discussed below do not exist. (But that is hard to do on Windows 10. In the Windows UAC Settings UI, moving the slider to the lowest option no longer turns off UAC; it leaves UAC on and configures the OS to silently accept all UAC prompts before they are shown.)

Similarly, if UAC is on but you are using an account which is not subject to it (typically the hidden built-in administrator account) then the issues below become moot as well.

There's no issue with running Opus as administrator if the rest of your desktop is also running as administrator. Opus works just as well with admin rights as without them.

Problems occur when the whole Opus process is running at a higher elevation level than the rest of your desktop, since other parts of the desktop are then blocked from communicating with it.


The UAC security model prevents or limits interaction between elevated and non-elevated processes. As a consequence of this, if you run Opus elevated under UAC then:

  • Double-click on the Desktop to open Opus will not work at all.
  • Explorer Replacement will not work correctly (if at all).
  • Drag-and-drop between Opus and other programs may be blocked.
  • Network shares (mapped drives) created as a non-elevated user may not be available.
  • Other programs launched from Opus will inherit administrator privileges.

The ramifications of the last item may not be immediately apparent but are significant. Other programs which you launch from an elevated process will be elevated themselves and they will inherit the "non-interaction with non-elevated processes" limitation. This can mean things like keyboard-macro tools do not work with the elevated programs because they are blocked from sending messages to them.

There are also several programs which (due to registry/filesystem virtualization) will load and store their settings in a different place when launched elevated. For example, you may launch a program elevated and change its configuration, then run it again without elevation and discover your configuration changes are not reflected.

If you have set the whole Opus process to "Run as Administrator" then we recommend turning that off.

(Opus's per-window Admin Mode will also cause software it launches to be elevated. This means the last item, only, is also something to keep in mind when using Admin Mode. Programs launched from an Admin Mode window are elevated under the assumption that you may need them to modify files in a folder where admin rights are required. So you should turn off Admin Mode, or close the elevated window, once you are finished doing admin tasks.)

Quick ways to see if Opus is elevated

Starting with Directory Opus 11.17, Opus will detect the elevation mode and indicate it in the title bar.

Nothing extra appears when everything is normal:

When using Opus's Admin Mode, the word "Administrator" in the title bar indicates that the individual window, but not the whole process, has been elevated. This is fine:

But if you see "ADMINISTRATOR" in all-caps, as below, then the whole process has been elevated and you may run into problems:

On older versions of Opus, or if you wish to double-check:

To quickly test whether Opus is running normally or elevated, go to C:\Windows and try to create a new folder. If you are able to create a folder there without a UAC prompt then one of the following must be true:

  • UAC is off completely. (That's OK.)
  • UAC is on, but you have Windows set to automatically click 'yes' to all UAC prompts. (That's OK, but means the test was inconclusive.)
  • UAC is on, but you're using an account which is not subject to UAC. (That's OK, but a rare configuration.)
  • UAC is on, and the entire Opus process is elevated. (This is what can cause problems and should be avoided.)

For completeness, it's also possible that:

  • The Opus window you used was switched into Admin Mode. (Obviously, do the test without putting the lister into Admin Mode!)
  • Your C:\Windows folder permissions are messed up. (That would make the test inconclusive and may cause issues with Windows generally, but is unrelated to Opus.)

In newer versions of Windows, you can also check using Task Manager. This gives a more definitive answer, even if UAC is enabled but set to silently click 'yes' in all prompts. Open Task Manager, go to the Details tab, then right-click the header at the top of the list and click Select Columns. Add the Elevated column and see what it says for dopus.exe and explorer.exe:

Both should say No in the Elevated column.

How to turn off "Run as Administrator"

To turn off the "Run as Administrator" option, right-click on the Opus program shortcut and choose Properties.

On the Compatibility tab, make sure the "Run this program as an administrator" option is off.

While looking at the Compatibility tab, also verify that Opus is not set to run with compatibility mode for an older version of Windows.

On the Shortcut tab, click the Advanced button, and make sure the "Run as administrator" option is off there as well.

Finally, and if appropriate, make sure the thing you launch Opus from is not itself running as administrator. Anything launched by an admin process will inherit the admin elevation, unless the launching process goes out of its way to prevent it (and very few do).

1 Like
Administrator mode
Two problems with recent versions under Win10
Starting dopus
System administration
Open containing folder issues
Windows start menu items
DOpusRT:Unable to launch Directory Opus\Utilities\
Open .zip archive from browser
Desktop double-click setting does not hold
Windows 8: "create a shortcut to this layout" fails
Recovery Volume showing drive letter
Can't drag from Desktop to Opus running as Admin
Dopus launched as Admin at startup makes start menu useless
Registration Certificate installation problems
DOpus 10.1 Default Settings
Control Panel and DO 10
Directory Opus 12 DLL loading causes control panel slow start
Unable to drag and drop from encrypted folder
Explorer Replacement on Windows 10
Overlay icons are not updated automatically
Handling of removed media
What caused the change?
Admin mode is gone under Win 7 - 64 bit
Searching does not work
UAC and context menu applications
Very Slow Searching
DO and environment variables
System administration
Can't drag/drop files onto Taskbar lister items
Cannot Open Excel Files 2
Issue exiting USB-version
Read Only
Why Opus hangs?
Windows 7 admin wierdness
DO 11 Starting
DOpus no longer Windows Explorer replacement
How to remove ADMINISTRATOR from title bar?
Directory Opus and Drag&Drop
Multiple instances of Directory Opus (with SuRun)
Elevated Command Prompt
New Laptop - Opus won't start
Windows + E has just stopped working
How to remove ADMINISTRATOR from title bar?
Default List Not Working Windows 11
Cannot drag from Calibre to Opus
Drag and drop not working with applications
Does DO 9.5.6 work in Win 10 x64?
"Double-Click on the Desktop" doesn't work
UltraCompare and Opus Context Menu
W8: Double-click on desktop not working?
Thycotic slow if Opus run at boot
DO (and other tools) can't start again
Explorer Replacement - Windows 10
UAC temporary elevation for a lister in Windows 7
Explorer Replacement - Windows 10
Freeze loading 3rd folder into Opus from outside (11.13 x64)
Strange Find results
Click fails to open folder
Windows explorer replaced Directory Opus
How to Exit Directory Opus
Virtual Drives Disappeared
Cannot copy or move files between Adobe Bridge and Directory Opus
List of FAQs organised by topic
Crash, exit or high CPU when right-clicking certain files
Double click on desktop stopped working
Strange access error in a special situation (DirOpus 10)
Win8 Broke opening of folders?
Can't open folders or shortcuts
Opus doesn't launch at startup
How to change the default double-click handler (explorer.exe
Windows 10 OneDrive no Share in context menu
No refresh on renaming, deleting etc
UAC and Administrator Mode
Error loading
Cannot access DO folder shortcuts on desktop
Start DOpus with admin credentials
Viewer unable to open images from OneDrive using files on-demand
Problem with Lister Layout menus
Cannot access DO folder shortcuts on desktop
"DOpusRT: Unable to launch Directory Opus"
Specified Logon Session Does Not Exist
"Admin" Button Not Responding
UAC prompt for admin when starting Opus
Can no longer drag URL from Chrome address bar to Opus
Desktop double-click after update
Can't run application as administrator from dopus
Seer Pro is not working on Windows 10
Changes to folders are not being detected
Win Explorer replacement does not work with DO in admin mode
Error message when copying files
Error message when copying files
Directory Opus and Firefox?
DOpusRT: unable to launch directory opus
Cannot open folder from IDM
DO isn't working with Desktop Icons
Directory Opus 11 - Cannot send command to application error
Double-clicks don't work; DO often doesn't start at all
No Printer folder and control panel in Win7 Ultimate
File association problem?
Bug in does not show network drives
File Association issue when double clicking a Visual Studio 2017 solut
DOpus "blocking" control panel in Win 8 x64
Launching DO via Double Click on the Desktop [DisplayFusion]
Win+E not launching Opus if dopus.exe set to run elevated