Skip to content

Published: October 21, 2016 | Applies to:

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.


SHARE: Facebook Google+ Twitter

Leave a Reply

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

What's New


Recent Comments

  • frozen nerd : i also tried uninstalling avast, disabling all startup progr...

    2 hours ago

  • frozen nerd : i have a win 10 home OEM from ASUS tried this and got the ...

    2 hours ago

  • Darren : Thank you, Kapil! The first two netsh commands and reboot ju...

    4 hours ago

  • Charles : I followed your steps but got stuck at step 9 since I couldn...

    9 hours ago

  • Barry : Fantastic! You solved my problem with very clear instruction...

    10 hours ago

  • Keith Fessey : Ok, so whats the difference between the "recovery key" and t...

    14 hours ago


Windows Group Policy Troubleshooting