How to add password to windows 10

If you share a computer with others, you might have a need to keep some documents confidential. There are several ways to do this, depending on which version of Microsoft® Windows® your computer is running. If you're unsure which Windows system your computer is running, read here for more information. 

You should always set up an account for each person who shares a single computer. This helps everyone access the programs and data that they want.

How to password protect a folder

Using a password to protect a folder means that you need to enter a password to see the list of documents in the folder. You can also password-protect individual files either in a password-protected folder or in a folder without password protection. The procedure is the same for files and folders.

Windows 7

  1. Open Windows Explorer and navigate to the folder you want to password-protect. Right-click on the folder.
  2. Select Properties from the menu. On the dialog that appears, click the General tab.
  3. Click the Advanced button, then select Encrypt content to secure data. Click OK. Your Windows username and password will be used.
  4. Double-click the folder to ensure you can access it.

How to add password to windows 10
Settings add password option
  • Create a new password for the local account.

    How to add password to windows 10
    Create local account password
  • Confirm a password hint.

  • Click the Next button.

  • Click the Finish button.

  • (Optional) Click the Update your security questions option to set up a way to reset the password in case you forget it.

  • Once you complete the steps, sign out and while signing back in, you’ll need to use the new password.

    Add password to local account using Computer Management

    To create a new password for a local account with Computer Management, use these steps:

    1. Open Start.

    2. Search for Computer Management and click the top result to open the console.

    3. Expand the Local Users and Groups branch.

    4. Select the Users folder.

    5. Right-click the user and select the Set Password option.

      How to add password to windows 10
      Computer Management set password option
    6. Click the Proceed button.

    7. Create the new password for the local account on Windows 10.

      How to add password to windows 10
      Set password for local account
    8. Click the OK button.

    After you complete the steps, the new password will be set in the account.

    Add password to local account using Command Prompt

    To add a password to a local account with Command Prompt, use these steps:

    1. Open Start.

    2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

    3. Type the following command to list all the available users and press Enter: net users

      net users
    4. Type the following command to add a password for the local account and press Enter:

      net user “LocalAccount” “Password”
      How to add password to windows 10
      Command Prompt add password to local account

    In the command, make sure to change LocalAccount for the actual name of the user and Password for the password that you want to use.

    Once you complete the steps, the password will be added to the local account.

    Add password to local account using PowerShell

    To create a password for an account with PowerShell, use these steps:

    1. Open Start.

    2. Search for PowerShell, right-click the top result, and select Run as administrator.

    3. Type the following command to list all the available accounts and press Enter:

      Get-LocalUser
      How to add password to windows 10
      PowerShell Get-LocalUser command
    4. Type the following command to create and store the new password inside of a variable and press Enter:

      $Password = Read-Host "Enter the new password" -AsSecureString
    5. Type the new password for the account and press Enter.

    6. Type the following command and press Enter on each line to apply the new password to the local account:

      $UserAccount = Get-LocalUser -Name "admin"
      $UserAccount | Set-LocalUser -Password $Password

      In the second command, make sure to replace “admin” with the name of the account that you want to reset its password.

      How to add password to windows 10
      PowerShell commands to change an account password

    In the second command, make sure to replace “admin” with the name of the account that you want to reset its password.

    After you complete the steps, you can start using the local account with the new password.

    Add password to local account using Control Panel

    It’s also possible to add a password to a local account using Control Panel, but the option is only available when configuring the account from another account.

    To add a new account password using Control Panel, use these steps:

    1. Open Control Panel.

    2. Click on User Accounts.

    3. Click on User Accounts again.

    4. Click the Manage another account option.

      How to add password to windows 10
      Manage another account option
    5. Select the local account.

    6. Click the Create a password option.

      How to add password to windows 10
      Create password option
    7. Confirm the new password.

      How to add password to windows 10
      Control Panel local account password
    8. Confirm the hint password.

    9. Click the Create password button.

    Once you complete the steps, you can login to the local account using the new password.

    How do I put a password on my Windows 10 desktop?

    To change your password, go to Start > Settings > Accounts > Sign-in options. Select Password, and then select Change.

    How do I add a password to my computer?

    Select Start > Settings > Accounts > Sign-in options . Under Password , select Change and follow the directions.

    Why is there no password option on Windows 10?

    Instead, it's because Windows 10 includes a new sign-in feature that removes the use of a password in favor of Windows Hello for authentication.