Disable windows update
In order to disable completely windows update, you can set the windows service Windows update(wuauserv) with the following command.
Command text : sc stop "wuauserv"
Enable windows update
In order to enable back windows update, you can set the windows service Windows update(wuauserv) with the following command.
Command text : sc start "wuauserv"