Error 5 in Windows 7, Vista and XP appears when you try to run certain programs. This error normally appears due to broken or corrupt Windows registry or when the program that is generating the error is corrupt. Error message:
System error 5 has occurred. Access is denied
Follow the steps below to get rid of error 5:

Re-Install the Corrupt Program
If a particular program is generating error 5 it means that the installation files of the program are corrupt. To fix this problem follow the steps below:
Fix Registry Entries
Corrupt registry entries may also result in Windows error 5 in Windows 7, Vista and XP. Fixing the registry may fix the error. Follow the steps below to fix registry manually.For Automatic Registry Cleaning Click Here .
Time Synchronization Problem
Error 5 may appear if there is a time synchronization problem. Follow the steps below to synchronize the time on a member computer in an Active Directory domain:
Follow the above stated steps if you are an expert PC user otherwise it is recommend you to download and install a System Utilities program that includes a Registry Cleaner tool. You can download a reliable System Utilities program from below: