Skip to Main Content
Nintex Ideas

đź‘‹ Use this site to provide feedback and ideas for all Nintex Products. See our post on Nintex Community "Welcome to Nintex Ideas" for more details on Nintex Ideas, how an idea is handled by our product teams and more!


If you have questions about Nintex Ideas, please contact ideas@nintex.com

If you require support, please visit Nintex Customer Central

If you have a sales inquiry, please contact sales@nintex.com

Categories Other
Created by Andre Stiebitz
Created on Mar 4, 2025

Don't allow the run on Installer in case of windows service issue The specified service has been marked for deletion

Sometime we can got issue during Fix pack installation or update execution (possible issue too during change license from dev to production one):

In installation log file:

15:25:24:>> ProcessWrapper.Execute: Arguments: description "K2 Configuration Service" "The K2 configuration and registry service."

15:25:24:>> ProcessWrapper.Execute: Timeout: 600000

15:25:25:>> ProcessWrapper.Execute: Process Output: [SC] ChangeServiceConfig2 FAILED 1072:

The specified service has been marked for deletion.

15:25:25:>> RunProcess.Execute: Failed executing external process. Exception: sc.exe did not complete execution, navigate to D:\K2\NOP58FixPack09\Nintex Automation K2 (5.8) FP09\sc.exe and run the executable.

15:25:25:>> ActionBase.LogWarningsErrors: Logged Warning: Done with action: RunProcess. Success: false

Certainly linked to a strange state of the windows service "K2 Configuration Service".

Generally, rebooting the server itself fix the issue.

Current on the setup, we can have the messages:

"Warning: This computer is scheduled to restart soon. It is strongly recommended to restart the computer before proceeding with this installation."

Or in some cases:

"Another installation process has been detected. Wait for the installation process to finish."

We can have this same type of check before execution of the FP or Update installer or K2 setup manager:

Example of message:

"Warning: Following K2 windows services are marked to be deleted:

{List}. It could generated issue during installer execution. It is strongly recommended to restart the computer before proceeding with this execution."

It will be better to have only one execution to do instead of 2 (One with 'The specified service has been marked for deletion' and one execution after reboot of the server).

Here some web site for reference how to do it:

majorgeeks.com/content/page/the_specified_service_has_been_marked_for_deletion.html (https://majorgeeks.com/content/page/the_specified_service_has_been_marked_for_deletion.html )

HKLM > SYSTEM > CurrentControlSet > Services > SERVICE NAME > DeleteFlag

stackoverflow.com/questions/5321825/verify-if-a-service-is-marked-for-deletion (https://stackoverflow.com/questions/5321825/verify-if-a-service-is-marked-for-deletion )

  • Attach files