R
Roger Levy
I used reg rather than regedit since my target only has command line
capabilities. Here are the registry entries associated with my service on XPe.
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ipService
Start REG_DWORD 0x3
Type REG_DWORD 0x10
ErrorControl REG_DWORD 0x1
ImagePath REG_EXPAND_SZ C:\ipService\ipService.exe
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ipService\Enum
0 REG_SZ Root\LEGACY_IPSERVICE\0000
Count REG_DWORD 0x1
NextInstance REG_DWORD 0x1
Now here are the registry entries from XP-Pro where the identical service code
starts and works correctly.
HKEY_LOCAL_MACHINE\system\controlset001\services\ipService
Type REG_DWORD 0x10
Start REG_DWORD 0x3
ErrorControl REG_DWORD 0x1
ImagePath REG_EXPAND_SZ c:\ipService\ipService.exe
DisplayName REG_SZ sample service
ObjectName REG_SZ LocalSystem
Comments: I'm using the true name "ipService" in this message rather than
"myService" which I invented to make previous messages more clear. I changed
the start type to 3 for the XPe machine to match what I had in the XP-Pro
machine. Nonetheless a "sc start ipService" command returns a FAILED 2 message
and says the system cannot find the file. I don't know nearly enough about
services and registry contents to know why the XPe and XP-Pro registry entries
are not identical but it seems to me that whatever data appears is correct and
consistent for both machines.
Since this problem seems to have stumped the group and I think it's a
significant one maybe it's time for some folks from MS to toss in some ideas?
Roger Levy
capabilities. Here are the registry entries associated with my service on XPe.
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ipService
Start REG_DWORD 0x3
Type REG_DWORD 0x10
ErrorControl REG_DWORD 0x1
ImagePath REG_EXPAND_SZ C:\ipService\ipService.exe
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ipService\Enum
0 REG_SZ Root\LEGACY_IPSERVICE\0000
Count REG_DWORD 0x1
NextInstance REG_DWORD 0x1
Now here are the registry entries from XP-Pro where the identical service code
starts and works correctly.
HKEY_LOCAL_MACHINE\system\controlset001\services\ipService
Type REG_DWORD 0x10
Start REG_DWORD 0x3
ErrorControl REG_DWORD 0x1
ImagePath REG_EXPAND_SZ c:\ipService\ipService.exe
DisplayName REG_SZ sample service
ObjectName REG_SZ LocalSystem
Comments: I'm using the true name "ipService" in this message rather than
"myService" which I invented to make previous messages more clear. I changed
the start type to 3 for the XPe machine to match what I had in the XP-Pro
machine. Nonetheless a "sc start ipService" command returns a FAILED 2 message
and says the system cannot find the file. I don't know nearly enough about
services and registry contents to know why the XPe and XP-Pro registry entries
are not identical but it seems to me that whatever data appears is correct and
consistent for both machines.
Since this problem seems to have stumped the group and I think it's a
significant one maybe it's time for some folks from MS to toss in some ideas?
Roger Levy