Right-Click Run As Admin on Shortcut Opens "Run as different user" Pop Up

Windows 11 21H2 64-bit build 22000.194
Dopus 12.25 x64 (exported to portable USB drive)

Right click on a shortcut and select "Run as Administrator". A Run as different user dialog pops up asking for user credentials.

Steps to reproduce:

In Directory Opus:

  1. Create a new empty test.bat file.
  2. Create shortcut to test.bat called test.bat - Shortcut.
  3. Right click on the test.bat - Shortcut link.
  4. A Run as different user dialog popups.

1

Rerun steps 3 in regular Windows File Explorer. No Run as different user dialog pops up. Instead, the regular User Account Control dialog pops up asking if you want to allow.

This issue seems to work as expected in version 12.28 Beta 1 x64.

It wasn’t anything we changed. :slight_smile:

Interestingly, after I rebooted my computer, it's not working anymore. Spoke too soon.

Still an issue in version 12.29. Works as expected on any application. Doesn't work on any shortcuts.

Here's another test in WIndows 11 22H2 64-bit using Directory Opus 12.29 x64.

Test: In Directory Opus, right-click on shortcut and select Run as administrator.
Expected Result: UAC dialog pops up asking "Do you want to allow this app to make changes to your device?"
Actual Result: A Windows Security Run as different user dialog pops up asking for credentials.

Steps to reproduce in Directory Opus

  1. Create a shortcut to C:\Windows\notepad.exe on the desktop.
  2. In Directory Opus, navigate to the newly created shortcut on the desktop.
  3. In Directory Opus, right-click on the shortcut.
  4. Select Run as administrator. Instead of a UAC dialog showing up, you will see the Windows Security Run as different user dialog where you have to enter credentials:

image

Retry same test without Directory Opus

  1. Right-click on the C:\Windows\notepad.exe shortcut on the Windows desktop.
  2. Select Run as administrator.
  3. A UAC modal dialog pops up.
  4. Click Yes and Notepad runs elevated WITHOUT the need for user credentials.