nt service 1072 No need to restart, repeat the method of installing the service program or service driver

Typically, when you install a service program, delete the service, and install again, the system will prompt you with the error code 1072: “The specified service is marked for deletion.” Anti-virus software, for example, needs to be restarted after uninstalling before it can be installed, or it may report an error: “The specified service is marked for deletion.”
Here is a way to repeat the installation without restarting it.
First, close all access instances, that is, close all service handles that are opened by the CreateService and OpenService functions. Close all CreateFile handles.
The ControlService then stops serving.
DeleteService removal service.
As a final step, delete the registry keys “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Name of your server” and “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_ name of your server”.

Read More: