FIXED: Unhandled exception when modifying GPO

Advertisement


So today I came across an issue while trying to modify an existing GPO.
The setting I was trying to modify is seen to the rightgpo1 however you can assume that this issue can happen to any gpo.

So while trying to modify it I received the error : vba_error
Unhandled exception has occurred in a component in your application.  If you click Continue, the application will ignore this error and attempt to continue.
The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020).
SOLUTION:
As the error suggests a file is being used by another process(file lock)
A simple reboot of the Domain Controller ,with the PDC role on would be sufficient to resolve this however doing so immediately may not always be practical or possible.
Ideally, imagenavigate to the Domain Controller in question and open up windows build in “Share and Storage Management”
Find your trouble policy and close any related files.


TIP: To identify the files you need to close look at the details of the policy and compare the Unique ID. See Below
image

Hope this has been informative for you. Please like, subscribe and comment.

Enjoyed this? Get more like it.

Scripts, walkthroughs, and real-world fixes — delivered to your inbox twice a month. No spam, ever.

Advertisement

Comments

Nec November 24, 2017 at 12:51 AM
Very helpful : thank you!