VMware Cloud Community
jzatarain
Contributor
Contributor

vmware installBuilder - how to start a service as delayed start?

The available options if the docu are "auto, manual, disabled"; but how do I start a windows service in automatic (delayed start)?

0 Kudos
6 Replies
michieldhont_
Hot Shot
Hot Shot

Hi @jzatarain,

Could you paste an XML snippet of your current windows service action?

Regards,

Michiel

0 Kudos
jzatarain
Contributor
Contributor

@michieldhont_ I attached a sample xml.

0 Kudos
jzatarain
Contributor
Contributor

@michieldhont_ were you able to review?

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @jzatarain,

My apologies for the delay in my reply. Your example should work, Can you tell me more about the issue? Is the service being created, or not at all.

Regards,

Michiel

0 Kudos
jzatarain
Contributor
Contributor

@michieldhont_ 

My example works, but I don't want it to work like that.

As stated at the beginning, I want to set the service to "auto (delayed start)", not "auto".

That is, because I require windows to load some services, before mine starts.

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @jzatarain,

Unfortunately our underlying library does not support it. As a workaround, after creating the service, you could use a registrySet action setting the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\<service name>\DelayedAutostart

 

Regards,

Michiel