Skip to content

Commit 0ff557a

Browse files
authored
Update scripts-check-and-cleanup-the-agpm-archive.md
1 parent 7c4013d commit 0ff557a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

support/windows-server/support-tools/scripts-check-and-cleanup-the-agpm-archive.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Scripts to check and cleanup the AGPM archive that might lead to GPO operation issues
3-
description: Introduces a script to check and cleanup the AGPM archive that might lead to GPO operation issues.
4-
ms.date: 04/18/2025
2+
title: Scripts to Check and Clean the AGPM Archive That Causes GPO Operation Issues
3+
description: Introduces a script to check and clean up the AGPM archive that might lead to GPO operation issues.
4+
ms.date: 04/25/2025
55
manager: dcscontentpm
66
audience: itpro
77
ms.topic: troubleshooting
@@ -10,13 +10,13 @@ ms.custom:
1010
- sap:group policy\group policy management (gpmc or gpedit)
1111
- pcy:WinComm Directory Services
1212
---
13-
# Scripts: Check and cleanup the AGPM archive that might lead to GPO operation issues
13+
# Scripts: Check and clean up the AGPM archive that might lead to GPO operation issues
1414

1515
_Applies to:_   Advanced Group Policy Manager 4.0 SP3
1616

17-
The sample script included in this article can assist with archive inconsistencies that lead to errors managing Group Policy Objects (GPOs) within the tool.
17+
The sample script included in this article can assist with archive inconsistencies that lead to errors in managing Group Policy Objects (GPOs) within the tool.
1818

19-
Examples of errors that can occur if there's inconsistent information in the gpostate.xml file.
19+
Examples of errors that can occur if there's inconsistent information in the **gpostate.xml** file:
2020

2121
```output
2222
Create GPO: Test...Failed.
@@ -30,8 +30,8 @@ Create GPO: Test...Failed.
3030
Here's what the script does:
3131

3232
1. Stops the Advanced Group Policy Management (AGPM) service.
33-
2. Scans the gpostate.xml file and removes references (if any) to archive GUID folders that don't exist or are incomplete.
34-
3. If there are any changes detected, the gpostate.xml is renamed with a time stamp and saves a new gpostate.xml file.
33+
2. Scans the **gpostate.xml** file and removes references (if any) to archive nonexistent or incomplete GUID folders.
34+
3. Renames the **gpostate.xml** file with a timestamp if any changes are detected and saves a new **gpostate.xml** file.
3535
4. Starts the AGPM service.
3636

3737
[!INCLUDE [Script disclaimer](../../includes/script-disclaimer.md)]

0 commit comments

Comments
 (0)