Solve the problem of "enable block when first seen" && improve program running speed
Enable block on first seeing
I don’t know if you have ever encountered such a situation: the program suddenly reported a virus when compiling the program, although the result was also, but the speed was particularly slow, and then clicked into the browser to find a big title—— enable block when first seen :
impatient I don’t know what to do. In the end, I can only bite the bullet and look at it. There will be a solution below:
we know that this is the solution, but when you operate, you will encounter many obstacles. Why would I know? ? That's how I rolled over, oh oh oh, the solution process was very bumpy, in order to avoid my dear friends from making detours, so I wrote this blog, I hope it will be helpful to you.
problem
Following the direct process given by the official above, you will find that many things are difficult to find or even not found at all. Let me modify it and detail it:
solve
First, Win + R , open the menu bar, and then enter gpedit.msc to open the computer's local group policy editor, and
follow the following 4 steps:
Step 4 is done, double-click 5, as follows:
change unconfigured to disabled, and then confirm It's ok.
According to my compiler, the current compilation speed is about 10 times faster.
Become:
Not satisfied yet, let's continue;
Improve program running speed
Cause Analysis
The Windows Security Center that comes with the computer checks the files that the computer runs, which causes the original speed of compiling a code to become very slow, not only the compilation is slow, but the input data also becomes very slow.
solve
We went to the windows security center, and found the following:
Go in, then go in, put the files you run in:
Now you run again, what will happen? Let's take a look: It's
almost 5 times faster again, is it very happy?
If it's helpful to you, you might as well give it a thumbs up and support it.