Hello Richard Y ,
Thank you for posting on the Microsoft Community Forum.
- According to your error message prompt, you can try to restart the AGPM service. Sometimes, all you need to do is restart the AGPM service to fix the file locking issue. To do this, you can open the service console (services.msc), find the AGPM service, and click Restart.
- Check if there are other users editing the GPO: Check the status of the GPO in the AGPM console and confirm that no other administrator is editing or checking out the GPO. The steps are as follows:
Open the Microsoft Advanced Group Policy Management (AGPM) console.
In the console tree, navigate to the forest and domain you're in, and then typically under the Change Control node.
Expand the Controlled GPOs folder or go directly to the specific GPO you want to check.
Look at the list of GPOs and there will be a status indication next to each GPO. If a GPO is checked out, its status will usually be displayed as "Checked Out" with the name of the user who checked out the GPO next to it.
Double-clicking on the GPO to be checked will open the properties window for that GPO. From here, you can view detailed checkout information in the General or Checkout tab, including the user account that checked out the GPO, the checkout time, and the checkout status.
If you find that another user has checked out the GPO, you will need to contact that user to check in or abandon the checkout so that you can make the required edits or deployments.
- At the same time, you can also check the AGPM service port, by default, the AGPM service uses port 4600. Make sure that the port is not occupied by other applications.
I hope you the information above is helpful.
If you have any questions or concerns, please do not hesitate to let us know.
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.