WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

UAC

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

StartUp No Prompt

 Keywords:  Vista UAC No Prompt Consent Manifest Requested Execution Level AsInvoker As Invoker HighestAvailable Highest Available

Question:

With Vista UAC on,I created a simple wbt as Message("Hello","Hello") and compile as Requested Execution Level: highest available. When I execute the exe, I get "User account control" with Cancel or Allow. When I put to Startup, the exe shows on the Run Blocked Program. What can I do to let it run as UAC off. Thanks.

Answer:

The problem is that you are using highest available which would cause the UAC prompt to appear.

If you are looking to have your compiled WinBatch exe run during the startup process, you should compile the script using the 'Requested Execution Level' [ AsInvoker ] so that all users can run the software without the need for a UAC elevation.


A couple of exceptions:


See also: http://stackoverflow.com/questions/5427673/how-to-run-a-program-automatically-as-admin-on-windows-startup


Article ID:   W18323
Filename:   StartUp No Prompt.txt
File Created: 2012:07:24:10:37:46
Last Updated: 2012:07:24:10:37:46