In this post, we will be discussing an extremely annoying problem that you may encounter on your Windows 10 PC when the device’s environment variables are disturbed. Most of us use 3rd party applications on our Windows devices. But, at times, these applications can sneakily make changes to the environment variables on the device. And as a consequence, the device stops working properly. If you want to know how to fix this issue, read on and explore the solutions mentioned below.
Adding a New Environment Variable into Safe Mode
Follow these steps mentioned below:
- At first, reboot the system and hit F4 once you see the logo of startup.
- Then click on the Safe Mode option.
- After that, hit the Windows and R hotkeys simultaneously to open the Run pop-up.
- Later, input “msconfig” in it and press the Enter button.
- Hit the Boot section, and beneath the Boot Options, mark the box of Safe Boot.
- Now, hit the Apply button.
- After that, click on OK.
- Once you have rebooted the system into Safe Mode, reach the System Properties option and hit the ‘Advanced System Settings’ option.
- You should select the ‘Environment Variables’ option.
- Go to the New option located beneath the System Variables section.
- In this case, go to the ‘Variable Name’ section and input “windir.” In the Variable Value section, insert “C:\Windows.”
- Now, hit on the OK button and quit every screen to apply the setting.
Using System Restore for Restoring the Older Settings
You may use system restore to restore the earlier settings by following these steps mentioned below:
- At first, reboot the Windows with Safe Mode enabled.
- Thereafter, reach the system Properties, and select the ‘Advanced System Settings’ option.
- You should click on the System Protection section and choose the ‘System Restore’ option.
- Then select the Restore Point option, and hit on the Next button.
- Later, press the Yes button and wait to finish the restoration process.
Adding Regularly Missing Variables into Safe Mode
You can add regularly missing variables into safe mode by following these steps mentioned below:
- Firstly, reboot the Windows with Safe Mode Enabled.
- Thereafter, reach the System Properties option and then choose Advanced System Settings.
- You should choose the Environment Variables option.
- Later, select the New option beneath the System Variables section.
- Once you reach the Variable Name input and Variable Value, insert the following command:
- CommonProgramFiles=C:\Program Files\Common Files
- CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
- CommonProgramW6432=C:\Program Files\Common Files
- ProgramFiles=C:\Program Files
- Later, hit the OK button and close all the screens to apply the settings.
- Finally, restart the PC normally.
No comments:
Post a Comment