Как открыть диспетчер учетных данных на windows 10

Applies ToWindows 11 Windows 10

Диспетчер учетных данных позволяет просматривать и удалять сохраненные учетные данные для веб-сайтов, приложений и сетей.

  1. Чтобы открыть диспетчер учетных данных, введите диспетчер учетных данных в поле поиска на панели задач и выберите панель управления диспетчера учетных данных.

  2. Выберите Учетные данные веб-сайтов или Учетные данные Windows для доступа к учетным данным, которыми вы хотите управлять.

    Credential Manager in Windows

Нужна дополнительная помощь?

Нужны дополнительные параметры?

Изучите преимущества подписки, просмотрите учебные курсы, узнайте, как защитить свое устройство и т. д.

Диспетчер учетных данных Windows (Credential Manager) позволяет безопасно хранить учетные записи и пароля для доступа к сетевым ресурсам, веб сайтам и приложениям. Благодаря сохраненным в Credential Manager паролям вы можете подключаться без ввода пароля к сетевым ресурсам, которые поддерживаются проверку подлинности Windows (NTLM или Kerbersos), аутентификацию по сертификату, или базовую проверку подлинности.

Содержание:

  • Используем диспетчер учетных данных Windows для хранения паролей
  • Управление сохраненными учетными данными Windows из командной строки
  • Доступ к менеджеру учетных данных Windows из PowerShell

Используем диспетчер учетных данных Windows для хранения паролей

Диспетчер учетных данных встроен в Windows и позволяет безопасно хранить три типа учетных данных:

  • Учетные данные Windows (Windows Credentials) — учетные данные доступа к ресурсам, которые поддерживаются Windows аутентификацию (NTLM или Kerbersos). Это могут быть данные для подключения сетевых дисков или общим SMB папкам, NAS устройствам, сохраненные пароли для RDP подключений, пароли к сайтам, поддерживающих проверку подлинности Windows и т.д;
  • Учетные данные сертификатов (Certificate-Based Credentials) – используются для доступа к ресурсам с помощью сертификатов (из секции Personal в Certificate Manager);
  • Общие учетные данные (Generic Credentials) – хранит учетные данные для доступа к сторонним приложениям, совместимым с Credential Manager и поддерживающим Basic аутентификацию;
  • Учетные данные для интернета (Web Credentials) – сохранённые пароли в браузерах Edge и Internet Explorer, приложениях Microsoft (MS Office, Teams, Outlook, Skype и т.д).

Например, если при доступе к сетевой папке вы включите опцию “Сохранить пароль”, то введенный вами пароли будет сохранен в Credential Manager.

сохранить пароль для доступа к сетевой папке в Windows

Аналогично пароль для подключения к удаленному RDP/RDS серверу сохраняется в клиенте Remote Desktop Connection (mstsc.exe).

Открыть диспетчер учетных данных в Windows можно:

  • из классической панели управления (Control Panel\User Accounts\Credential Manager, Панель управления -> Учетные записи пользователей -> Диспетчер учетных данных);
  • изкоманднойстроки:
    control /name Microsoft.CredentialManager

На скриншоте видно, что в Credential Manager хранятся два пароля, которые мы сохранили ранее.

Менеджер учетных данных в Windows 10, список сохраненных пользователей и паролей

Сохраненный пароль для RDP подключения сохраняется в формате
TERMSRV\hostname
.

Здесь вы можете добавить сохранённый пароль, отредактировать (просмотреть сохраненный пароль в открытом виде из графического интерфейса нельзя) или удалить любую из записей.

Для управления сохраненными паролями можно использовать классический диалоговый интерфейс Stored User Names and Password. Для его запуска выполните команду:

rundll32.exe keymgr.dll,KRShowKeyMgr

Здесь вы также можете управлять сохраненными учетными данными, а также выполнить резервное копирование и восстановление записей в Credential Manager (можно использовать для переноса базы Credential Manager на другой компьютер).

Управление сохраненными учетными данными Windows из командной строки

Вы можете добавить удалить и вывести сохраненные учетные данных в Credentil Manager из командной строки с помощью утилиты cmdkey.

Добавить в диспетчер учетные данные для доступа к серверу FS01:

cmdkey /add:FS01 /user:kbuldogov /pass:Passw0rdd1

Если нужно сохранить доменную учетную запись:

cmdkey /add:fs01.winitpro.local /user:[email protected] /pass:Passw0rdd1

Сохранить учетные данные для доступа к RDP/RDS серверу:

cmdkey /generic:termsrv/MSKRDS1 /user:kbuldogov /pass:Passw0rdd1

Вывести список сохраненных учетных данных:

cmdkey /list

Вывести список хранимых учетных данных для указанного компьютера:
cmdkey /list:fs01.winitpro.local

Удалить ранее сохраненные учетные данные:

cmdkey /delete:FS01

Удалить из Credential Manager все сохраненные пароли для RDP доступа:

For /F "tokens=1,2 delims= " %G in ('cmdkey /list ^| findstr "target=TERMSRV"') do cmdkey /delete %H

Полностью очистить пароли в Credential Manager:

for /F "tokens=1,2 delims= " %G in ('cmdkey /list ^| findstr Target') do cmdkey /delete %H

cmdkey - очистка сохраненных паролей в windows

Также для управления сохраненными учетными данными можно использовать утилиту vaultcmd.Вывести список сохраненных учетных данных типа Windows Credentials:

vaultcmd /listcreds:"Windows Credentials"

утилита vaultcmd для управления сохраненныймаи паролями из командой строки

Все сохраненные пароли хранятся в защищенном хранилище Windows Vault. Путь к хранилищу можно получить с помощью команды:

vaultcmd /list

vaultcmd list: хранилище учетных записей и паролей в windows

По умолчанию это
%userprofile%\AppData\Local\Microsoft\Vault
. Ключ шифрования хранится в файле Policy.vpol. Клю шифровани используется для рашировки паролей в файлах .vcrd.

Для работы Credential Manager должна быть запущена служба VaultSvc:

Get-Service VaultSvc

Если служба отключена, при попытке получить доступ к Credential Manager появится ошибка:

Credential Manager Error
The Credential Manager Service is not running. You can start the service manually using the Services snap-in or restart your computer to start the service.
Error code: 0x800706B5
Error Message: The interface is unknown.

Если вы хотите заблокировать пользователям возможность сохранения сетевых паролей в Credential Manager, нужно включить параметр Network access: Do not allow storage of passwords and credentials for network authentication в разделе GPO Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options.

отключить возможность сохранения паролей в Credential Manager через групповую политику

Теперь, если пользователь попытается сохранить пароль в хранилище, появится ошибка:

Credential Manager Error
Unable to save credentials. To save credentials in this vault, check your computer configuration.
Error code: 0x80070520
Error Message: A specified logon session does not exist. It may already have been terminated.

Доступ к менеджеру учетных данных Windows из PowerShell

В Windows нет встроенных командлетов для обращения к хранилищу PasswordVault из PowerShell. Но вы можете использовать модуль CredentialManager из галереи PowerShell.

Установите модуль:

Install-Module CredentialManager

powershell модуль CredentialManager

В модуле всего 4 командлета:

  • Get-StoredCredential – получить учетные данные из хранилища Windows Vault;
  • Get-StrongPassword – сгенерировать случайный пароль;
  • New-StoredCredential – добавить учетные данные в хранилище;
  • Remove-StoredCredential – удалить учетные данные.

Чтобы добавить новые учетные данные в хранилище CredentialManager, выполните команду:

New-StoredCredential -Target 'contoso' -Type Generic -UserName '[email protected]' -Password '123qwe' -Persist 'LocalMachine'

New-StoredCredential - добавить пароль в cred manager через powershell

Проверить, есть в хранилище сохраненные данные:

Get-StoredCredential -Target contoso

С помощью командлета Get-StoredCredential вы можете вывести сохраненный пароль, хранящийся в диспетчере учетных данных в отрытом виде.

Выведите список сохраненных учетных данных:

cmdkey.exe /list

Скопируйте значение Target для объекта, пароль которого вы хотите извлечь и вставьте его в следующую команду:

$cred = Get-StoredCredential -Target  LegacyGeneric:target=termsrv/MSKRD2S1
[System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($cred.Password))

Команда выведет сохраненный пароль в открытом виде.

powershell: получить пароль в открытом виде из диспетчера учетных записей Wndows

Также для получения сохраненных паролей из credman в открытом виде можно использовать утилиты типа Mimikatz (смотри пример).

Сохраненные пароли из Credential Manager можно использовать в ваших скриптах PowerShell. Например, в следующем примере я получаю сохраненные имя и пароль в виде объекта PSCredential и подключаюсь с ними к Exchange Online из PowerShell:

$psCred = Get-StoredCredential -Target "Contoso"
Connect-MSolService -Credential $psCred

Также вы можете использовать Get-StoredCredential для безопасного получения сохранённых учетных данных в заданиях планировщика.

Также обратите внимание на модуль PowerShell Secret Management, который можно использовать для безопасного хранения паролей в Windows (поддерживает различные хранилища паролей: KeePass, LastPass, HashiCorp Vault, Azure Key Vault, Bitwarden.

Чтобы удалить сохраненные учетные данные из Windows Vault, выполните:

Remove-StoredCredential -Target Contoso

On Windows 10, Credential Manager is the feature that stores your sign-in information for websites (using Microsoft Edge), apps, and networks (such as mapped drives or shared folders) when you check the option to save your credentials for future logins.

The Credential Manager feature isn’t new—it has been around for a long time. It allows you to securely store and manage your login credentials so you don’t have to constantly remember and re-enter your usernames and passwords. Usually, the system will automatically save your credentials when you check the option to remember your login information, but from the manager app, you can always view, delete, add, backup, and restore credentials.

When you visit a website or app for which you’ve saved credentials, Credential Manager automatically fills in your login information, saving you time and effort. Also, the feature encrypts your information using strong encryption algorithms, making it difficult to access it unauthorizedly.

In this guide, I will teach you how to use the Credential Manager on Windows 10 to control all your login information.

  • View sign-in passwords on Credential Manager 
  • Edit sign-in information on Credential Manager
  • Delete sign-in information on Credential Manager
  • Add new sign-in information on Credential Manager
  • Backup sign-in information on Credential Manager
  • Restore sign-in information on Credential Manager

View sign-in passwords on Credential Manager 

To view passwords through the Credential Manager, use these steps:

  1. Open Control Panel on Windows 10.

  2. Click on User Accounts.

  3. Click on Credential Manager.

  4. Click the Web Credentials tab.

  5. Click on the login information.

  6. Click the Show option.

    Windows 10 Credential Manager view passwords

  7. Confirm your authentication.

  8. Confirm the password for the credential.

After you complete the steps, the Credential Manager will reveal the password for the web login. 

It’s important to note that you can only view passwords for web credentials. The manager doesn’t provide an option to view Windows passwords.

Edit sign-in information on Credential Manager

To update a password or username already stored on Windows 10, use these steps:

  1. Open Control Panel.

  2. Click on User Accounts.

  3. Click on Credential Manager.

  4. Click the Windows Credentials tab (or Web Credentials).

  5. Select the account.

  6. Click the Edit button.

    Credential Manager edit option

  7. Update the username and password as necessary.

  8. Click the Save button.

    Edit Windows credential

Once you complete the steps, the information will update with the new credentials, which means no more login prompts if you initially saved the wrong credentials or changed the sign-in information.

Delete sign-in information on Credential Manager

To delete an account credentials already stored on Windows 10, use these steps:

  1. Open Control Panel.

  2. Click on User Accounts.

  3. Click on Credential Manager.

  4. Click the Windows Credentials tab (or Web Credentials).

  5. Select the account.

  6. Click the Remove button.

    Delete Windows Credential

  7. Click the Yes button.

After you complete the steps, the account credentials will no longer be available on the computer, meaning that future logins will require you to enter a username and password manually.

Add new sign-in information on Credential Manager

To add an app or network credential on Windows 10, use these steps:

  1. Open Control Panel.

  2. Click on User Accounts.

  3. Click on Credential Manager.

  4. Click the Windows Credentials tab.

  5. Click the “Add a Windows credential” (or “Add a certificate-based credential”) option.

    Add Windows Credential option

  6. Specify the internet or network address corresponding to the app or network resource.

  7. Specify the username and password to authenticate.

    dd network credential on Windows 10

  8. Click the OK button.

Once you complete the steps, the new account information will be added to the computer to sign in automatically the next time you access the apps or network shared.

If the website or network location requires a certificate for authentication, you can choose the “Add a Certificate-Based Credential” option. On this page, you will be able to specify the address and load the required certificate.

In addition, Credential Manager also includes the option to save generic credentials through the “Windows Credentials” page. This a convenient way to store login information for various types of accounts and services that don’t fit into the standard “Web Credentials” or “Windows Credentials” categories. 

Backup sign-in information on Credential Manager

To export and backup all your credentials for apps and networks, use these steps:

  1. Open Control Panel.

  2. Click on User Accounts.

  3. Click on Credential Manager.

  4. Click the Windows Credentials tab.

  5. Click the Back up Credentials option.

    Backup Windows Credentials

  6. Click the Browse button to specify a destination for the backup.

    Backup location for .crd Windows Credentials file

  7. Specify a name for the .crd backup file.

  8. Click the Save button.

  9. Click the Next button.

  10. Use the “Ctrl + Alt + Delete” keyboard shortcut to continue.

  11. Specify a password to protect the Credential Manager file on Windows 10.

    Credential Manager backup encryption

  12. Click the Next button.

  13. Click the Finish button.

After you complete the steps, you’ll end up with a “.crd” file containing all your Windows 10 and web credentials you can import to another computer or the same device after a clean installation.

The Credential Manager features only allow backing up the “Windows Credentials.” You cannot export the web credentials through this process. However, you can always use the password manager built into Microsoft Edge.

Restore sign-in information on Credential Manager

To restore your sign-in information from backup on Windows 10, use these steps:

  1. Open Control Panel.

  2. Click on User Accounts.

  3. Click on Credential Manager.

  4. Click the Windows Credentials tab.

  5. Click the Restore Credentials option.

    Restore Windows 10 credentials option

  6. Click the Browse button.

    Restore .crd Windows Credentials file location

  7. Select the “.crd” files with the backup information.

  8. Click the Open button.

  9. Click the Next button.

  10. Use the “Ctrl + Alt + Delete” keyboard shortcut to continue.

  11. Confirm the password to unlock the Credential Manager backup.

  12. Click the Next button.

  13. Click the Finish button.

Once you complete the step, your device’s credentials for sites, apps, and networks will be restored.

While this guide focuses on Windows 10, Credential Manager has been available for a long time, which means the steps will also work on Windows 8.1 and Windows 7.

Update September 18, 2024: This guide has been updated to ensure accuracy and reflect changes to the process.

In this article, we will show you all the details to Use Credential Manager in Windows 11 or 10. It is basically the digital locker that Windows uses to store sign-in credentials like addresses, usernames, and passwords. The information is further used for your local computer or other PCs in the same networks, or servers.

Apps or programs like File Explorer, Skype, Microsoft Office, or Windows take these login details.

Use Credential Manager in Windows 11 and 10

Here is how to use credential manager in windows 11 or 10 –

Open Credential Manager

Step-1: Press Win+S hotkeys and type credential.

Step-2: Select the result Credential Manager as shown in the below screenshot.

Step-3: The following window will display two vaults at the top: “Web Credentials” and “Windows Credentials”. Now, depending upon which vault you prefer to manage, click that one.

Web Credentials: It works as the storage of your login information that you make on the web. This specific vault represents all the account information for websites that are stored by Skype, Microsoft Apps, Windows moreover by Internet Explorer and Microsoft Edge.

Windows Credentials: It accumulates and displays the login information of Windows along with its services. It also accumulates id and password of HomeGroup that you have joined.

Delete Web Credential

Credential Manager in Windows 10 does not provide you an option to manually include a new website login information. However, it allows you to delete the account details of the one that is already listed.

• Just be into the Web Credentials section.

• Scroll down the list and expand the web details whose credentials you wish to eradicate from the system.

• After expanding it, click Remove (see screenshot).

• Delete Web Credential warning dialog will appear, click Yes to finish the process.

Show Web Credential Password

Each time you visit a website and provide login credentials, the entire information gets stored in the system. It eventually helps you in viewing a forgotten password as well. Let us see how!

– Locate the website whose password you are unable to recall.

– Expand its entry and click the Show option that appears next to the password.

– A Windows Security dialog will prompt up in order to confirm that it is actually you who wants to access the password. Once you provide your details, it will reveal the password directly on the PC screen.

Add a Windows Credential

In certain situations, you may want the system to provide you credentials whenever required. In such case, you can add a Windows Credential as per preference in Windows 10. For instance, you can add username and password to access a “network computer”.

First of all, select Windows Credentials on its main interface.

Here, click Add a Windows Credentials link (see snapshot).

On the following window, provide the necessary details in their respective fields such as IP address or network name. Next, type the username that you prefer to use.

Note: Ensure to type the name of the computer prior to the username.

Finally, assign a password of your choice and click OK to save the credentials.

That’s all! After storing the credentials, each time you try to access the network PC, it uses them all by itself.

Edit a Credential

When you use Credential Manager in Windows 10, you will see that it also provides you an option to edit an existing one.

# First of all, locate the entry that you wish to modify and then expand it by clicking the tiny arrow that shows up next to it.

# Just below the details, click the Edit option as shown in the given picture.

# Now, modify the information as per need and lastly, click the Save button to implement the changes.

Note: Experts suggests not to Change the encrypted password or credentials used by specialized applications. By doing so, you can risk those applications from performing properly. It may also result in reinstallation and configuration of it from the scratch. If you want, you can update the changes in the app itself but not in “Credential Manager”.

Have you ever wondered about the pop-up dialog that asks to save the password for the login that you just made? Whether the login is correct or incorrect that prompt always comes. The password which is saved by your system is kept in Credential Manager. That’s its major use in a system. As and when your login to a website for which the password was saved by you it would automatically complete the procedure by filling the password.



June 14, 2022 updated by

Leave a reply »

Credential Manager is the built-in password manager utility in Windows which lets you store usernames and passwords for accessing websites, network resources and apps. You can also use it to view, delete or backup your saved credentials. In this tutorial we’ll show you 3 easy methods to open Credential Manager in Windows 11 / 10.

Method 1: Open Credential Manager from Run or Command Prompt

Press the Windows key + R to bring up the Run box, type one of the following commands and press Enter. It will launch Credential Manager immediately.

control.exe keymgr.dll
control.exe /name Microsoft.CredentialManager
rundll32.exe keymgr.dll, KRShowKeyMgr

You can also execute the above commands from Command Prompt to access Credential Manager, or create a desktop shortcut for quick access.

Method 2: Open Credential Manager from Control Panel

Open the Control Panel and set the View by option to Large icons. You can then click the “Credential Manager” icon to start the Credential Manager utility.

Method 3: Open Credential Manager Using Windows Search

Click the Search button on your taskbar and type in “credential manager“. From the search results, you can click the “Credential Manager” shortcut to open the Credential Manager in the Control Panel window.

That’s it!

  • Previous Post: How to Skip 3 Security Questions When Creating Local Account in Windows 11
  • Next Post: How to Set Default GPU for Desktop Apps in Windows 11

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Чем отличается 32 битная система от 64 битной windows 7 простыми словами
  • Vulkan rt что это за папка в windows 10
  • Установка звуковых драйверов на windows 11
  • Где настройки тачпада на ноутбуке windows 10
  • Mass storage device не видит флешку windows 10