Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active Directory GPO - Environment Variables

Status
Not open for further replies.

pelcakm

IS-IT--Management
Jun 9, 2006
12
US
I need to change two environment variables for users in my network, specifically a software oriented variable SMLNJ_HOME and then add something to the PATH variable. I would like to do this using a Group Policy in Active Directory since I have a fair amount of users who will need these changes. How might I go about making this GPO?



 
Check out DesktopStandard's free PolicyMaker Registry Extension tool. The values that you want to set can be worked into a GP using this free tool. DeskTop standard was aquired by Microsoft semi-recently, so you know their tools are up to snuff.


ShackDaddy
Shackelford Consulting
 
Thanks for the info but I actually got this one solved. I created a custom ADM template that changed the environment variables:


CLASS USER

CATEGORY "Environment Variables"

POLICY "Environment Variables"
KEYNAME "Environment"

PART "Set SMLNJ_HOME =" EDITTEXT
DEFAULT "c:\smlnj"
VALUENAME SMLNJ_HOME EXPANDABLETEXT
END PART
PART "Set PATH =" EDITTEXT
DEFAULT "%PATH%;c:\smlnj\bin"
VALUENAME PATH EXPANDABLETEXT
END PART

END POLICY

END CATEGORY
 
I'd replace this:
DEFAULT "%PATH%;c:\smlnj\bin"
with this:
DEFAULT "%PATH%;%SMLNJ_HOME%\bin"

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top