When a particular program writes a big amount of data in a buffer of a particular stack, more than the memory the stack is allocated to, the stack-based buffer gets overrun due to a shortage of memory and causes a deadly error. If you are seeing this error message, “System detected an overrun of a stack-based buffer in this application” on your computer, simply follow these easy fixes and the problem will be solved pretty easily.
Note: – If you are unable to boot into the system, try booting into safe mode using automatic repair and then follow the steps.
Fix-1 Rename BannerStore key-
Renaming the BannerStore key has fixed the issue for some users, follow these simple steps to try it on your computer-
Open the Registry Editor, and click on “File” > “Export” to create a secure backup.
If anything goes wrong you can retrieve your registry by simply importing the backup.
1. Click on the search box and type “regedit“.
2. Now, what you need to click on “Registry Editor“.
3. In Registry Editor window opens up you need to navigate to this location-
4. Now, scroll down to find “BannerStore“. Right-click on “BannerStore” and then click on “Rename” to rename it.
5. Rename the key folder to “BannerStoreOld“.
6. Press Ctrl+Alt+Delete together from your keyboard to open security window, now click on “Sign Out” to sign out from your computer.
7. Again sign in to your computer.
The problem will be solved as you sign-in and there will be no loop crashes further.
Fix-2 Run SFC and DISM scan-
1. Search “cmd” from the search bar.
2. Then right-click on “Command Prompt” in the elevated search result and click on “Run as administrator“.
3. To run these scans, execute these codes sequentially one-by-one.
sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth DISM /online /Cleanup-Image / ScanHealth
All of these commands will take a while to scan/ repair your system files.
Once done, close the Command Prompt window.
Reboot your computer.
Try to run the application on your computer again. Check if the error is
still there or not.
Fix-3 Reset PC
1. Press Windows key + R key combination to open run.
2. Type cmd and press CTRL+SHIFT+Enter key at once together.
3. Now, run the command given below.
4. Choose keep my files option.
5. Follow, on screen instruction to Reset your windows PC.
Sambit is a Mechanical Engineer By qualification who loves to write about Windows 10 and solutions to weirdest possible problems.