| PT-PO-WIN-C-Delete User Profiles - 30 days | |
| Data collected on: 2-9-2025 12:43:14 | |
| Domain | emea.tpg.ads |
| Owner | EMEA\brighton.6-adm |
| Created | 4-2-2025 11:53:00 |
| Modified | 4-2-2025 16:37:14 |
| User Revisions | 12 (AD), 12 (SYSVOL) |
| Computer Revisions | 14 (AD), 14 (SYSVOL) |
| Unique ID | {b4fbe71a-6636-45f3-9c76-76179c8408a4} |
| GPO Status | User settings disabled |
| Location | Enforced | Link Status | Path |
|---|---|---|---|
| Clients | No | Enabled | emea.tpg.ads/PT/Systems/Clients |
| Name |
|---|
| EMEA\PT-L-SEC-C-Delete user Profiles 30 days |
| Name | Allowed Permissions | Inherited |
|---|---|---|
| EMEA\brighton.6-adm | Edit settings, delete, modify security | No |
| EMEA\Domain Admins | Edit settings, delete, modify security | No |
| EMEA\PT-L-SEC-C-Delete user Profiles 30 days | Read (from Security Filtering) | No |
| EMEA\PT-L-SEC-Delegation Modify Group Policy Settings Access | Edit settings, delete, modify security | No |
| NT AUTHORITY\Authenticated Users | Read | No |
| NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS | Read | No |
| NT AUTHORITY\SYSTEM | Edit settings, delete, modify security | No |
| ROOT\Enterprise Admins | Edit settings, delete, modify security | No |
| Action | Replace |
| Source file(s) | \\emea.tpg.ads\pt\Lisbon-CIT\Clients\Settings\GPO\Scripts\DeleteUsers\DeleteUserProfiles.ps1 |
| Destination file | C:\Bin\DeleteUserProfiles.ps1 |
| Suppress errors on individual file actions | Disabled |
| Read-only | Disabled |
| Hidden | Disabled |
| Archive | Enabled |
| Stop processing items on this extension if an error occurs on this item | No |
| Remove this item when it is no longer applied | No |
| Apply once and do not reapply | No |
| Action | Create |
| Name | DeleteUserProfiles | |||
| Author | EMEA\brighton.6-adm | |||
| Description | Delete user profiles with more than 30 days - runs once weekly | |||
| Run only when user is logged on | S4U | |||
| UserId | NT AUTHORITY\System | |||
| Run with highest privileges | HighestAvailable | |||
| Hidden | No | |||
| Configure for | 1.3 | |||
| Enabled | Yes |
| 1. Daily | ||||
| Activate | 4-2-2025 16:00:00 | Synchronize across time zones | No | |
| Enabled | Yes | |||
| Recur every 30 days |
| 1. Start a program | ||||
| Program/script | powershell.exe | |||
| Arguments | -NoProfile -ExecutionPolicy Bypass -File C:\Bin\DeleteUserProfiles.ps1 |
| Stop if the computer ceases to be idle | Yes | |||
| Restart if the idle state resumes | No | |||
| Start the task only if the computer is on AC power | Yes | |||
| Stop if the computer switches to battery power | Yes | |||
| Wake the computer to run this task | Yes | |||
| Allow task to be run on demand | Yes | |||
| If the task fails, restart every | 1 hour | |||
| Attempt to restart up to | 3 | |||
| Stop task if it runs longer than | 1 hour | |||
| If the running task does not end when requested, force it to stop | Yes | |||
| If the task is already running, then the following rule applies | IgnoreNew |
| Stop processing items on this extension if an error occurs on this item | No |
| Remove this item when it is no longer applied | No |
| Apply once and do not reapply | No |