You may have to turn off memory integrity to resolve this BSoD

by Claire Moraa
Claire Moraa
Claire Moraa
Claire likes to think she's got a knack for solving problems and improving the quality of life for those around her. Driven by the forces of rationality, curiosity,... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • The secure_pci_config_space_access_violation error is a hardware-related issue and can happen if you've made significant hardware changes to your PC.
  • You can run the hardware and devices troubleshooter to check for any errors before moving on to advanced steps such as System Restore.
Fix all BSoD events and keep them away: Fortect is a tool that checks your Windows OS for bad or corrupted system files. Once found, it can replace these versions with a fresh one from its repository with original Windows System files. Thus, it will restore your system to a fully functional state.Here is how to do it in 3 easy steps:
  1. Download and Install Fortect on your PC
  2. Launch the tool and Start scanning to find broken files that are causing the problems
  3. Right-click on Start Repair to fix issues affecting your computer’s security and performance
  • Fortect has been downloaded by 0 readers this month.

A section of users is getting the secure_pci_config_space_access_violation stop code with an array of errors mostly related to drivers. 

What stands out is that these errors occur when they are trying to launch games. Valorant appears trending at the top of the list, causing the blue screen. If you’re familiar with this BSoD error, most users recommend a few solutions, as shown below.


The secure_pci_config_space_access_violation is a BSoD error that occurs under different circumstances. As reported by users, some started seeing it after installing new updates, and a majority when launching games.

When the Blue screen occurs, you may experience frequent crashes and freezes on your PC. The error is usually accompanied by a message, and the most common ones include:

  • wnpdriver.sys 
  • Vgk.sys
  • Amdryzenmasterdriver.sys

These errors may be caused by:

  • Hardware change – It’s likely that this error will occur if you have recently upgraded or changed your hardware components such as motherboard, processor, or memory. This means that your system may not be able to detect all of its components properly, and it will give you this error.
  • Malware infection – Malware can use up valuable system resources, leaving little for other programs to work with.
  • Outdated drivers Outdated video drivers can cause crashes and other strange behavior on your PC.
  • Memory leak – The secure_pci_config_space_access_violation error can also occur when there is a security violation when a driver attempts to access memory in the secure PCI configuration space, which is protected by the operating system.


Expert tip:


Some PC issues are hard to tackle, especially when it comes to missing or corrupted system files and repositories of your Windows.
Be sure to use a dedicated tool, such as Fortect, which will scan and replace your broken files with their fresh versions from its repository.

A few checks to perform before moving on to the more advanced solutions include:

1. Check for Windows updates 

  1. Hit the Windows key and click on Settings.settings windows 11
  2. Click on Windows Update then click on Check for updates.check-updates-w11 windows 11 blue screen
  3. Download and install if available.

2. Turn off memory integrity 

  1. Open the Start Menu, type Windows Security, and press Enter.
  2. Click on three vertical lines in the top left corner to expand the menu items.expanding windows security menu
  3. Go to Device security.going device security windows security
  4. Click on Core isolation details under Core isolation.going core isolation details windows security
  5. Toggle the switch to turn it off.turning on memory integrity windows security

Turning off memory integrity can be beneficial if the secure_pci_config_space_access_violation error occurred when your PC tried to access a space in memory without permission.

The secure memory region can only be accessed by programs granted access by the operating system. Keep in mind that turning off this feature exposes your system to risk. Find out more about whether you should keep memory integrity on or off in our article.

3. Uninstall AMD software 

  1. Hit the Windows key and click on Settings.settings windows 11
  2. Navigate to Apps on the left pane, then click on Apps & features on the right pane.
  3. Search for AMD software from the list, click on the three ellipses, and select Uninstall.

4. Reinstall the associated game 

  1. Press the Windows key, type Control Panel in the search bar, and click Open.control-panel-search fallout new vegas runtime error
  2. Navigate to Uninstall a program under Programs.going uninstall program control panel
  3. Select Riot Vanguard from the list, then click the Uninstall button.
  4. Go to the official site for Valorant, and download and install the game.

5. Uninstall recent Windows updates 

  1. Press the Windows + I keys simultaneously to open Settings.settings windows 11
  2. Navigate to Windows Updates and click on Update history.update-history restart to repair drive errors
  3. Click on Uninstall updates.uninstall-updates-w11 computer-recognize-logitech-unifying-receiver
  4. Select the most recent update, then click Uninstall.uninstall-update-latest computer-recognize-logitech-unifying-receiver

6. Perform a clean boot

  1. Hit the Windows key, type msconfig, and open System Configuration.
  2. Switch to the Services tab and select Hide all Microsoft services.
  3. Click on the Disable all button, then hit the Apply button to save the changes.
  4. Go back and click on the Startup tab, select Open Task Manager then click OK.
  5. In the Startup tab of the Task Manager, Disable all the Enabled startup items.
  6. Close Task Manager and restart your PC.

7. Perform a System Restore

  1. Press the Windows + R keys, type rstui, and hit Enter.
  2. The System Restore window will open. Click on Next.
  3. Select the restore point you wish to revert to and click on Next.
  4. Now click on Finish.

And that’s how to fix the secure_pci_config_space_access_violation error. Hopefully, this issue is a thing of the past after trying our recommended fixes.

We’d also suggest you familiarize yourself with one of our BSoD fixers to help you address such issues automatically.

Leave a comment down below for any suggestions.

Still experiencing issues?


If the above suggestions have not solved your problem, your computer may experience more severe Windows troubles. We suggest choosing an all-in-one solution like Fortect to fix problems efficiently. After installation, just click the View&Fix button and then press Start Repair.

This article covers:Topics: