I have a program that has trusted access. I would like to use a command that I can put in a batch file to deny all access to this program when I run the batch file. I would then need a command that I can put in a batch file that would reset the program to trusted access.

Is there any way to do this?