Open LucasOe opened 1 year ago
This makes sense - it uses administrative level access to ensure it can start a hidden window. I'll see if we can add some logic to have it inject the current windows username instead when I next open it up. Thanks for the submission.
I've been having a similar problem, though I don't have the technical knowledge to know if it's the exact same problem. Any way I can manually add a startup task for this applet until the dev updates it to fix the issue?
I've been having a similar problem, though I don't have the technical knowledge to know if it's the exact same problem. Any way I can manually add a startup task for this applet until the dev updates it to fix the issue?
Yeah you can absolutely do that! Enable the automatically start option for now so that you can open windows task scheduler and investigate the task for it if you need to see exactly what it calls - but beyond that you can certainly make your own task based on it and disable the built-in autostart feature.
I am having the same problem and I just cant seem to get it to work
I found a solution for that Problem.
Cred: SimplyCoded Vid REF: https://www.youtube.com/watch?v=Jg2UFoMWDB4
Code REF: https://gist.github.com/codeartery/1252670806e4b7d8993a38be448f58f0
Code:
REM:<RunAsAdminNoUAC>
With CreateObject("WScript.Shell")
If WScript.Arguments.Named.Exists("CreateTask") Then
.Run "schtasks /Create /SC ONCE /TN """ & WScript.ScriptName & """ /TR ""wscript.exe \""" & WScript.ScriptFullName & "\"" /AsAdmin"" /ST 00:01 /IT /F /RL HIGHEST", 0, True
ElseIf Not WScript.Arguments.Named.Exists("AsAdmin") Then
If .Run("schtasks /Query /FO CSV /NH /TN """ & WScript.ScriptName & """", 0, True) = 0 Then
.Run "schtasks /Run /TN """ & WScript.ScriptName & """", 0, True
Else
CreateObject("Shell.Application").ShellExecute "wscript.exe", """" & WScript.ScriptFullName & """ /CreateTask", "", "runas", 1
End If
WScript.Quit
End If
End With
REM:</RunAsAdminNoUAC>
I edited C:\Program Files (x86)\Voicemeeter Windows Volume\app-launcher.vbs
and put this code before the code that is already in there:
'NEW CODE
REM:<RunAsAdminNoUAC>
With CreateObject("WScript.Shell")
If WScript.Arguments.Named.Exists("CreateTask") Then
.Run "schtasks /Create /SC ONCE /TN """ & WScript.ScriptName & """ /TR ""wscript.exe \""" & WScript.ScriptFullName & "\"" /AsAdmin"" /ST 00:01 /IT /F /RL HIGHEST", 0, True
ElseIf Not WScript.Arguments.Named.Exists("AsAdmin") Then
If .Run("schtasks /Query /FO CSV /NH /TN """ & WScript.ScriptName & """", 0, True) = 0 Then
.Run "schtasks /Run /TN """ & WScript.ScriptName & """", 0, True
Else
CreateObject("Shell.Application").ShellExecute "wscript.exe", """" & WScript.ScriptFullName & """ /CreateTask", "", "runas", 1
End If
WScript.Quit
End If
End With
REM:</RunAsAdminNoUAC>
'ORIGINAL CODE
scriptdir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
Set Shell = CreateObject("Shell.Application")
'{{INJECT_START:PKG}}
Shell.ShellExecute scriptDir & "\required\VMWV.exe", , , "runas", 0
'{{INJECT_END:PKG}}
At the last step i put the file Voicemeeter Windows Volume
out from C:\Users\$YOUR_USER_NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Voicemeeter Windows Volume
in the shell:startup
folder you can enter this folder by pressing Windows+R and enter shell:startup
.
I hope this helps. At the first run after Adding the new code it will ask you the last time for UAC but after that one it will never ask again.
It may be possible to copy the Voicemeeter Windows Volume
file autoimaticaly to the shell:startup
folder but i dont know how so maby somone else is so kind and reply to this.
It may be possible to copy the
Voicemeeter Windows Volume
file autoimaticaly to theshell:startup
folder but i dont know how so maby somone else is so kind and reply to this.
Actually, you can just create a shortcut. I don't know how to implement this on the developer's end, but I know it's possible; I've found shortcuts for programs I've installed (and enabled start with Windows on) in the folder without me putting them there.
Disclaimer: I haven't tested this thoroughly, but it did work for at least one Windows restart.
The steps for an end user are as follows:
Be aware that when typing in shell:startup to the Windows Run dialogue (what comes up with you press Win-R) it will open a new File Explorer window, which is handy if you have the folder your shiny new shortcut is in open in another File Explorer window. Of course, running shell:startup is much faster than finding the startup page in File Explorer manually, but the Windows Run dialogue can be intimidating for the less tech-saavy - it was certainly rather intimidating the first time I used it.
Yes of course you can do that but I focused on disabling the Windows UAC request. Which would not be necessary if the autostart of the program itself would work.
The solution was working perfectly, but suddenly it stopped working...
Now it gives an error asking me to insert the app-launcher.vbs in the Startup folder, then when I insert it, it asks for the VMWV.exe file - if I insert it (along with the folder required), when restarting the machine, it opens two instances of the application.
To whom it may concern: I was able to get the app to start automatically with Windows and bypass UAC using Task Scheduler. Just create a task with high privileges.
To whom it may concern: I was able to get the app to start automatically with Windows and bypass UAC using Task Scheduler. Just create a task with high privileges.
Can you show or tell us exactly what you put in. Because I tried that in several ways and it did not work for me.
To whom it may concern: I was able to get the app to start automatically with Windows and bypass UAC using Task Scheduler. Just create a task with high privileges.
Can you show or tell us exactly what you put in. Because I tried that in several ways and it did not work for me.
In the task created in Task Scheduler:
That's what worked for me.
When I uncheck and check the settings
Automatically Start With Windows
no task is created. When I try to manually import the task created byautoStartManager.js
with the following XML, I get an error "The specified account name is not valid":I think the reason autostart doesn't work for me is because of the GroupId
BUILTIN\Administrators
. Changing it to my User name fixes the problem.