April 14, 2009

[Fix] The memory Could not be written – Windows error message

by — Categories: Computer Optimization, Fixes, How To6 Comments


The instructions at "0×000000" referenced memory at "0×00000000". The memory could not be "written"
I would get this error message when I was trying to open a program such as Adobe, Winamp, Office, Firefox, etc. Here is how I fixed the error message…
First lets verify that this fix will get rid of this error message for you.
First go to – Control Panel, Open up System, Click on the Advanced tab – then Performance Setting, then Data Execution Prevention Tab. if this screen is not grayed out and instead has a box checked – to turn on DEP- then chances are this is the root of your problems and this fix will work for you.
So turn off DEP and fix your problem, follow the next 8 steps…..

Step 1: Go to Start, Run, and type in cmd ( for dos command prompt ) and then type in cd\ and press enter to go to the root directory ( Typically c:\ )
Step 2: type in 
attrib -r -h -s boot.ini
Step 3: type in 
edit boot.ini 
and press enter
Step 4: Find the line that looks like this or similar to this
multi<0>disk<0>rdisk<0>partition<1>\windows="Microsoft Windows" /fastdetect /NoExecute=
Step 5: NoExcute= can be set to four different settings.
/NOEXECUTE=OPTIN Enables DEP for core system images and those specified in the DEP configuration dialog.
/NOEXECUTE=OPTOUT Enables DEP for all images except those specified in the DEP configuration dialog.
/NOEXECUTE=ALWAYSON Enables DEP on all images.
You want to set this to NoExecute=AlwaysOff  to disable DEP
Example Corrected Boot.ini Line - 
multi<0>disk<0>rdisk<0>partition<1>\windows="Microsoft Windows" /fastdetect /NoExecute=AlwaysOff
Step 6: Save the file and exit the edit boot.ini screen and return to the Command Prompt
Step 7: You now want to restore the old Attrib settings back to boot.ini so type in 
attrib +h +r +s boot.ini
Step 8: Now restart your computer and the error should never come back
  • Alymoussaaly

    when i typed attrib -r -h -s boot.ini it says file not found – boot

    • http://howbits.com Djames

      What verison if windows are you using?

      • Thays

        With me was the same, my windows version is 7

      • http://www.facebook.com/alekzrockstar Alejandro Montoya

        same here.. mine is win. 8 pro.

  • Jonathon

    I can’t get from step 2 to 4, I typed in attrib -r -h -s boot.ini and tried to hit enter or just add edit boot.ini behind attrib -r -h -s boot.ini, but it says parameter is wrong. Please Help.

  • Pingback: Ndasmu » How do I get rid of Windows Update error 80244019?

© 2014 HowBits All rights reserved - Wallow theme v0.46.5 by ([][]) TwoBeers - Powered by WordPress - Have fun!
powered by