WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: dmulzet on January 21, 2021, 01:59:32 PM

Title: Running WBT file popup
Post by: dmulzet on January 21, 2021, 01:59:32 PM
When I run my WBT file I get the popup "Do you want to allow this app to make changes to your device".  How do I stop that message so the WBT can run unattended?
Title: Re: Running WBT file popup
Post by: td on January 21, 2021, 02:12:23 PM
It depends on how you are running your wbt file,  on your version of Windows, and on your version of WinBatch.  If you have a newer version of WinBatch on a newer version of Windows, from File Explorer window, you can just rename the file's extension to "wbt_if".  This also assumes that your script is not doing anything that requires elevated privileges.  Alternatively, you can just turn off elevation prompting, assuming you are allowed to do so.

This is an old subject so there are multiple articles at the Tech Database site and there is even a discussion of the topic in the Consolidated WIL Help file.
Title: Re: Running WBT file popup
Post by: td on January 21, 2021, 05:14:26 PM
Here is a link to one of several dozen UAC related articles in the Tech Database:

https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+~+Run~Scripts~on~Windows~Vista~and~Newer.txt (https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+~+Run~Scripts~on~Windows~Vista~and~Newer.txt)