From within my web application (ASP.NET/C#) I would need to create a button that, once clicked, can run a local batch file (Like in “C:/program files/batch.bch”.
This batch runs a shell application that is installed on each client machine of our intranet.
Are there any drawbacks (performance/security/processes) in running the batch file from the web application?
If you execute a client-side script by a central server and execute it with domain admin permissions you will get a security problem as local admins may change the script and therefore will be able to execute anything they want with domain admin permissions.
I would call that and privilege escalation vulnerability.
I would try to only execute programs/commands on the server that directly change data on the client (e.g. access the file-system via share or access the registry remotely).
Additionally as far as I remember the user will not get any GUI feedback therefore it is up to the server to monitor the output and success/failure state.