How to disable Windows Defender in Windows 10?

I’ll describe several options for disabling the Windows Defender in Windows 10:

1) The easiest option is to open the menu “Start“, then “ Settings ” (small gear) – “ Update and Security “, on the left, select the section “ Windows Defender ” and turn off real-time protection.

2) The second option, press the combination of keys Win+R and enter the command “ gpedit.msc “, the editor of the group local policy will open.
Then go to “ Computer Configuration ” – “ Administrative Templates ” – “ Windows Components ” – “ Endpoint Protection ” , right-click on “ Disable Endpoint Protection ” and “ Change “, select “ Enabled ” in the opened window and click “ OK “(to select it back you need to select “Not set”).

3) Click Win+R and type “ regedit ” to start the Registry Editor.
In the Registry Editor window, select “ HKEY_LOCAL_MACHINE ” – “ SOFTWARE ” – “ Policies ” – “ Microsoft ” – Windows Defender “.
In the right part of the window, right-click on “ DisableAntiSpyware ” and “ Change “, and set the value to 1 (to turn on Windows Defender return 0).
If “DisableAntiSpyware” is not present, then right-click on “Windows Defender” – “Create” – “DWORD parameter (32 bits)”, enter “DisableAntiSpyware” and set the value to 1.

How to add a Windows user from the command line

It took one day to add a user to Windows 10 from the command line, because nothing happened when the add button was pressed from the control panel.

The first step is to start the command prompt as administrator, for this, in the start menu, type “cmd” or simply find the shortcut “Command line” and click on it with the right mouse button select “Run as administrator “.

At the command prompt, execute the add user command (where NAME is the user name):

net user NAME /add

Finish, the new user can already be seen in the “Control Panel\User Accounts\User Accounts\Account Management