Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a lab of developers that jump from workstation to workstation due to development and Debugging in a live production state (Robotics). I have one developer who is wanting to test a new compiler and wants his path to be modified upon login no matter which workstation he is on.

Basically, can I set his specific path variable to be added to his path to the compilers \bin directory located with his home user folder that's always mapped to U:.

The server is running Windows Server 2008 using AD, Terminal services is not running on this box. All workstations are Windows XP.

share|improve this question
up vote 1 down vote accepted

The user can use the "Environment Varaibles" dialog in the "Advanced" tab of "Comptuer Properties" to create a PATH variable. Anything they add there will be concatenated to the end of the system-wide PATH.

If your user has roaming user profiles then you're all set. If not, you could script something to add the necessary entry to the user's "HKEY_CURRENT_USER\Environment" registry during logon.

(A user can't use the traditional "SETX" utility to modify the global environment unless they're an Administrator. If they are, then you could use that, too, but I am loathe to encourage anyone to allow users to have Administrator rights. You shouldn't use an Administrator-level account for day-to-day computing activities ever.)

share|improve this answer
Thank You, once I set him to roaming profile he was able to compile on several workstations. – DevNULL Dec 21 '09 at 20:21
Sounds good! Glad I could help. – Evan Anderson Dec 21 '09 at 20:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.