Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Changing a Windows Password at the Command Line

RSS
Modified on Fri, Apr 07, 2017, 8:26 AM by Administrator Categorized as Windows (OS, IE, IIS, and MSMQ)

Overview

This article provides step by step instructions to change your password at the command line. This allows you to create a complex password via cut-and-paste from a password generator.

WARNING

This procedure is dangerous. If you perform it for a user that is NOT the one currently logged in, that user will lose their data.

Proceed with caution!

Procedure

1. Open a Command Prompt using the "Run as Administrator" feature.

This can be done by right-clicking on any shortcut to the Command Prompt and selecting "Run as Administrator" from the context menu.

2. Type the following command, replacing Username with the username for the currently logged-in user and MyNewStrongPassword with your new password.

net user Username MyNewStrongPassword

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.