[FIX] System Could not Find Environment Option that was Entered

This is a very irritating issue that arises when the Environment Variables of the Windows system are disturbed. The main reason why this occurs is due to the Third-Party Software that users install on their system. These software applications silently change the Environment Variables on your computer and the result is that most of the other system processes stop working. Users may run into issues like unable to perform operations that require user privileges, most of the executable files turn into shortcuts, and unable to open windows core programs like Task Manager and Command Prompt. The user will keep the following error popping up on the screen:

System Could Not Find The Environment Option that was entered

Method 1: Add a New Environment Variable in Safe Mode

In this method, we read the System variable called “Windir”. Windows has a built-in system variable called “Windir” which points to the Windows directory. But this variable can also be edited or removed by the user or some other program. This variable is required by the batch scripts to run correctly and certain system applications also point to the path stored in the “Windir” variable. So if this variable is broken then all these applications that are dependent upon it also stop working.

  1. Restart your system and press F4 when you see the start-up logo and then select Safe Mode
    Boot using Safe Mode
  2. If you do not know which function key Enters the Safe Mode then press the Windows key  + R. This will open up the Run Dialog box. Type “msconfig” and press OK.
    Type msconfig and Click OK
  3. Select the Boot tab and under Boot Options, check the Safe Boot option. Now click Apply and then OK and restart the system.
    Check Safe Boot Option in msconfig
  4. Once your system restarts in Safe Mode go to your System Properties and click Advanced System Settings

    Click Advanced system settings
  5. Click Environment Variables

    Click Environment Variables
  6. Click New under System Variables
    Click New under System Variables
  7. In the Variable Name enter “windir” and in the Variable Value enter “C:\Windows” (The path to the directory where you installed Windows)
    Windir Variable
  8. Click OK and close all windows to save the settings

Method 2: Use System Restore to Restore Your Previous Settings

In this method, we try to restore the Windows to earlier settings where all the previous functionality is restored discarding any harmful changes done to your computer. For this purpose, there is a utility in Windows called System Restore. But for this method to work your system should have an already created system Restore point. These Restore Points are either manually created by the user or sometimes it is automatically created when another application tries to make any critical changes to the System.

  1. Restart your system with Safe Mode Enabled
    Boot using Safe Mode
  2. Go to your computer Properties and click on Advanced System Settings
    Click Advanced system settings
  3. Go to the System Protection tab and click System Restore…
    Go to System Protection Tab and Click System Restore…
  4. Chose the Restore Point and Click Next
    Click a Restore Point to select it
  5. Click Yes and wait for the system to Restore
  6. Once you are restored you will see that the system has returned to its normal state.

Method 3: Add Frequently Missing Variables in Safe Mode

It is possible that more than one Environment Variable is missing from the System. In this method, we try to add the most common Variables that have been reported to be missing by other users as well. There are System Variables which means these are normally set up by Windows but you can also insert them manually into the registry.

  1. Restart your system with Safe Mode Enabled
    Boot using Safe Mode
  2. Go to your System Properties and click Advanced System Settings
    Click Advanced system settings
  3. Click Environment Variables
    Click Environment Variables
  4. Click New under System Variables
    Click New under System Variables
  5. In the Variable Name enter and Variable Value enter  the following:
    CommonProgramFiles=C:\Program Files\Common Files
    
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    
    CommonProgramW6432=C:\Program Files\Common Files
    
    ProgramFiles=C:\Program Files
  6. Click OK and close all windows to save the settings
  7. Now Reboot your system normally
Kevin Arrows
Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

[FIX] System Could not Find Environment Option that was Entered

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested