The netplwiz command in Windows 11 lets you manage user accounts—add, delete, rename, or lock/unlock accounts directly from the command line. It’s especially useful for IT admins or users who need quick access beyond the GUI. Unlike the graphical net user tool, netplwiz provides a more organized interface for account properties (like password policies or home folders).

What You'll Need

  • Administrator privileges on Windows 11 (local or domain accounts).
  • An open Command Prompt or PowerShell window with admin rights.
  • Knowledge of account names and desired changes (e.g., passwords, permissions).

Step-by-Step

  1. Open Command Prompt as Administrator: Press Win + S, type cmd, then right-click "Command Prompt" and select Run as administrator. On Windows 11, this is also possible via Win + X > Terminal (Admin).
  2. Type and Execute netplwiz: In the admin Command Prompt, paste: netplwiz and press Enter. This opens the User Accounts dialog box, a GUI alternative to net user.
  3. Configure Account Properties: Labels may differ slightly by Windows version or region. Navigate as follows:
    1. Select the account you want to modify (e.g., "Users" or a custom account).
    2. Click Properties (not "Edit") to view or change:
      • Password: Enter a new password (leave blank for no password).
      • Account Type: Choose "Normal User" or "Administrator."
      • Home Folder: Assign a network location (e.g., mapped drive) for file storage.
      • Lock Account: Check this to disable login.
    3. Click Apply → OK to save changes.
  4. Add or Delete Accounts:
    1. Click Create a New User (for local accounts) or Advanced (to set up domain accounts).
    2. Enter the username and password (minimum 8 characters for new accounts).
    3. For deletions, select the account → Remove → Delete Account (confirm with Yes).
    Warning: Deleting an account removes all user data (files, settings) unless backed up first.

Common Mistakes

  • Running Without Admin Rights: Changes will be rejected if the user lacks permissions. Always launch the Command Prompt as admin.
  • Skipping "Apply": Clicking OK without applying settings releases the changes prematurely.
  • Overwriting Home Folders: Assigning a network path incorrectly may block file access. Test the path before saving.
  • Deleting System Accounts: Never remove the built-in "Administrator" account or "Guest" account; they’re critical for system functionality.

Tips

  • Use PowerShell for Bulk Edits: For repeated changes, script netplwiz or leverage PowerShell’s New-LocalUser cmdlet for automation.
  • Backup Data Before Deletion: Use net user (e.g., net user username) to list accounts or export user data via the GUI.
  • Check for Domain Accounts: If managing workgroup accounts, netplwiz shows local accounts only. Use netdom for domain-specific tasks.
  • Password Policies: For Windows 11 Pro/Enterprise, enforce password complexity via Local Security Policy (Advanced > Password Policy).

Troubleshooting

  1. Command Not Recognized:
    1. Restart the Command Prompt and try again.
    2. If persistent, open PowerShell as admin and use: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser (run once).
  2. Account Changes Not Saved:
    1. Ensure you’re logged in as an admin before modifying settings.
    2. Check for antivirus blocks by temporarily disabling real-time scanning.
  3. Home Folder Errors:
    1. Verify the network path exists and is readable.
    2. Use UNC paths (e.g., \\server\share) instead of mapped drives.

Frequently Asked Questions

How do I disable the Guest account using netplwiz?

Open netplwiz as admin, select the "Guest" account, check Lock Account, then click Apply. The Guest account is disabled but not deleted.

Can I use netplwiz on a domain-joined Windows 11 PC?

No, netplwiz only edits local accounts. For domain accounts, use netdom or Active Directory Users and Computers (GUI).

What happens if I delete a user’s profile folder?

Deleting the user’s profile folder (e.g., C:\Users\username) removes all files, settings, and app data. Always back up critical data first.

Is there a way to export all user accounts from netplwiz?

No direct export exists. Instead, list accounts via: net user (Command Prompt) or use PowerShell: Get-LocalUser. For advanced exports, enable auditing in Security Log (Event Viewer).

Why can’t I edit the Administrator account?

The built-in "Administrator" account is locked by design to prevent misuse. To unlock it: 1. Open netplwiz as admin. 2. Select the "Administrator" account → Properties → check Unlock Account. 3. Click Apply. Then set a password.

Can I use netplwiz to migrate user profiles between PCs?

No. For profile migration, use Windows Migration Assistant (built-in tool) or third-party tools like Macrium Reflect. netplwiz only manages account metadata, not data.

For deeper domain account management, consult Active Directory tools or use the User Accounts app (Settings > Accounts > Family & other users) for local systems. Always prioritize data safety when modifying user accounts.