-
Notifications
You must be signed in to change notification settings - Fork 1
Windows
To enter new/change existing Windows product key use slui 3
command.
To activate Windows using phone execute slui 4
command.
To uninstall current product key and set trial state use: slmgr /upk
.
To remove product key from the registry run: slmgr /cpky
.
To reset product key and start an evaluation period: slmgr /rearm
.
Note: all slmgr
commands must be executed with elevated privileges.
For OS activation using on-premise deployed KMS server you need to execute several commands on client machine.
Note: all commands must be executed with elevated privileges.
Installing the KMS key for your Windows product (see full list of keys there):
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
.
Specifying the address of the KMS server manually (in case if you have no locally installed DNS server):
slmgr /skms <KMS Server FQDN or IP address>:1688
.
Activating Windows on KMS server:
slmgr /ato
.
Checking Windows activation status:
slmgr /dli
.
Sources: docs.microsoft.com, docs.microsoft.com, theitbros.com
Source: docs.microsoft.com
To disbale Windows Defender you must change policy settings.
For this push Win + R
key combination and run gpedit.msc
(Local Group Policy Editor).
Then navigate next path:
Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus
Then find policy named Turn off Windows Defender Antivirus
and set it's value to True
, then reboot.
Source: windowscentral.com