Where are environmental variables stored

Posted on 2007-04-05
Medium Priority
Last Modified: 2013-12-05
I have a crashed server, I can slave one of the HDD's and I need to pull some software specific info from the environmental variables section.  How can I find the values for the environmental variables from a slaved HDD?
Question by:bcameron70
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Author Comment

ID: 18861627
It is a 2000 server
LVL 22

Expert Comment

by:Christopher McKay
ID: 18861634
The environment variable are stored in the registry. Typically here:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

Hope this helps!



Author Comment

ID: 18861664
Can I use remote registry to get to the slaved drive registry?
LVL 22

Accepted Solution

Christopher McKay earned 2000 total points
ID: 18861723
Try this:
Click Start
Click run
type "regedit" (no quotes)
click ok
click on and highlight  HKEY_LOCAL_MACHINE
click on file
click load hive
browse to your slave disk
load appropriate hive.
copy entries  to .reg file.
close registry editor
Use the .reg file to import your registry entries into the registry on the new system.

Hope this helps!



Author Comment

ID: 18861785
Thank you

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After having deployed hundreds of thousands of Terminal Services seats worldwide, I still see all the time people asking me that same old question: "If TS/RDS is that reliable why are you telling me I should reboot it that often? My DC/SQL/Exchange/…
On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question