EventID: 1530 – Registry Key That Has Been Marked For Deletion

Today, we have experienced weird issues with one of our Application server. Users were either getting errors signing into an application or getting errors once the application is launched. Also, not all users were having this issues.

When reviewing the Server’s Event Logs, we have noticed that it has a few event id 1530 errors during those time.

Below is a sample of the error:

Log Name: Application
Event ID: 1530
Task Category: None
Level: Warning
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.

From the application itself, it also gave us the following error.

illegal operation attempted on a registry key that has been marked for deletion

One temporary solution is to reboot the server. By restarting the server it unlocked and freed up all users from the registry and memory. This works but not a good solution. We did more searching and was able to find the following solution.


We have made the changes to our Group Policy and have applied it to all our Applications servers. So far, we haven’t gotten any issues or complaints from users.