Hi all,
Wondering if anyone might have insight into whether using a specific value in the registry is a documented / supported feature, or an unsupported 'hack'.
Under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<SERVICENAME>\ key if you create an 'Environment' value, it will merge with the system environment when the service initializes.
For example, if you add a multi-string value named Environment with data 'Path=C
blah;C
blahblah', you can localize the path environment variable for that specific service. Not sure if it combines both paths or uses the service path over the system path.
This is exactly what a vendor of a major production application of ours did. They did it for a Microsoft service (WAS / Windows Process Activation Service). It just so happens that Microsoft SCOM 2012 SP1 will remove this key or over write it, rather than add to it.
I need to explain this to management. I'm pretty sure I've done my research and will be pushing the vendor to use documented and supported functionality (i.e. use the system path variable, or write an application that doesn't rely on the path variable in the first place).
I'm on the server side of things, so wasn't sure how to determine whether the vendor is in the right, or should be pressured to fix their application. What do you think? Any insight would be greatly appreciated!
Wondering if anyone might have insight into whether using a specific value in the registry is a documented / supported feature, or an unsupported 'hack'.
Under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<SERVICENAME>\ key if you create an 'Environment' value, it will merge with the system environment when the service initializes.
For example, if you add a multi-string value named Environment with data 'Path=C
blah;C
blahblah', you can localize the path environment variable for that specific service. Not sure if it combines both paths or uses the service path over the system path.This is exactly what a vendor of a major production application of ours did. They did it for a Microsoft service (WAS / Windows Process Activation Service). It just so happens that Microsoft SCOM 2012 SP1 will remove this key or over write it, rather than add to it.
I need to explain this to management. I'm pretty sure I've done my research and will be pushing the vendor to use documented and supported functionality (i.e. use the system path variable, or write an application that doesn't rely on the path variable in the first place).
I'm on the server side of things, so wasn't sure how to determine whether the vendor is in the right, or should be pressured to fix their application. What do you think? Any insight would be greatly appreciated!