> How to Fix an Access Violation

How to Fix an Access Violation

Posted on Thursday, April 14, 2011 | Comments Off





1. Click the 'Start' or 'Globe' button on the PC desktop of the Windows 7 computer then click the 'Search' box. Type 'cmd' in the 'Search' box then right click on the command line icon that appears and click 'Run as Administrator'. The command line window will appear.Type 'bcdedit.exe /set {current} nx AlwaysOn' at the command prompt and tap the 'Enter' key.
2. Type 'cd \path_to_file\' except replace the '\path_to_file\' with the exact path to the file causing the access violation and tap the 'Enter' key.

3. Type 'attrib -R file_name' except replace the 'file_name' with the exact name of the file being accessed at the time the access violation error occurs. Tap the 'Enter' key then test to confirm that the access violation condition has been resolved.

Powered by Blogger.