Инструменты пользователя

Инструменты сайта


os:win:remote

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
os:win:remote [30.07.2024 19:21] – внешнее изменение 127.0.0.1os:win:remote [22.07.2025 20:22] (текущий) – [Вход с паролем] viacheslav
Строка 31: Строка 31:
  
 https://darrenmyher.com/2017/03/29/windows-server-2016-rdp-you-must-change-your-password-before-logging-on-the-first-time/ https://darrenmyher.com/2017/03/29/windows-server-2016-rdp-you-must-change-your-password-before-logging-on-the-first-time/
 +
 +==== Вход с паролем ====
 +<code dos>
 +rem Create credentials
 +cmdkey /generic:"server01" /user:"test" /pass:"PW"
 +rem Connect MSTSC with servername and credentials created before
 +mstsc /v:server01
 +rem Delete the credentials after MSTSC session is done
 +cmdkey /delete:server01
 +</code>
 +
 +===== WinRM =====
 +
 +==== Клиенту WinRM не удается обработать запрос ====
 +
 +Ошибка
 +
 +<color #ed1c24>Клиенту WinRM не удается обработать запрос. Если применяемая схема проверки подлинности отличается от Kerberos или компьютер клиента не входит в домен,  необходимо использовать транспорт HTTPS или добавить компьютер назначения к значениям параметра конфигурации TrustedHosts. Чтобы настроить TrustedHosts, используйте winrm.cmd. Обратите внимание, что в списке TrustedHosts могут находиться компьютеры, не прошедшие проверку подлинности. Чтобы получить дополнительные сведения об этом, выполните следующую команду: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.</color>
 +
 +или
 +
 +<color #ed1c24>The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.</color>
 +
 +<code powershell>
 +# Вывести список доверенных узлов
 +Get-Item WSMan:\localhost\Client\TrustedHosts
 +# Добавить узел к существующим
 +Set-Item WSMan:\localhost\Client\TrustedHosts -Value '192.168.1.12' -Concatenate
 +</code>
 +https://stackoverflow.com/questions/21548566/how-to-add-more-than-one-machine-to-the-trusted-hosts-list-using-winrm
os/win/remote.1722367260.txt.gz · Последнее изменение: 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki