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
-
Open Command Prompt as Administrator:
Press Win + S, type
cmd, then right-click "Command Prompt" and selectRun as administrator. On Windows 11, this is also possible viaWin + X>Terminal (Admin). -
Type and Execute
netplwiz: In the admin Command Prompt, paste:netplwizand press Enter. This opens the User Accounts dialog box, a GUI alternative tonet user. -
Configure Account Properties:
Labels may differ slightly by Windows version or region. Navigate as follows:
- Select the account you want to modify (e.g., "Users" or a custom account).
- 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.
- Click
Apply→OKto save changes.
-
Add or Delete Accounts:
- Click
Create a New User(for local accounts) orAdvanced(to set up domain accounts). - Enter the username and password (minimum 8 characters for new accounts).
- For deletions, select the account →
Remove→Delete Account(confirm withYes).
- Click
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
OKwithout 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
netplwizor leverage PowerShell’sNew-LocalUsercmdlet 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,
netplwizshows local accounts only. Usenetdomfor domain-specific tasks. - Password Policies: For Windows 11 Pro/Enterprise, enforce password complexity via
Local Security Policy(Advanced > Password Policy).
Troubleshooting
-
Command Not Recognized:
- Restart the Command Prompt and try again.
- If persistent, open PowerShell as admin and use:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser(run once).
-
Account Changes Not Saved:
- Ensure you’re logged in as an admin before modifying settings.
- Check for antivirus blocks by temporarily disabling real-time scanning.
-
Home Folder Errors:
- Verify the network path exists and is readable.
- 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.