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 right
![gpo1 gpo1](https://lh3.googleusercontent.com/-6QefXXZPWpQ/VzHJax2nJBI/AAAAAAAAApc/NVXbYVWJ2Qw/gpo1_thumb%25255B4%25255D.jpg?imgmax=800)
So while trying to modify it I received the error :
![vba_error vba_error](https://lh3.googleusercontent.com/-bv78eYJMU9I/VzHJb4AvXeI/AAAAAAAAApk/X2WA30pGU7Y/vba_error_thumb.jpg?imgmax=800)
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,
![image image](https://lh3.googleusercontent.com/-BwKBTSeQ4vI/VzHJdPWNsoI/AAAAAAAAAps/6smLFgDXFwI/image_thumb.png?imgmax=800)
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 image](https://lh3.googleusercontent.com/-xHlRB0CKhPo/VzHJeGZtzgI/AAAAAAAAAp0/8KZfZOChNeQ/image_thumb%25255B1%25255D.png?imgmax=800)
Hope this has been informative for you. Please like, subscribe and comment.
1 comments :
Very helpful : thank you!
Post a Comment