Как отключить гипервизор windows 10

Встроенный в Windows 10 и 11 гипервизор Hyper-V — полезный инструмент, но порой возникает потребность в его отключении. О том, как это сделать, вы узнаете из нашего материала.

Как уже говорилось выше, Hyper-V — это один из множества встроенных элементов системы. Соответственно, управлять им можно через меню «Компоненты». Алгоритм деактивации программы выглядит следующим образом:

  • Запустите «Панель управления» и откройте раздел «Удаление программ»;

Источник: CQ / «Панель управления» в Windows

Источник: CQ / «Панель управления» в Windows

  • С левой стороны кликните на пункт «Включение или отключение компонентов Windows»;

Источник: CQ / «Удаление или изменение программ» в Windows

Источник: CQ / «Удаление или изменение программ» в Windows

  • В загрузившемся перечне найдите Hyper-V и уберите галочку напротив него.

Источник: CQ / Окно для отключения Hyper-V

Источник: CQ / Окно для отключения Hyper-V

После этого остается только все сохранить и перезагрузить компьютер, чтобы изменения вступили в силу.

Через терминал Windows

В число множества функций терминала Windows входит и отключение гипервизора. Для этого:

  • Кликните правую кнопку мыши на «Пуск» и запустите терминал PowerShell с правами администратора;

Источник: CQ / Запуск терминала PowerShell

Источник: CQ / Запуск терминала PowerShell

  • Введите команду Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All и нажмите клавишу Enter.

Источник: CQ / Отключение Hyper-V через терминал PowerShell

Источник: CQ / Отключение Hyper-V через терминал PowerShell

Результатом процедуры станет выключение на устройстве приложения Hyper-V.

Через командную строку

Здесь происходит практически все то же самое, что и в предыдущем пункте, за исключением того, что в этот раз используется хранилище системных компонентов DISM.

  • Через «Пуск» или поисковую панель найдите и запустите командную строку;

  • В загрузившемся поле наберите команду dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All и нажмите клавишу Enter.

Источник: CQ / Отключение Hyper-V через командную строку

Источник: CQ / Отключение Hyper-V через командную строку

И снова, дождитесь до момента, пока система не сообщит об отключении гипервизора Hyper-V. Кстати, тут перезагрузка не требуется, поскольку все изменения вступают в силу сразу.

Существует еще один вариант деактивации приложения через командную строку. Его главное отличие кроется в том, что системный элемент просто отключается и не мешает работе остальных программ, а не удаляется с устройства.

  • Запустите командную строку;

  • Введите в поле команду bcdedit /set hypervisorlaunchtype off и нажмите клавишу Enter.

Источник: CQ / Еще один способ отключить Hyper-V через командную строку

Источник: CQ / Еще один способ отключить Hyper-V через командную строку

В конце обязательно перезагрузите компьютера.

Как узнать, включен ли Hyper-V

Проверить, включен ли на вашем устройстве гипервизор или нет, очень просто. Для этого откройте командную строку и введите команду msinfo32.exe. В появившемся окне «Сведения о системе» пролистайте до самого низа, где и будут все данные о Hyper-V.

Источник: CQ / «Сведения о системе» в Windows

Источник: CQ / «Сведения о системе» в Windows

Что делать, если Hyper-V не отключается

Иногда попытки отключить Hyper-V могут закончиться неудачей. В этом случае необходимо проверить целостность системных файлов и хранилищ. Для диагностики откройте командную строку и включите команду sfc /scannow.

Источник: CQ / Диагностика системных файлов

Источник: CQ / Диагностика системных файлов

Если никаких ошибок обнаружено не было, то опробуйте команду DISM /Online /Cleanup-Image /RestoreHealth. Обычно этого хватает, чтобы Windows нашла и исправила все сбои.

Читайте также:

  • Как снять защиту от записи с флешки
  • Как переместить панель задач вниз экрана в Windows
  • Как исправить ошибку «Среда восстановления Windows недоступна»
  • Для чего нужен порт RDP в Windows
  • Explorer.exe — что это за процесс в Windows

Заглавное фото: ICON Eyecare

Компоненты Hyper-V в Windows 10 позволяют создавать виртуальные машины встроенными средствами системы (подробнее: Виртуальные машины Hyper-V в Windows 10), а также служит для работы таких компонентов как Песочница Windows 10. Однако в некоторых случаях включенные компоненты Hyper-V могут мешать: например, для запуска виртуальных машин VirtualBox или эмуляторов Android.

В этой инструкции подробно о том, как отключить Hyper-V в Windows 10 двумя способами: первый предполагает отключение соответствующих компонентов системы, второй — отключение гипервизора без удаления самих компонентов Hyper-V.

  • Отключение Hyper-V путем удаления в компонентах
  • Как отключить Hyper-V без удаления
  • Видео инструкция
  • Дополнительные способы удалить Hyper-V

Отключение Hyper-V в компонентах Windows 10

Первый способ отключить Hyper-V предполагает использование соответствующего раздела «Программы и компоненты» в панели управления, шаги будут следующими:

  1. Откройте Панель управления, для этого можно использовать поиск в панели задач, либо нажать Win+R на клавиатуре, ввести control и нажать Enter.
  2. В панели управления перейдите в раздел «Программы и компоненты» или «Удаление программы».
  3. Слева нажмите по пункту «Включение или отключение компонентов Windows».
    Включение и отключение компонентов Windows

  4. Снимите отметку с пункта «Hyper-V» и примените настройки.
    Отключить Hyper-V в Windows 10

  5. При появлении запроса на перезагрузку, перезагрузите Windows 10 для вступления изменений в силу.

Обычно указанных действий достаточно, чтобы устранить проблемы, которые иногда могут быть вызваны наличием Hyper-V в системе.

Если указанные шаги не помогли, попробуйте там же в компонентах отключить пункт «Песочница Windows» и также перезагрузить компьютер при необходимости.

Как отключить Hyper-V без удаления компонентов

Предыдущий метод отключения Hyper-V предполагает удаление соответствующих компонентов из системы, однако можно обойтись и без этого:

  1. Запустите командную строку от имени Администратора, для этого можно использовать поиск в панели задач, а потом выбрать пункт «Запуск от имени администратора». Другие способы запуска командной строки от имени администратора.
  2. Введите команду
    bcdedit /set hypervisorlaunchtype off

    и нажмите Enter.

  3. Перезагрузите компьютер.

После перезагрузки Hyper-V (гипервизор) будет выключен и не будет влиять на запуск каких-либо других виртуальных машин, при этом сам компонент останется включенным.

Чтобы снова включить Hyper-V, используйте ту же команду, но измените off на auto и перезагрузите компьютер. Также есть возможность создания меню загрузки для выбора режима, в котором будет запускаться система — с включенным или отключенным Hyper-V, об этом в инструкции Как запускать виртуальные машины Hyper-V и VirtualBox на одном компьютере.

Отключение Hyper-V в меню загрузки Windows 10

Видео

Дополнительные способы удалить Hyper-V

Помимо описанных способов, вы можете удалить компоненты Hyper-V в PowerShell с помощью команды

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor

Или, при использовании командной строки, с помощью команды:

DISM /Online /Disable-Feature:Microsoft-Hyper-V

Надеюсь, материал помог разобраться. Если же остаются вопросы — задавайте в комментариях. Также помните, что для работы виртуальных машин и эмуляторов следует включить аппаратную виртуализацию.

Все способы:

  • Отключение Hyper-V в Windows 10
    • Способ 1: Компоненты Windows
    • Способ 2: PowerShell/Командная строка
    • Hyper-V не отключается
  • Вопросы и ответы: 8

Hyper-V — система виртуализации в Windows, идущая по умолчанию в наборе системных компонентов. Она присутствует во всех версиях десятки за исключением Home, а ее предназначение — работа с виртуальными машинами. Ввиду определенных конфликтов со сторонними механизмами виртуализации, Hyper-V может потребоваться отключить. Сделать это очень легко.

Отключение Hyper-V в Windows 10

Есть сразу несколько вариантов отключения технологии, и пользователь в любом случае может без труда включить ее обратно тогда, когда это нужно. И хотя по умолчанию Hyper-V обычно отключен, он мог быть активирован пользователем ранее, в том числе и случайно, либо при установке модифицированных сборок ОС, после настройки Виндовс другим человеком. Далее мы приведем 2 удобных способа отключения Hyper-V.

Способ 1: Компоненты Windows

Так как рассматриваемый элемент является частью системных компонентов, отключить его можно в соответствующем окне.

  1. Откройте «Панель управления» и перейдите в подраздел «Удаление программы».
  2. Установка и удаление программ в Панели управления Windows 10

  3. В столбце слева найдите параметр «Включение или отключение компонентов Windows».
  4. Включение и отключение компонентов в Панели управления Windows 10

  5. Из списка отыщите «Hyper-V» и деактивируйте его, убрав галочку или квадратик. Сохраните изменения, нажав на «ОК».
  6. Компонент Hyper-V в Windows 10

В последних версиях Виндовс 10 не требует перезагрузки, однако вы можете сделать это при необходимости.

Способ 2: PowerShell/Командная строка

Аналогичное действие можно совершить, используя «cmd» либо его альтернативу «PowerShell». При этом для обоих приложений команды будут разными.

PowerShell

  1. Откройте приложение с правами администратора.
  2. Запуск Windows PowerShell с правами администратора в Windows 10

  3. Впишите команду:

    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

  4. Отключение Hyper-V в PowerShell в Windows 10

  5. Начнется процесс деактивации, он занимает несколько секунд.
  6. Процесс отключения Hyper-V в PowerShell в Windows 10

  7. В конце вы получите уведомление со статусом. Перезагрузка не нужна.
  8. Результат отключения Hyper-V в PowerShell в Windows 10

CMD

В «Командной строке» отключение происходит путем задействования хранилища системных компонентов DISM.

  1. Запускаем ее с правами администратора.
  2. Запуск Командной строки с правами администратора в Windows 10

  3. Копируем и вставляем следующую команду:

    dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All

  4. Отключение Hyper-V в CMD в Windows 10

  5. Процедура отключения займет несколько секунд и по окончании отобразится соответствующая надпись. Перезагружать ПК, опять же, не нужно.
  6. Результат отключения Hyper-V в CMD в Windows 10

Hyper-V не отключается

В некоторых случаях у пользователей возникает проблема в деактивации компонента: он получает уведомление «Нам не удалось завершить компоненты» либо при последующем включении Hyper-V становится снова активен. Устранить эту неполадку можно проверкой системных файлов и хранилища в частности. Осуществляется сканирование через командную строку запуском инструментов SFC и DISM. В другой нашей статье мы уже рассматривали более подробно то, как произвести проверку ОС, поэтому чтобы не повторяться, прикладываем ссылку на полную версию этой статьи. В ней вам потребуется поочередно выполнить Способ 2, затем Способ 3.

Подробнее: Проверка Windows 10 на наличие ошибок

Как правило, после этого проблема отключения исчезает, если же нет, то причины следует искать уже в стабильности работы ОС, но поскольку спектр ошибок может быть огромным и это не укладывается в рамки и тему статьи.

Мы рассмотрели способы отключения гипервизора Hyper-V, а также основную причину, по которой его не удается деактивировать. Если у вас все равно возникли проблемы, напишите об этом в комментариях.

Наша группа в TelegramПолезные советы и помощь

Since Windows 8, we can create a virtual machine with Hyper-V. As a newly publish function, it has some unignorable shortcomings while compares to VirtualBox and VMware. Such as Hyper-V needs to configure virtual switch manager to connect to the network and it cannot connect to USB flash disk directly. That’s why most people tend to utilize VMware or VirtualBox instead. Besides, Hyper-V conflicts with VMware and VirtualBox. So, let’s go ahead and get started on how to disable or turn off Hyper-V in Windows 10.

How to Disable or Turn off Hyper-V in Windows 10

  • Option 1: Disable Hyper-V Windows 10 by Control Panel
  • Option 2: Turn off Hyper-V Windows 10 via Computer Management
  • Option 3: Disable Hyper-V Windows 10 by Command Prompt
  • Option 4: Disable Hyper-V Windows 10 PowerShell

Option 1: Disable Hyper-V Windows 10 by Control Panel

Step 1: Type Turn Windows features on or off in the Windows search bar and hit Enter to open it. Or you can navigate to Control Panel > Program > Turn Windows features on or off.

turn windows features on or off

Step 2: Uncheck the box of Hyper-V and click OK. Restart your computer to disable Hyper-V completely.

windows feature

Option 2: Turn off Hyper-V Windows 10 via Computer Management

Step 1: Right-click on This PC icon then select Manage.

Step 2: In the Computer Management window, expand Services and Applications > Services and double Hyper-V Virtual Management.

hyper-v virtual machine management

Step 3: Tap on Stop button to turn off Hyper-V in Windows 10.

turn off hyper-v via windows management

Option 3: Disable Hyper-V Windows 10 by Command Prompt

Step 1: Type cmd in the search bar and Run Command Prompt as administrator.

Step 2: Execute the “bcdedit /set hypervisorlaunchtype off” to disable Hyper-V in Windows 10. Restart to take effect.

Note: To enable Hyper-V in Command Prompt, you can run “bcdedit /set hypervisorlaunchtype auto” instead.

disable hyper-v windows 10 command line

Option 4: Disable Hyper-V Windows 10 PowerShell

Step 1: Right-click on the Start icon and select Windows PowerShell (admin).

run powershell as admin

Step 2: Copy the command line below and run it.

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

disable hyper-v powershell

Step 3: Reboot Windows 10 to make changes effect.

Microsoft Hyper-V is a type 1 hypervisor that you can install on Windows – including on Windows 10 and Windows Server 2019. In some scenarios, you may need to uninstall Hyper-V on your Windows machine. For example, VMware Workstation and Hyper-V are not compatible when installed on the same machine. The same issues occur with other type 2 hypervisors like VirtualBox.

Whatever your case, learn how to uninstall Hyper-V in Windows using two methods: via the GUI (graphical user interface) and via the CLI (command line interface).

Note: The processes explained for Windows 10 are applicable to Windows 11. The processes explained for Windows Server 2019 also work for Windows Server 2022 and 2016.

How to Disable Hyper-V in Windows 10 and 11 in Control Panel

Using the Control Panel to uninstall Hyper-V is the most convenient method and is preferred by most users for Windows 10 or 11. As a result, the Hyper-V feature is uninstalled completely.

To uninstall Hyper-V, do the following:

  1. Click Start, type Control Panel, and open it. Press Win+R. In the Run field, type appwiz.cpl and press Enter.
  2. In the Control Panel window, click Turn Windows features on or off.
  3. In the Windows Features window that opens, deselect the Hyper-V checkbox. Make sure that checkboxes in Hyper-V subfolders are deselected.

    How to uninstall Windows 10 Hyper-V in Control Panel

  4. Locate and deselect Virtual Machine Platform and Windows Hypervisor Platform.
  5. Hit OK to save settings and start the Hyper-V uninstallation process.
  6. Click Restart now to restart your computer to finish the process and uninstall Hyper-V.

    Hyper-V Windows 10 uninstallation - restarting Windows

How to Uninstall Hyper-V in Windows 10 and 11 with the Command Prompt

You can uninstall Hyper-V in the command line interface (CLI) just as with the previous method in the graphical user interface (GUI). This workflow works in both Windows 10 and Windows 11.

Check the Hyper-V installation status in the command line before you start to uninstall Hyper-V and to make sure that this hypervisor has been removed from your Windows system after you have uninstalled Hyper-V.

  1. Open the command line (CMD) as administrator. Open the Windows Start menu, type cmd, right-click the cmd entry, and click Run as administrator.
  2. Run systeminfo to check whether Hyper-V is installed.
    • If Hyper-V is not installed, in the Hyper-V requirements section, you see the names of the technologies required to install Hyper-V and the status of their availability on the machine.
    • If Hyper-V is installed, you should see the following message in the Hyper-V Requirements line:
      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

      Checking the Hyper-V installation status in Windows

    • As an alternative, you can run msinfo32.exe to check whether Hyper-V is uninstalled in the GUI. The needed information is located in the System Summary section at the bottom of the item list.

      Hyper-V is installed in Windows

      Now, once you have verified that Hyper-V is installed, you can uninstall Hyper-V in Windows 10 by using the command line.

  3. Open PowerShell with administrative privileges (type PowerShell in the Start menu, right-click PowerShell, and click Run as administrator just as you do to run CMD).
  4. Run the following command to remove the Hyper-V feature from Windows 10:

    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

    Hyper-V Windows 10 uninstallation in PowerShell

  5. Do you want to restart the computer to complete this operation now?

    Type Y and hit Enter.

  6. Restart is required after executing this command. You can type N (No) and restart Windows manually.

Removing Hyper-V with DISM

DISM (Deployment Image Servicing and Management) is a tool for working with Windows images (.wim files) and installing/uninstalling Windows drivers, features, and packages.

Open PowerShell with administrative privileges, and run this command to disable Hyper-V:

DISM /Online /Disable-Feature:Microsoft-Hyper-V

How to uninstall Hyper-V in Windows 10 by using PowerShell and DISM

You may need to disable Secure Boot in UEFI/BIOS settings of a computer to finish the uninstallation process and uninstall Hyper-V. The sequence to disable Secure Boot depends on your hardware vendor and differs for different motherboard vendors and models.

How to Disable Hyper-V in BCDEDIT

You can change Hyper-V startup options when Windows boots without uninstalling Hyper-V completely. In this case, Hyper-V is installed but inactivated. Hyper-V is not booted before Windows boots if you disable Hyper-V by using the command line bcdedit tool. Bcdedit is the command line tool to manage Boot Configuration Data or BCD. BCD store is used to describe boot parameters for applications, add boot menu entries, etc.

If you use BCD to disable Hyper-V, the Hyper-V feature is disabled but not uninstalled completely from Windows. As you remember, Hyper-V is the first-type hypervisor that boots before Windows boots. The idea of using this method is to disable Hyper-V in boot configuration.

To use this method to disable Hyper-V, run the command prompt (CMD) as administrator and run the following command:

bcdedit /set hypervisorlaunchtype off

Windows 10 disable Hyper-V - using the command line bcdedit tool

Note: If you need to enable Hyper-V again, run bcdedit /set hypervisorlaunchtype on

For more convenience, you can create two boot entries for your Windows machine. One boot entry is used to boot the operating system with Hyper-V, and another one is used to boot the OS without Hyper-V.

  1. Run the following command to copy the default boot configuration to the new entry. “Hyper-V disable” is the name of the new boot entry in my case.

    bcdedit /copy {default} /d "Hyper-V disable"

  2. The following output message is displayed:

    The entry was successfully copied to {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.

  3. Run the command to edit Hyper-V boot options for the new boot entry you have created. Copy the value in brackets {} from the above output message and paste to this command:

    bcdedit /set {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} hypervisorlaunchtype off

    Creating two boot menu options in Windows 10 with bcdedit

  4. You should see the message: The operation completed successfully.
  5. Edit the name of the default boot entry with Hyper-V to “Windows 10 Hyper-V” for more convenience:

    bcdedit /set {default} description "Windows 10 Hyper-V"

  6. Restart your computer.

Now you have two boot menu entries. Select “Hyper-V disable” to boot Windows without Hyper-V or select “Windows 10 Hyper-V” to boot Windows with Hyper-V.

How to disable Hyper-V Windows 10 – selecting options in the boot menu

You can also watch how to uninstall Hyper-V in Windows in this video:

How to Uninstall Hyper-V on Windows Server 2019

The process of removing Hyper-V in Windows Server 2019 is slightly different compared to Windows 10. In this section, we cover how to uninstall Hyper-V in Windows Server 2019. The workflow to uninstall Hyper-V on Windows Server 2022 and 2016 is identical.

Using the GUI

If your Windows Server is installed with the graphic experience and has a graphical user interface (GUI), then the easiest way to uninstall Hyper-V is using Server Manager and the Remove Roles and Features wizard.

  1. Open Server Manager (Start > Server Manager), and click Manage > Remove Roles and Features.

    Using the Remove Roles and Features wizard to uninstall Hyper-V in Windows Server 2016

    The Remove Roles and Features wizard opens.

  2. Before You Begin. There is nothing to configure at this step, but you can select the Skip this page by default option to avoid displaying this page in the future. Click Next to continue.
  3. Server Selection. Select a server from the server pool and select your server in the list. The server name is Hyper-V-Repl.test.net in my case. Hit Next at each step of the wizard to continue.

    Selecting a server on which you want to uninstall Hyper-V

  4. Server Roles. Deselect the Hyper-V checkbox in the list of roles to uninstall Hyper-V.

    Deselect the Hyper-V role to uninstall Hyper-V in Windows Server 2016 or 2019

  5. The popup window opens. Check the features that you are about to remove. Select Remove management tools (if applicable) to remove Hyper-V Manager Windows tools. Click Remove Features.

    Removing Hyper-V features in Windows Server

  6. Features. There is no need to remove custom features when you uninstall Hyper-V. Leave features configuration as is.

    The list of features in the Remove Roles and Features wizard

  7. Confirmation. Check all items that are going to be removed. Select the checkbox if you want your server to restart automatically when the Hyper-V role is removed. Otherwise, you need to restart Windows manually for changes to take effect and finish Hyper-V uninstallation. Click Remove to finish and uninstall Hyper-V.

    Restart of the server is required to uninstall Hyper-Vs

Using PowerShell

The PowerShell command to uninstall Hyper-V in Windows Server 2016, 2019, and 2022 is not the same as in Windows 10.

  1. Open PowerShell as administrator.
  2. Run the following command to uninstall Hyper-V on Windows Server 2016:

    Remove-WindowsFeature -Name Hyper-V

    Using PowerShell to uninstall Hyper-V in Windows Server 2016

  3. Restart the server to finish the removal process.

Issues That Can Occur

Sometimes issues may occur when you try to uninstall Hyper-V in Windows 10 and Windows Server 2016, 2019, or 2022. Let’s explain some common issues and offer recommendations to help fix these issues.

Case 1

If you see a message that Windows cannot uninstall Hyper-V components, try to check system files and their storage. Different error codes are displayed, for example, 0x800F0831, 0x80073701, etc. Use command line tools to fix this issue. Open the command line (CMD) with administrative privileges and run the following commands.

Dism /Online /Cleanup-Image /RestoreHealth

Dism.exe /online /Cleanup-Image /StartComponentCleanup

sfc /scannow

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

After executing these commands, logs are written to CBS.log and dism.log. Logs are useful for troubleshooting.

Case 2

Hyper-V is not uninstalled because a virtual network adapter or a virtual switch created by Hyper-V is present in a host Windows system. Remove virtual Hyper-V network adapters, and try to uninstall Hyper-V again. Here are some posts about Hyper-V network adapters and virtual switches from our blog.

Case 3

You disable Hyper-V but after reboot, Hyper-V is enabled again. A possible cause may be that a group policy is set to enable Hyper-V automatically on login after each boot. A system administrator should edit the group policy configuration to fix this issue. Remember, that Device Guard and Credential Guard are features using Hyper-V to work in Windows. Check Computer Configuration -> Administrative Templates -> System -> Device Guard in the group policy editor to make sure that there are no settings to force run Device Guard on a Windows machine.

Conclusion

Hyper-V can be uninstalled with a graphical user interface or a command line interface in Windows 10 and 11 and Windows Server 2016/2019/2022. The workflow is different for Windows 10 and Windows Server operating systems. If you have uninstalled Hyper-V, you can use another hypervisor to run virtual machines. Remember to back up your virtual machines to protect your data. NAKIVO Backup & Replication supports backup of VMware VMs  as well as Hyper-V VMs.

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как проверить разрядность системы windows xp
  • Закладки в windows forms
  • Ошибка 0xc0000022 при активации windows 10
  • Victoria hdd загрузочный диск iso windows
  • Open ssh config windows