
Environment variables are strings that contain information such as drive, path, or file name, etc. They control the behavior of various programs. Below is a list of some environment variables compiled. For more details, see how the environment variable was set for Cygwin. An environment variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs. There are two types of environment variables: user environment variables (set for each user) and system environment variables (set for everyone). By default, a child process inherits the environment variables of its parent process
Solution: This is because the %SystemRoot%System32
value is not part of the system PATH variable or there is a problem with the Operating System when expanding the %SystemRoot%System32 to C:Windowssystem32
.
Steps to solve this
Check the following as a possible solution
– Go to Control Panel
– System and Security
– Click Advanced system settings, Or use the following steps below.
- From the Control Panel
- Click on System and Setting
- Click on System
- Click on Advanced System settings

- Click the Environment Variables… button
- Find the Path System variable, highlight it and click the Edit… button
- Make sure it has %SystemRoot%System32; in the variable value. If it is missing add it and click OK as shown below
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.