- 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
-
Proposed as answer by
-
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
-
Marked as answer by
Поломалась служба времени, во время очередного обновления перестала запускаться. Выполняю команду:
Системная ошибка 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
-
Proposed as answer by
-
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
-
Marked as answer by
- 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
-
Proposed as answer by
-
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
-
Marked as answer by
I have been trying to sort out some time sync issues involving two domain controllers and seem to have ended up with a bigger problem. It’s horrible.
They are both virtual machines (one being on Amazon EC2), which I think may complicate things regarding time servers.
The primary DC with all the FSMO roles is on the LAN. I reset its time server configuration like this (from memory):
net stop w32time
w23tm /unregister
shutdown /r /t 0
w32tm /register
w32tm /config /manualpeerlist:”0.uk.pool.ntp.org,1.uk.pool.ntp.org,2.uk.pool.ntp.org,3.uk.pool.ntp.org” /syncfromflags:manual /reliable:yes /update
W32tm /config /update
net start w32time
reg QUERY HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfig /v AnnounceFlags
I checked to see if it was set to 0x05, which it was. The output for…
w32tm /query /status
Leap Indicator: 0(no warning) Stratum: 1 (primary reference — syncd by
radio clock) Precision: -6 (15.625ms per tick) Root Delay: 0.0000000s
Root Dispersion: 10.0000000s ReferenceId: 0x4C4F434C (source name:
«LOCL») Last Successful Sync Time: 10/04/2012 15:03:27 Source: Local
CMOS Clock Poll Interval: 6 (64s)
While this was not what was intended, I thought I would sort it out after I made sure that the remote DC was syncing with it first. On the Amazon EC2 remote replica DC (Windows Server 2008 R2 Core)…
net stop w32time
w32tm /unregister
shutdown /r /t 0
w32time /register
net start w32time
This is where it all goes wrong
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.
I cannot get the w32time service to start. I’ve tried resetting the time settings and tried to reverse what I have done.
The Ec2Config service cannot start either, as it depends on the w32time service.
All the solutions I have seen involve going into the telephony service registry settings, but as it is Server Core, it does not have that role, and I cannot see the relationship between that and the time service. w32time runs in the LocalService group and this telephony service which does not exist on Core runs in the NetworkService group.
Could this have something to do with the process (svchost.exe) not being able to be run as a domain account, as it now a domain controller, but originally it ran as a local user group, or something like that?
There seem to be a lot of cases of people having this problem, but the only solution has to do with the (non-existant on Core) telephony service. Who even uses that?
Поломалась служба времени, во время очередного обновления перестала запускаться. Выполняю команду:
Получаю:
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
Отобразить текущие источники синхронизации и их статус можно следующей командой:
Статус синхронизации контроллеров домена в домене: