Net start w32time системная ошибка 1290

Поломалась служба времени, во время очередного обновления перестала запускаться. Выполняю команду:

Системная ошибка 1290.
Не удалось запустить эту службу, так как одна или несколько служб одного процесс
а имеют несовместимый параметр типа SID службы. Служба с ограниченным типом SID
может сосуществовать в одном и том же процессе только с другими службами с огран
иченным типом SID. Если тип SID для этой службы только что настроен, необходимо
перезапустить хост-процесс, чтобы запустить эту службу.

Выносим службу в отдельный процесс:
sc config w32time type= own

Должны получить [SC] ChangeServiceConfig SUCCESS

После чего служба запускается, но при этом начинает ругается dcdiag.

Invalid service type: w32time on DCSERVER, current value WIN32_OWN_PROCESS, expected value
WIN32_SHARE_PROCESS

При попытке выполнить любой запрос, например w32tm /query /status вываливается ошибка закрытого доступа.
w32tm /query /status Access is denied. (0x80070005)

Решение:
net stop w32time
w32tm /unregister

Перезапускаем сервер и регистрируем службу:
regsvr32 /u w32time.dll
w32tm /register

После убедимся, что сервис снова установлен в расшаренном режиме, наберем:
sc query w32time

В ответ должны получить WIN32_OWN_PROCESS:

SERVICE_NAME: w32time
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 1  STOPPED
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

После чего, снова перезапускаем сервер, и запускаем команду sc query w32time, проверяем что служба работает:

SERVICE_NAME: w32time
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

Настраиваем контроллер на получение времени из внешних источников:
w32tm /config /manualpeerlist:»ntp1.stratum2.ru,0x8 ntp2.stratum2.ru,0x8 ntp3.stratum2.ru,0x8″ /syncfromflags:manual /reliable:yes /update

Внесем изменения в конфигурацию:
w32tm /config /update

Выполним синхронизацию командой:
w32tm /resync /rediscover

Отобразить текущие источники синхронизации и их статус можно следующей командой:
w32tm /query /peers

Статус синхронизации контроллеров домена в домене:
w32tm /monitor

  • Remove From My Forums
  • Question

  • Hello all

    I’m getting a system error 1290, when i try to use the command «net start w32time».

    The output from cmd looks like this:

    System error 1290 has occurred.

    The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service
    SID type for this service was just configured, the hosting process must be restarted in order to start this service.

    How do i recover from this error?

Answers

  • Troubleshooting an unrelated issue, I think I’ve finally found the solution to this error (sometimes, rebooting also fixes this specific error). See the underlined command below, and mind the required space between = and own. The command puts the w32time
    service in it’s own svchost process, so it doesn’t have to share the process with other services which may have been configured with an service SID type incompatible with w32time’s.

    Running the following from an elevated command prompt seems to be a pretty surefire way to fix your Windows Time service.

    pushd %SystemRoot%system32
    .net stop w32time
    .w32tm /unregister
    .w32tm /register
    .sc config w32time type= own
    .net start w32time
    .w32tm /config /update /manualpeerlist:"0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org",0x8 /syncfromflags:MANUAL /reliable:yes
    .w32tm /resync
    popd
    • Proposed as answer by

      Thursday, November 1, 2012 1:46 PM

    • Marked as answer by
      Yagmoth555MVP
      Tuesday, February 25, 2014 7:58 PM

  • Hi cliff.ha, I suggest you first try the following steps and see the result:

    1.Click Start , type regedit in the Start Search box, and then click regedit.exe in the Programs list.

    If you are prompted for an administrator password or for a confirmation, type your password, or click Continue .

    2.Locate the following registry subkey, and then click it:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTapiSrv

    3.In the details pane, right-click ImagePath , and then click Modify .
    4.In the Value data box, type the following registry value, and then click OK :

    %SystemRoot%System32svchost.exe -k NetworkService

    Note: If NetworkService does not appear in the %SystemRoot%System32svchost.exe -k NetworkService registry value, the problem that is described in the «Symptoms» section may occur.

    5.Exit Registry Editor, and then restart the computer.

    Note If you try to start the Telephony service before you restart the computer, you may receive the following error message:

    Error 1290: The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type.
    If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.

    Hope this helps!


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by
      Sean Zhu —
      Friday, October 29, 2010 6:30 AM

This error usually comes up when you try to start a new service that would get the same service ID as another service in the process:

System error 1290 has occurred.

The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.

It can be circumvented by giving the new service its own process. To do that, open a new command prompt as administrator and enter the following (replace [command] with the command’s identifier):

sc config [command] type= own

For example, if you want to start the w32time command, enter:

sc config w32time type= own

Поломалась служба времени, во время очередного обновления перестала запускаться. Выполняю команду:

Получаю:

System error 1290 has occurred. The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.

Выносим службу в отдельный процесс:

sc config w32time type= own

Должны получить [SC] ChangeServiceConfig SUCCESS

После чего служба запускается, но при этом начинает ругается dcdiag.

Invalid service type: w32time on DCSERVER, current value WIN32_OWN_PROCESS, expected value
WIN32_SHARE_PROCESS

При попытке выполнить любой запрос, например w32tm /query /status вываливается ошибка закрытого доступа.

w32tm /query /status Access is denied. (0x80070005)

Решение оказалось нетривиальным:

net stop w32time
w32tm /unregister
regsvr32 /u w32time.dll
w32tm /register

Перезапустим сервер. После убедимся, что сервис снова установлен в расшаренном режиме, наберем:

В ответ должны получить WIN32_OWN_PROCESS:

SERVICE_NAME: w32time
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 1 STOPPED
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

После чего, снова перезапускаем сервер, и запускаем команду

Убедимся что служба запущена:

SERVICE_NAME: w32time
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Затем как обычно, настраиваем контроллер на получение времени из внешних источников:

w32tm /config /manualpeerlist:"ntp1.stratum2.ru,0x8 ntp2.stratum2.ru,0x8 ntp3.stratum2.ru,0x8″ /syncfromflags:manual /reliable:yes /update

Внесем изменения в конфигурацию:

Выполним синхронизацию командой:

w32tm /resync /rediscover

Отобразить текущие источники синхронизации и их статус можно следующей командой:

Статус синхронизации контроллеров домена в домене:

  • Remove From My Forums
  • Question

  • Hello all

    I’m getting a system error 1290, when i try to use the command «net start w32time».

    The output from cmd looks like this:

    System error 1290 has occurred.

    The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service
    SID type for this service was just configured, the hosting process must be restarted in order to start this service.

    How do i recover from this error?

Answers

  • Troubleshooting an unrelated issue, I think I’ve finally found the solution to this error (sometimes, rebooting also fixes this specific error). See the underlined command below, and mind the required space between = and own. The command puts the w32time
    service in it’s own svchost process, so it doesn’t have to share the process with other services which may have been configured with an service SID type incompatible with w32time’s.

    Running the following from an elevated command prompt seems to be a pretty surefire way to fix your Windows Time service.

    pushd %SystemRoot%system32
    .net stop w32time
    .w32tm /unregister
    .w32tm /register
    .sc config w32time type= own
    .net start w32time
    .w32tm /config /update /manualpeerlist:"0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org",0x8 /syncfromflags:MANUAL /reliable:yes
    .w32tm /resync
    popd
    • Proposed as answer by

      Thursday, November 1, 2012 1:46 PM

    • Marked as answer by
      Yagmoth555MVP
      Tuesday, February 25, 2014 7:58 PM

  • Hi cliff.ha, I suggest you first try the following steps and see the result:

    1.Click Start , type regedit in the Start Search box, and then click regedit.exe in the Programs list.

    If you are prompted for an administrator password or for a confirmation, type your password, or click Continue .

    2.Locate the following registry subkey, and then click it:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTapiSrv

    3.In the details pane, right-click ImagePath , and then click Modify .
    4.In the Value data box, type the following registry value, and then click OK :

    %SystemRoot%System32svchost.exe -k NetworkService

    Note: If NetworkService does not appear in the %SystemRoot%System32svchost.exe -k NetworkService registry value, the problem that is described in the «Symptoms» section may occur.

    5.Exit Registry Editor, and then restart the computer.

    Note If you try to start the Telephony service before you restart the computer, you may receive the following error message:

    Error 1290: The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type.
    If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.

    Hope this helps!


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by
      Sean Zhu —
      Friday, October 29, 2010 6:30 AM

  • Net start w32time системная ошибка 1058
  • Net start npcap системная ошибка 87
  • Net start mysql системная ошибка 5
  • Net start ioperm системная ошибка 1275 загрузка драйвера была заблокирована
  • Net sql data provider ошибка