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?
were any of the tips above helpful? Please let us know!
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.
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
This article might help you, rather sophisticated (i'd just disable UAC all together)