Hi,
with Visual Studio, I created a Windows service, using the appropriate "template". I made small changes to personalize the service. It does a few things (I need it only as an example): Writes to a dedicated log in the "EventLog" object and additionally adds a record to a file every time the "OnTimer" event occurs (every 5 min.). I then registered the service through the "Installutil" utility. It works perfectly.
The problem is that I wish it worked under Windows PE as well.
What I have tried:
To this end, I replicated the same settings in the WPE Registry (copying even, even, the Windows ones), but there is no way to make it work here. The service is present in Task Manager, but the state is "Stopped".
What strikes me is that there are many services active (i.e. running) in WPE environment. I also own some OEM manufacturer installation DVDs as well, where in the Windows PE environment, customized services are performed, that means the operation can be done. Where am I doing wrong? Thank you all.