Forum Discussion

Mickael11's avatar
Mickael11
Copper Contributor
Mar 13, 2019

Registry Service Image Path

Hello,

 

My software includes a service created using Windows functions (OpenSCManager and CreateService), named "MyService".

Once the service is created, registry key in HKLM (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service\MyService) targets the binary file using name "ImagePath" with type "REG_EXPAND_SZ". And the value contains "%SystemRoot% environment variable.

At this point, the service works fine.

After 19H1 upgrade (version 18353), the service is not launched anymore. In registry, the name "ImagePath" has been changed and now uses type "REG_SZ".

 

Why the 19H1 upgrade change the registry data type for services?

 

Regards,

Mickael.

No RepliesBe the first to reply

Resources