I couldn't run the REG file because when I want to open the System Restore Point I face the error I explained. My processor model is: AMD Ryzen 7 6800 HS with Radeon Graphics, 3201 Mhz, 8 core
Deleting the system variable environment
I unconsciously deleted all rows and items in the system variable environment setting in windows 11 and right now when I want to go for the Clean install of Windows 11 using installation media and click on the media creation tool in my flash memory, I face this error: "the system could not find the environment option that was entered". what should I do with this problem?
Windows for home | Windows 11 | Install and upgrade
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
26 answers
Sort by: Most helpful
-
Anonymous
2023-04-30T02:52:29+00:00 -
Ramesh 176.5K Reputation points Volunteer Moderator2023-04-30T02:47:09+00:00 It's because the windir environment is missing. However, you can open System Restore by running the following from Win+R Run dialog:
c:\windows\system32\rstrui.exe
-
Anonymous
2023-04-30T02:44:42+00:00 The thing is the system restore point cannot be opened
-
Anonymous
2023-04-30T02:38:34+00:00 The system restore point cannot be opened and I face this error: 'windows cannot find '%windir%\system32\SystemPropertiesProtection.exe'
-
Ramesh 176.5K Reputation points Volunteer Moderator2023-04-30T02:30:22+00:00 Hi Hossein,
Open System Restore (rstrui.exe) and see if you have a restore point available. Let me know.
This REG file environment.reg has the default settings. It should recreate the missing variables (except the following ones):
- PROCESSOR_ARCHITECTURE
- PROCESSOR_IDENTIFIER
- PROCESSOR_LEVEL
- PROCESSOR_REVISION
Run the REG file, and post your processor model info here.