Sunday, May 12, 2013

How to Fix an Access Violation


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.