ERROR – ROYAL.SYS: An attempt was made to write to read-only memory.
1. – Boot up the computer to Safe Mode, or if your system has dual-boot operating system, boot up to another OS.
2. – Once in the Safe Mode or alternative Windows, rename the file in \Windows\System32\Drivers\royal.sys to another name, such as royal.bck.
3. – Restart the computer.
4. – You should be able to boot up and login normally to Vista. In Vista, go to Control panel -> Hardware and Sound -> Device Manager.
5. – In Device Manager, under System Devices category, there should be a listing named “NVIDIA Nforce4 PCI-Express Root Port” or “NVIDIA nForce PCI System Management”. Right click on it, and
6. – Click on Driver tab.
7. – Click on Roll Back Driver button, or Uninstall Driver if Roll Back Driver button is grayed out. The device should go back to SM Bus Controller or Unknown Device after refresh.
8. – Optional: Update the driver with old driver for Windows XP that comes in CD together with your motherboard. Older PCI driver will work with royal.sys and does not give BSOD on boot. Else
left the hardware not installed after rollback or uninstall.
9. – Rename back the royal.bck located in \Windows\System32\Drivers\ folder to royal.sys.
10. – Restart the computer, and Vista should no longer has BSOD and will still be activated.