Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

GPO add specially-formatted entries to beginning of system PATH?

$
0
0

We need to PREPEND (not append) entries to system path.  The entries must be added to the beginning of the path, not added to the end for the functionality required.

We also need to added some variables to the path, such as %JAVA_HOME% and %ORACLE_HOME% as opposed to hard coded paths such as C:\Oracle or C:\Programs (x86)\Java etc..

I tried setting this with GPP, but it is not working.

I was able to add %JAVA_HOME% and %ORACLE_HOME% as system variables, but I was not then able to use those variables in the path.  When I added then in the GPP, they were ignored. 

Using these variables will allow changing the path of the variable without having to manually change the system path each time.

Users are able to do this using the Systems properties GUI, but I don't see any way to enter the same text into the system path via GPO or even a batch file.  When I try a batch file to set the path, it converts JAVA_HOME and ORACLE_HOME text to a hard coded path and we don't want that.

Is there another way to deploy these required system settings?





Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>