1º.Creamos un archivo apagado.cmd y reiniciar.cmd con el bloc de notas. Apagado.cmd: @echo off shutdown -s -t 1 Reiniciar.cmd: @echo…