Hi @AnkiIt_wizard5 ,
To execute batch files through IIS, you need to grant sufficient permissions to the application pool.
If you use anonymous authentication on IIS, please edit it and check Application pool identity.
Then assign FullControl security permissions for the IIS AppPool\ApplicationPool. Because application pool is the user of current process. Process uses the identity of application to run batch file.
Find the directory where the batch file is located and go to the directory properties. In security tab, add the application pool, assign the FullControl permission.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang