voicemeeter-windows-volume icon indicating copy to clipboard operation
voicemeeter-windows-volume copied to clipboard

Autostart as admin

Open atwk opened this issue 2 years ago • 2 comments

Can you adjust the script to let VMWV start as admin with standard users? With app-launcher.vbs in autostart I don't manage to give admin rights and with VMWV.exe in autostart VMWV doesn't start.

I installed VMWV on my kids' PCs because only VMWV allows Logitech keyboards to control Voicemeeter via jack while streaming their game to the living room via HDMI. But Windows UAC asks for the admin password at every startup.

atwk avatar Oct 05 '22 09:10 atwk

I second this request. Also, sometimes it doesn’t launch at Start and I’m wondering if this is why and I’m not getting a UAC pop up.

ebug64 avatar May 04 '23 09:05 ebug64

There are currently a couple of reasons for the admin requirement:

  1. Grant access to the task scheduler
  2. Grant the ability to launch the application with a hidden window (it's technically a console app)
  3. Change process priorities and core configurations (for the usb crackle fix)

I can likely decouple the task scheduler into it's own elevated prompt that asks permissions only when setting auto-startup options. As for the second point, there are much more modern ways to launch applications hidden using PowerShell that do not require the elevated permissions. The third point I'll need to think about a bit.

I'll take a look in the coming week, but I feel like I may be able to remove the admin requirement altogether and do away with the .vbs launchers in the same stroke - and then work out something for point #3. If not, then an alternative startup could probably be made to work in your configuration.

I'll update this ticket when I look at it. Until then, just speculating out loud :)

Frosthaven avatar May 12 '23 05:05 Frosthaven