Skip to main content
added 105 characters in body
Source Link
user477799
user477799

The PATH environment variable is stored in Windows Registry under:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Control\Session Manager\Environment

...in Path parameter. ("x" in "ControlSet00x" is a digit.)

If the Registry is backed up as part of one of your System Restore checkpoints, you can extract the backed up copy without restoring your system to a previous checkpoint! To do this:

  1. Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.

  2. Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2

  3. Click Properties.

  4. Go to Previous Versions tab.

  5. Restore a previous version of this file as well as SYSTEM.LOG1 and SYSTEM.LOG2 somewhere else in your computer.

  6. Now open regedit and go HKEY_LOCAL_MACHINE.

  7. Select File->Load Hive...

  8. Give the address of the extracted SYSTEM file and then give a hive name, like SYSTEM-old.

  9. Now, find your PATH variable within this new hive.

    You can find it in HKEY_LOCAL_MACHINE\SYSTEM-old\ControlSet00x\Control\Session Manager\Environment

  10. Once you are done, unmount the hive and delete the backup fileSYSTEM, SYSTEM.LOG1, SYSTEM.LOG2 and several .BLF and .REGTRANS-MS files that Windows has made for these files.

The PATH environment variable is stored in Windows Registry under:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Control\Session Manager\Environment

...in Path parameter. ("x" in "ControlSet00x" is a digit.)

If the Registry is backed up as part of one of your System Restore checkpoints, you can extract the backed up copy without restoring your system to a previous checkpoint! To do this:

  1. Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.

  2. Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2

  3. Click Properties.

  4. Go to Previous Versions tab.

  5. Restore a previous version of this file as well as SYSTEM.LOG1 and SYSTEM.LOG2 somewhere else in your computer.

  6. Now open regedit and go HKEY_LOCAL_MACHINE.

  7. Select File->Load Hive...

  8. Give the address of the extracted SYSTEM file and then give a hive name, like SYSTEM-old.

  9. Now, find your PATH variable within this new hive.

    You can find it in HKEY_LOCAL_MACHINE\SYSTEM-old\ControlSet00x\Control\Session Manager\Environment

  10. Once you are done, unmount the hive and delete the backup file.

The PATH environment variable is stored in Windows Registry under:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Control\Session Manager\Environment

...in Path parameter. ("x" in "ControlSet00x" is a digit.)

If the Registry is backed up as part of one of your System Restore checkpoints, you can extract the backed up copy without restoring your system to a previous checkpoint! To do this:

  1. Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.

  2. Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2

  3. Click Properties.

  4. Go to Previous Versions tab.

  5. Restore a previous version of this file as well as SYSTEM.LOG1 and SYSTEM.LOG2 somewhere else in your computer.

  6. Now open regedit and go HKEY_LOCAL_MACHINE.

  7. Select File->Load Hive...

  8. Give the address of the extracted SYSTEM file and then give a hive name, like SYSTEM-old.

  9. Now, find your PATH variable within this new hive.

    You can find it in HKEY_LOCAL_MACHINE\SYSTEM-old\ControlSet00x\Control\Session Manager\Environment

  10. Once you are done, unmount the hive and delete SYSTEM, SYSTEM.LOG1, SYSTEM.LOG2 and several .BLF and .REGTRANS-MS files that Windows has made for these files.

added 229 characters in body
Source Link
user477799
user477799

The PATH environment variable is stored in Windows Registry under:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Control\Session Manager\Environment

...in Path parameter. ("x" in "ControlSet00x" is a digit.)

If the Registry is backed up as part of one of your System Restore checkpoints, you can extract the backed up copy without restoring your system to a previous checkpoint! To do this:

  1. Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.

    Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.

  2. Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2

    Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2

  3. Click Properties.

    Click Properties.

  4. Go to Previous Versions tab.

    Go to Previous Versions tab.

  5. Restore a previous version of this file somewhere else in your computer.

    Restore a previous version of this file as well as SYSTEM.LOG1 and SYSTEM.LOG2 somewhere else in your computer.

  6. Now open regedit and go HKEY_LOCAL_MACHINE.

    Now open regedit and go HKEY_LOCAL_MACHINE.

  7. Select File->Load Hive...

    Select File->Load Hive...

  8. Mount the file that you just extracted.

    Give the address of the extracted SYSTEM file and then give a hive name, like SYSTEM-old.

  9. Now, find your path variable within this new hive.

    Now, find your PATH variable within this new hive.

    You can find it in HKEY_LOCAL_MACHINE\SYSTEM-old\ControlSet00x\Control\Session Manager\Environment

  10. Once you are done, unmount the hive.

    Once you are done, unmount the hive and delete the backup file.

The PATH environment variable is stored in Windows Registry under:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Control\Session Manager\Environment

...in Path parameter. ("x" in "ControlSet00x" is a digit.)

If the Registry is backed up as part of one of your System Restore checkpoints, you can extract the backed up copy without restoring your system to a previous checkpoint! To do this:

  1. Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.
  2. Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2
  3. Click Properties.
  4. Go to Previous Versions tab.
  5. Restore a previous version of this file somewhere else in your computer.
  6. Now open regedit and go HKEY_LOCAL_MACHINE.
  7. Select File->Load Hive...
  8. Mount the file that you just extracted.
  9. Now, find your path variable within this new hive.
  10. Once you are done, unmount the hive.

The PATH environment variable is stored in Windows Registry under:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Control\Session Manager\Environment

...in Path parameter. ("x" in "ControlSet00x" is a digit.)

If the Registry is backed up as part of one of your System Restore checkpoints, you can extract the backed up copy without restoring your system to a previous checkpoint! To do this:

  1. Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.

  2. Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2

  3. Click Properties.

  4. Go to Previous Versions tab.

  5. Restore a previous version of this file as well as SYSTEM.LOG1 and SYSTEM.LOG2 somewhere else in your computer.

  6. Now open regedit and go HKEY_LOCAL_MACHINE.

  7. Select File->Load Hive...

  8. Give the address of the extracted SYSTEM file and then give a hive name, like SYSTEM-old.

  9. Now, find your PATH variable within this new hive.

    You can find it in HKEY_LOCAL_MACHINE\SYSTEM-old\ControlSet00x\Control\Session Manager\Environment

  10. Once you are done, unmount the hive and delete the backup file.

Source Link
user477799
user477799

The PATH environment variable is stored in Windows Registry under:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Control\Session Manager\Environment

...in Path parameter. ("x" in "ControlSet00x" is a digit.)

If the Registry is backed up as part of one of your System Restore checkpoints, you can extract the backed up copy without restoring your system to a previous checkpoint! To do this:

  1. Navigate to C:\Windows\System32\Config. I prefer to do this in an app like Multi Commander, so as not to disturb its NTFS permissions.
  2. Right-click on SYSTEM file. DO NOT mistakenly right-click on SYSTEM.LOG1 or SYSTEM.LOG2
  3. Click Properties.
  4. Go to Previous Versions tab.
  5. Restore a previous version of this file somewhere else in your computer.
  6. Now open regedit and go HKEY_LOCAL_MACHINE.
  7. Select File->Load Hive...
  8. Mount the file that you just extracted.
  9. Now, find your path variable within this new hive.
  10. Once you are done, unmount the hive.