Where does the data for the Environ Object reside

Hello,
         SomeOne sent me code that loops through the Environ Object looking for a specific varialble.  The one I am looking for does not exist.

       So where does this Environ Keys exist?

      Is it the registry?  If so which part?

Thanks
Bill
     
     
bill_homeAsked:
Who is Participating?
 
EDDYKTCommented:
HKEY_LOCAL_MACHINE\System\currentcontrolset\control\session manager\environment
0
 
EDDYKTCommented:
for user

HKEY_CURRENT_USER\environment
0
 
bill_homeAuthor Commented:
It seems like it gets data from a few places. some of the keys I see as I step through are in one or the other sections you mention above.  Is it ok for me to add to these folders?  I will be accepting your answer shortly.  Thanks for the qucik response.  It is urgent.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
EDDYKTCommented:

sure
can you see it from command prompt?

type set on the command prompt
0
 
bill_homeAuthor Commented:
I added an Enviroment var in hkm\system\controlset001\control\session manager\environment..seemed to work ok.

Thanks again
Bill
0
 
bill_homeAuthor Commented:
do not add any keys to hkm\system\controlset001\control\session manager\environment YOUR PC WILL CONTINUE TO REBOOT...CAN'T GET IT GOING EVEN IN SAFE MODE.  NEEDS TO BE RE-BUILT
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.