We help IT Professionals succeed at work.
Get Started

windows server 2008 r2 environmental variables

Last Modified: 2017-12-05

We have a terminal server that employess logins to use one specific software.  The software requires each individual user to have their own environmental variable value (the actual variable will be the same).  I don't want to have to do it on each individual username manually.  I know i can create a batch file and set environamental variable via setx.  My question is, how would i get setx to set  same variable but different value for each individual user via cmd/batch.  This way I can just add it to gpo and have it run when they login
Watch Question
Technology and Business Process Advisor
Most Valuable Expert 2013
This problem has been solved!
Unlock 2 Answers and 5 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE