Hello. I wonder is exist a way to manage via command line a pop-up window like UAC prompt for administrator privilages.
Can we enable auto-accept all popup window?
Hi,
That was not clear from your question.
Then the answer is No, you cannot suppress a UAC prompt if vmrun requires one to run.
That's not a vmrun limitation, but a Windows one and is due to how your host is configured.
If the host process that invokes vmrun is running with elevated credentials then you can start vmrun without invoking the UAC prompt.
That's exactly what the task scheduler solution I offered does.
It runs with elevated credentials and thus can run vmrun (or whatever) without triggering the UAC prompt.
See also:
https://lifehacker.com/how-to-eliminate-uac-prompts-for-specific-applications-493128966
--
Wil
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Hi,
You can use Task Scheduler.
On your task, General tab: check "run with highest privilege".
--
Wil
I asked using by VMRUN command line.
Hi,
That was not clear from your question.
Then the answer is No, you cannot suppress a UAC prompt if vmrun requires one to run.
That's not a vmrun limitation, but a Windows one and is due to how your host is configured.
If the host process that invokes vmrun is running with elevated credentials then you can start vmrun without invoking the UAC prompt.
That's exactly what the task scheduler solution I offered does.
It runs with elevated credentials and thus can run vmrun (or whatever) without triggering the UAC prompt.
See also:
https://lifehacker.com/how-to-eliminate-uac-prompts-for-specific-applications-493128966
--
Wil
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.