Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am facing a problem on Windows XP with environment variables.

Scenario: We have some services installed on an XP machine. These services have login accout set to the Local System acccount. Then we install another servoce with a new login user which is created during installation for the service. User has admin rights. The new service is started. We restart other services which were installed before, now if we check the environment variable USERPROFILE of other services, we find it changed to the new user created above instead of 'Local System'.

Why does it happen? Where is this USERPROFILE stored in the registry?

We don't want the USERPROFILE value for any other service to be changed. But it happens when we restart the new service with new user. I think it happens with any service on restart other than local system account.

share|improve this question
Other point is ...if we restart a service with logOn account as local system account, then it doesn't refect USERPOFILE change untill system is rebooted. is there any way to propogate those changes without restarting in XP? – Rahul Dec 6 '12 at 9:21
Any reply for this ? – Rahul Dec 14 '12 at 14:00

Your Answer


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

Browse other questions tagged or ask your own question.