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


PrintPrint Friendly

 Problem:

 
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…
 
Fix: 
 
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.
/NOEXECUTE=ALWAYSOFF Disables DEP.
 
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
  • Share/Bookmark






Post a Comment or Leave a Trackback
blog comments powered by Disqus