How to elevate a batch file
Sometimes the functions in a batch file, like registering a .dll or adding a registry change, require elevated rights. You can elevate a batch file to run with administrative rights by doing the following steps:
- Create a filter by going to Creating Application Filters and following the instructions.
- Change the name in the test.bat filter to whatever the batch file name is.
- Click Save.
- Create the elevation policy by going to Create New Application Control Policies and following the instructions.
- Name it "Batch File Elevate Process Rights."
- Click Save.