2016: Disable denial of service attack detection

Error 2025: The server has detected an attempted Denial-Of-Service attack from client \\[workstation], and has disconnected the connection.

Disable denial of service attack detection
Important These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process.You can disable denial of service attack detection at the operating system level. By doing this, you prevent errors from being logged. To do this, follow these steps:

Click Start, click Run, type regedit in the Open box, and then click OK.
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters
On the Edit menu, point to New, and then click DWORD Value.
Type DisableDos for the name of the DWORD value, and then press ENTER.
Right-click DisableDos, and then click Modify.
In the Value data box, type 1 to disable denial of service attack detection, and then click OK.

Note To enable denial of service attack detection, type 0 in the Value data box.
Quit Registry Editor.

How to fix hyper-v cannot be installed a hypervisor is already running

Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart

The above command installs only the hypervisor but does not install the administration tools, if you want to manage the Hyper-V within the virtual machine you must install RSAT for Hyper-V to do this run the following command:

Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature

you want to create a cluster then you need to install the Cluster service, run:
Install-WindowsFeature RSAT-Clustering -IncludeAllSubFeature

you can install Multipath I/O to enable multiple paths to the storage, if this is your case follow:
Install-WindowsFeature Multipath-IO

Restart to finalize the virtual machine with the command:
Restart-Computer

Windows: отключаем Windows Update на Server 2016

Открываем консоль – cmd
Вводим sconfig
Выбираем пункт обновление Windows (по умолчанию 5)

Выбираем пункт 5
Выбираем М – обновление только вручную

Ждем сообщение системы, что все корректно отключилось

Scroll to top