How to generate a random password to reset in Windows 10

Who I am
Philippe Gloaguen
@philippegloaguen
SOURCES CONSULTED:

support.microsoft.com

Author and references

The administrator on the Windows platform is an administrator responsible for managing software, hardware, user accounts, etc. The administrator is responsible for security settings, operational settings, configuration, and installation settings.
The administrator password is one of the essential security features on the Windows system. For changes to privacy settings or any critical information, the administrator password is very essential.
Many features will not be accessible without administrator permission. In order for the user to request authorization, he must enter the password in administrator mode.
Windows 10 offers the simplest way to know the administrator password. The following steps will guide you



See also: - How to change password via CMD without knowing current password on Windows PC

How to reset administrator password in Windows 10 via command prompt

Step 1:
Right click on the “Start” icon located in the lower left corner of the screen. Click “Command Prompt (Administrator)” to run Command Prompt as an administrator.


Note: If the user opens "Command Prompt" and not "Command Prompt (Administrator)", the command entries will result in "Access Denied" in the Command Prompt screen.
Step 2:
Type the following command as in the image below:
network user

This will provide the list of users on the PC.
Step 3:
Type the following command as in the image below:
network user Username / random



Replace the username with the username for which you want to generate a random password. If you want to generate a random password for the admin, put the admin there.
Note: An automatically generated (random) password will appear on the screen. You can use this password to log in to that account again.

add a comment of How to generate a random password to reset in Windows 10
Comment sent successfully! We will review it in the next few hours.