We help IT Professionals succeed at work.

Java script to set each user settings to "Direct Connect"

bojangles714
bojangles714 asked
on
We have kind of an issue. Our users are logging in to the PCs and are having issues with a web based application that uses Java. We found the fix to set the network settings to "Direct Connect" under the network settings by using javacpl.exe.

We want this to be automated though. I have looked everywhere on how to have a script that would set this for me but I had no luck.

Is there anyway to do this?
Comment
Watch Question

you should be create a rules from AD for java script run every user.

Author

Commented:
No this is actually an issue with the proxy settings. Not running the script itself. We have located the deployment.properties file and trying to figure out how to make this work at this time.
We figured it out. It is under %appdata%\Application Data\Sun\Java\Deployment.

Within the deployment.properties file just add:

deployment.proxy.type=0

to the file.

We are using a login script that does the following:

echo deployment.proxy.type=0 >> "%appdata%\Application Data\Sun\Java\Deployment"

Good Day!