Java settings

We need help with java. We had to install Java 7 Update 21 on companies' PCs. We have to answer the follow questions. When the user first signs into web app the get the message on the right. Then when they click on a person on the web app they get the message on the left. TO stop the message on the left we have to go into control panel and click on Java then advance then select mixed code and select enable -hide warning and run option.

I was wondering if we can do this from a script. We are getting hundreds of calls to remote into their PCs to take care of this.