Is there a way to start tools from a batch file in Windows without UAC?

Rodolfo June 22, 2011

There are some tools like CCleaner where the UAC pop-up window is activated every time they are called. Is there a way to call them from a batch file and tell UAC that the tool is OK and no pop-up window is required?

  1. Tina
    June 25, 2011 at 10:48 pm


    were any of the tips above helpful? Please let us know!

    June 22, 2011 at 9:12 pm

    Hello, You can use the following batch file to clean your computer when shutting down.  It is a batch file that cleans the dns cache and starts ccleaner.  When ccleaner is finished doing its thing, computer shutdown automatically:

    start ipconfig /flushdns
    start ccleaner.exe /AUTO /SHUTDOWN

    To save this file as batch, open notepad and then copy/paste the lines above.  Make sure that when you save the file, you change the save as type to: All files.  Make sure that you add the .bat extension after the file name. 

  3. Anonymous
    June 22, 2011 at 5:56 pm

    Create UAC White List

    You can start the application on boot using Task Scheduler instead which should
    allow you to bypass the UAC popup.
    For example, for soft:
    - Start Task Scheduler
    - Create basic task, give it a name
    - Set trigger as When I log on
    - Set Action as Start a program
    - Point Program to soft.exe
    - Set Add Arguments to: -T
    - check "Open the Properties dialog for
    this task when I click Finish", click finish
    - Select "Run with highest privileges", OK 

    UAC Trust Shortcut 1.0

  4. Jeffery Fabish
    June 22, 2011 at 2:24 pm

    This article might help you, rather sophisticated (i'd just disable UAC all together)