First give an error: windows cannot find the file %windir%\please confirm whether the file is correct and try again
I was so desperate when I saw this error, because I found various Baidu path variables to recover. As a result, Baidu gave a bunch of environment variables to set methods and variable values, but I couldn't even get in with the environment variables.
Or it is recommended to find the file: Double-click to open it under C:\Windows\System32, and then I foolishly opened it, but the same error popped up after the card was stuck for a long time; some people said to open the system protection: Double-click to open it under C:\Windows\System32, and then the system restores it, and the same error popped up after the card was stuck for a long time; I tried it and wasted almost half a day. In the end, I had no choice but to find the network administrator. The network administrator looked at it and said: Reinstall the system, I can’t do it! I suddenly became dumbfounded and was stunned for a long time, regretting that I deleted it by mistake (actually, it was not that I deleted it by mistake, the reason was revealed later). It took me almost a day to install so many software, but I told me to reinstall the system. . . .
If a girl is suspected, I will cry in a hurry, but I can’t do it. I can only listen to the network administrator and reinstall the system! ! !
Two weeks have passed, and today I found that the path variables are gone, but this time I clearly know that it was Kingsoft Anti-Japanese! ! ! If I hadn't been careful, I wouldn't have known it. After using Kingsoft Antivirus for a few years, there was such a big bug. I must configure environment variables when I installed the software. It actually reminded me whether to block it or not. I chose to block it at that time. But if I don’t configure it, my software will not be useful, so I modified it again and chose to allow it. As a result, I was stuck for a long time without any movement, so I stopped it. Then when I saw it, I was stunned, and the path variables were all gone! ! ! Only four useless environment variables are left! ! !
I instantly remembered that it seemed like I had lost the path this way last time. I didn’t pay much attention at that time so I didn’t know it was Kingsoft’s pot. Then I was so angry that Kingsoft Anti-Japanese, who had been using it for several years, was the culprit! ! ! Then I uninstalled all the things about Kingsoft, and it is impossible to use them again in the future (I really won’t love them anymore). I was so disappointed! ! !
Kingsoft has finished complaining. Let’s talk about the main business. How to solve it? It is impossible to reinstall the system again, so I checked the error on Baidu and found that this blog post is feasible (I sincerely thank the author): /u010411264/article/details/53813287
The specific steps are as follows:
1. First restart the computer, then press and hold F8 to enter the debugging interface, select Troubleshooting->Select Advanced Options->Select Startup Settings->Search Restart->Press 4 to enter safe mode
2. After entering safe mode, it is similar to usual, but there is no network or other shortcut functions. Our purpose is to change the environment variables, so we directly enter the double-click under C:\Windows\System32 to open it, and then the environment variable window appears, click the environment variables, and create and add the missing variables (just copy the following variables directly, general):
PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PSModulePath: %ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules;
TEMP: %SystemRoot%\TEMP
TMP: %SystemRoot%\TEMP
USERNAME: SYSTEM
windir: %SystemRoot%
3. Let me declare that the above variables are all general, just copy and paste them directly. As for environment variables such as Java or python, we can set them at the same time, but our purpose is to ensure that the environment variables can be opened after exiting the safe mode, so I won’t say much about it here, and the installation locations of those variables are different, so it is difficult to agree to give them, so you only need to add them at any time according to your needs in the future.
4. After step 2 is completed, press OK to save, and then restart the computer. At this time, you will exit safe mode. Once you enter the desktop, you will find that it is different from before, and the environment variables must be good. Why do I say so: First, the folder in the taskbar was white before, but now it has returned to normal; second, there was a red cross before the volume setting in the lower right corner, but now it has returned to normal.
5. The next time is the time to witness the miracle. Find my computer -> Right-click properties -> Click Advanced System Settings, it's completely OK! ! !
6. Finally, I sincerely thank the original author for giving the solution, otherwise I would have really entered the dead cycle of reinstalling the system. I hope I can also help some people get rid of the worst solution of reinstalling the system.
I was so desperate when I saw this error, because I found various Baidu path variables to recover. As a result, Baidu gave a bunch of environment variables to set methods and variable values, but I couldn't even get in with the environment variables.
Or it is recommended to find the file: Double-click to open it under C:\Windows\System32, and then I foolishly opened it, but the same error popped up after the card was stuck for a long time; some people said to open the system protection: Double-click to open it under C:\Windows\System32, and then the system restores it, and the same error popped up after the card was stuck for a long time; I tried it and wasted almost half a day. In the end, I had no choice but to find the network administrator. The network administrator looked at it and said: Reinstall the system, I can’t do it! I suddenly became dumbfounded and was stunned for a long time, regretting that I deleted it by mistake (actually, it was not that I deleted it by mistake, the reason was revealed later). It took me almost a day to install so many software, but I told me to reinstall the system. . . .
If a girl is suspected, I will cry in a hurry, but I can’t do it. I can only listen to the network administrator and reinstall the system! ! !
Two weeks have passed, and today I found that the path variables are gone, but this time I clearly know that it was Kingsoft Anti-Japanese! ! ! If I hadn't been careful, I wouldn't have known it. After using Kingsoft Antivirus for a few years, there was such a big bug. I must configure environment variables when I installed the software. It actually reminded me whether to block it or not. I chose to block it at that time. But if I don’t configure it, my software will not be useful, so I modified it again and chose to allow it. As a result, I was stuck for a long time without any movement, so I stopped it. Then when I saw it, I was stunned, and the path variables were all gone! ! ! Only four useless environment variables are left! ! !
I instantly remembered that it seemed like I had lost the path this way last time. I didn’t pay much attention at that time so I didn’t know it was Kingsoft’s pot. Then I was so angry that Kingsoft Anti-Japanese, who had been using it for several years, was the culprit! ! ! Then I uninstalled all the things about Kingsoft, and it is impossible to use them again in the future (I really won’t love them anymore). I was so disappointed! ! !
Kingsoft has finished complaining. Let’s talk about the main business. How to solve it? It is impossible to reinstall the system again, so I checked the error on Baidu and found that this blog post is feasible (I sincerely thank the author): /u010411264/article/details/53813287
The specific steps are as follows:
1. First restart the computer, then press and hold F8 to enter the debugging interface, select Troubleshooting->Select Advanced Options->Select Startup Settings->Search Restart->Press 4 to enter safe mode
2. After entering safe mode, it is similar to usual, but there is no network or other shortcut functions. Our purpose is to change the environment variables, so we directly enter the double-click under C:\Windows\System32 to open it, and then the environment variable window appears, click the environment variables, and create and add the missing variables (just copy the following variables directly, general):
PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PSModulePath: %ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules;
TEMP: %SystemRoot%\TEMP
TMP: %SystemRoot%\TEMP
USERNAME: SYSTEM
windir: %SystemRoot%
3. Let me declare that the above variables are all general, just copy and paste them directly. As for environment variables such as Java or python, we can set them at the same time, but our purpose is to ensure that the environment variables can be opened after exiting the safe mode, so I won’t say much about it here, and the installation locations of those variables are different, so it is difficult to agree to give them, so you only need to add them at any time according to your needs in the future.
4. After step 2 is completed, press OK to save, and then restart the computer. At this time, you will exit safe mode. Once you enter the desktop, you will find that it is different from before, and the environment variables must be good. Why do I say so: First, the folder in the taskbar was white before, but now it has returned to normal; second, there was a red cross before the volume setting in the lower right corner, but now it has returned to normal.
5. The next time is the time to witness the miracle. Find my computer -> Right-click properties -> Click Advanced System Settings, it's completely OK! ! !
6. Finally, I sincerely thank the original author for giving the solution, otherwise I would have really entered the dead cycle of reinstalling the system. I hope I can also help some people get rid of the worst solution of reinstalling the system.