Win 10 w32time service disabled

ejcrist
ejcrist used Ask the Experts™
on
Windows 10 student laptops. Windows Server 2019 AD.

One group of laptops, Dell 5440's, there are several laptops where the date/time is wrong.

The w32time service is disabled on these units.

Can I use a GPO/script of a kind to enable the w32time service??

Thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AlexA lack of information provides a lack of a decent solution.

Commented:
$Computers = Get-content "C:\Powershell\comps.txt"
ForEach ($computer in $computers) {
	& sc.exe \\$Computer W32Time config start=auto
}

Open in new window



That'll work for any computers in the text file.

Author

Commented:
Cool...but at this point, I don't have a running list of problem units.

A non PS user, could I run that from the GPO script for all units in the OU??
You could try setting registry keys.
From: https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings
Some of the preset values that are configured in the System Administrative template file (System.adm) for the Group Policy object (GPO) settings are different from the corresponding default registry entries. If you plan to use a GPO to configure any Windows Time setting, be sure that you review Preset values for the Windows Time service Group Policy settings are different from the corresponding Windows Time service registry entries in Windows Server 2003. This issue applies to Windows Server 2008 R2 , Windows Server 2008 , Windows Server 2003 R2, and Windows Server 2003.

Many registry entries for the Windows Time service are the same as the Group Policy setting of the same name. The Group Policy settings correspond to the registry entries of the same name located in:

    HKLM\SYSTEM\CurrentControlSet\Services\W32Time\

There are several registry keys at this registry location. The Windows Time settings are stored in values across all of these keys:

    Parameters
    Config
    NtpClient
    NtpServer

Many of the values in the W32Time section of the registry are used internally by W32Time to store information. These values should not be manually changed at any time. Do not modify any of the settings in this section unless you are familiar with the setting and are certain that the new value will work as expected. The following registry entries are located under:

HKLM\SYSTEM\CurrentControlSet\Services\W32Time
Brian BEE Topic Advisor, Independant Technology Professional

Commented:
The time service being disabled isn't a normal thing. So I'd suggest unless you know why they were disabled, before doing anything in bulk, try and set a few of them individually to make sure nothing else breaks.
Distinguished Expert 2018

Commented:
Inside computer GPO security settings, you can enforce the service startup type.
Commented:
Manually went into BIOS and made sure date/time were set and all is good.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial