i want to enable the Windows time service, W32time, via a shell script since it may be disabled. For testing i disabled the service and ran as admin:
"net start w32time"
and i also tried:
"sc start w32time"
both fail to start/enable the service.
Stimmt. Wenn der Service deaktiviert ist, kannst du ihn nicht starten. Er ist ja deaktiviert. Du müsstest ihn zuerst aktivieren.
sc config W32time start= auto
Man beachte das Leerzeichen hinter dem Gleichzeitszeichen.