Share Button

If you are Getting Requested registry access is not allowed error message then the process to fix Requested registry access is not allowed error message is available in this web page. When you start the computer as regular user and you are trying to use Microsoft Visual Studio .NET to creating a custom event then you may receive the following error message.

  • The most common reason behind this error is installing incompatible or outdated driver, missing system files, corrupted registry file or damaged pc by viruses. Advanced System Repair Tool is the only solution for all the system errors. By installing this tool you will be able to remove above windows error.
    3 Steps to Fix this Error

    Step 1. Download Advance System Repair Tool [File Size: 15.7 MB]
    Step 2. SCAN your Windows PC
    Step 3. Click Fix button to Repair Error

Causes of this error

The error that is getting by you in your computer occurs when the user account that you are using to log on does not have the permission. You are calling the EventLog.CreateEventSource() method to create a custom event log, the custom event log entry first time, it is created under the following registry sub key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog

Process to fix Requested registry access is not allowed error message

If you want to create the above sub key then you have must permission to write. The regular user account does not have the permission for write that is why you are receiving the above error message.

To solve this issue you must have to permission to create a custom event log. Without permission you are not able to remove this error. To grant permission to create a custom event log follow these steps.

  • First all start the computer as administrator and then click on start button then click on run option and after that type regedit here and then press enter.
  • A registry editor window becomes appear then locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog registry sub keys and after that right click on event log and then click on permission. Then you will see the permission for Eventlog dialog box will appear.
  • Now click on advance then the Advanced Security Settings for Eventlog dialog box will appears.
  • Now in the name column double click on the users group and then the Permission Entry for Eventlog dialog box will appears.
  • Now select the set value check box and then choose the Create Subkey check box and then click on ok botton.
  • Now exit from Registry editor and then restart the computer and login as regular user.

Now you can try to create a custom log event by using visual studio and then you can try to write this event log by using an application that is build on the visual studio  .NET.

Share Button
You receive the “Requested registry access is not allowed” error message when you try to create a custom event log

Leave a Reply

Your email address will not be published. Required fields are marked *