Skip to content

Learn how to fix 'The system could not find the environment option that was entered' error, when features in your Windows 10 doesn't works as expected.

In this article, we’re going to talk about a very irritating issue that may occur in your Windows 10 when environment variables of your system are disturbed. Many users like to use third-party software on their Windows machine. However sometimes these tools may silently change environment variables on your computer and as a result of this, most of the things will stop working.

Recently we came around similar kind of issue on a Windows 10 Pro running laptop. We noticed following symptoms:

  • Right clicking Start Button shows Start Menu instead of Win+X menu
  • We can’t open most of programs such as Command Prompt, Task Manager as their executable files turned into shortcuts
  • Can’t perform any of the system operations those require user privileges

Along with these symptoms, following error keep appearing:

This application will not run

The system could not find the environment option that was entered.

[FIX] The System Could Not Find The Environment Option That Was Entered Windows 10

After investigating a bit on this issue, we found that windir, which is system environment variable, was missing on the issued system and that’s the main cause for this problem. So if you’re also having same issue, fixes mentioned below will help you to solve it.

FIX : The System Could Not Find The Environment Option That Was Entered Error In Windows 10

FIX 1 – Via Environment Variables

1. Press W8K + R and type sysdm.cpl in Run. Click OK or press Enter key.

System Properties Windows 10

2. In System Properties window, switch to Advanced tab and hit Environment Variables button.

[FIX] The System Could Not Find The Environment Option That Was Entered Windows 10

3. Next, in the Environment Variables window, under System variables, click New.

[FIX] The System Could Not Find The Environment Option That Was Entered Windows 10

4. Then in New System Variable window, type Variable name as windir and Variable value as C:\Windows. Click OK, OK and close Environment Variables window.

*Substitute C: with your system root drive.

[FIX] The System Could Not Find The Environment Option That Was Entered Windows 10

Restart your machine and after reboot, the issue should be resolved.

FIX 2 – Using System Restore

If you find that you couldn’t proceed with steps mentioned in FIX 1 because you can’t open System Properties window as well, then you can go ahead and restore your system to some earlier date. In other words, you must restore your system to last known good configuration when this issue wasn’t in effect. Here is how to restore your system to earlier created point:

Steps to restore your system to earlier date in Windows 10

Check following video to illustrate this method:

Let us know via your comments, if issue still persists.


Facebook Google+ Twitter

1 Comment

  • It doesn’t work I done 1 method using safe mode. Was it correct to do it with safe mode?

  • Leave A Reply

    Your email address will not be published. Required fields are marked *

    Recent Comments

    • Kapil Arya : ^^ Do you still have the issue after trying above mentioned ...

      5 hours ago

    • jimc : Been there. Done that. The more I use windows 10 the more I ...

      6 hours ago

    • Lieve Fivez : I can't use MY Connect for my new tomt Tom Tom because I get...

      14 hours ago

    • Kapil Arya : ^^ It won't create any problem provided you delete the corre...

      14 hours ago

    • richard : by deleting the registory editor does it create any problem?...

      15 hours ago

    • Kapil Arya : ^^ It seems you're on Home edition and Group Policy Editor w...

      22 hours ago