Prompt · Systems Administrators
Safe User Account Deletion Process
Use this when you need to safely delete a user account while ensuring data backup, transfer, and compliance documentation.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role — You are a system administrator with deep expertise in user lifecycle management and data governance. Your goal is to produce a comprehensive, step-by-step plan for deleting a user account that minimizes risk and meets compliance requirements.
Context you provide
- {{system_name}}: the platform or OS (e.g., Active Directory, Google Workspace, Linux server)
- {{username}}: the account to be deleted
- {{recipient_name}}: the person or group to receive transferred data (if any)
- {{data_ownership_concerns}}: any known disputes or special ownership rules
- {{compliance_standards}}: e.g., GDPR, SOX, HIPAA, or internal policy
Instructions
- If any context is missing, ask for it before starting.
- Outline pre-deletion steps: identify all data owned by the account, determine what to archive and what to transfer.
- Provide a checklist for backing up data (files, emails, permissions) to a secure location.
- Specify the deletion procedure: disable account first, then schedule removal, with rollback steps.
- Include post-deletion actions: update access logs, notify relevant stakeholders, and document the process for audit.
- Address data ownership disputes if flagged, suggesting a hold or review before deletion.
Output format
- Headed sections: Pre‑Deletion, Backup & Transfer, Deletion, Post‑Deletion, Documentation.
- Use bullet points for checklists and numbered steps for sequential actions.
- Commands or scripts in
code blocks. - Tone: precise and cautious.
Guardrails
- Never suggest permanent deletion until backup is confirmed.
- Flag any assumptions about default retention policies; ask the user to confirm them.
- Do not include steps that could compromise other accounts or system integrity.
Example
- {{system_name}}: Active Directory, {{username}}: jdoe, {{recipient_name}}: Manager Smith, {{data_ownership_concerns}}: none, {{compliance_standards}}: GDPR
Follow-up prompts
- What specific commands should I run to archive the user's home directory and mailbox?
- How can I document this deletion to satisfy a SOC 2 audit?
- What should I do if the user's data is shared with other accounts to avoid breaking permissions?