App-V Application Service Issue

12 Apr 2012 by Ryan Ververs-Bijkerk

Category:

    App-V

App-V Application Service Issue

Table of Content

During sequencing of an application I received an error about the services (App-V Sequencer 4.6). The installer of the application installs a service that is required for the application. Normally the installer starts the service and continues the installation but this time the following error message occurred.

The installer cannot start the service and the installations failed. The retry button tries to start the service again but the error returns. In the services.msc it is not possible to start the service or check the properties of the application services. When opening the properties I received the following error.

When I try to start the service I received the following error.

I exported the service settings from the registry under the following key.

"HKLM\System\CurrentControlSet\services\<ServicesName>".

With the information I can re-create the services manually. I removed the registry key and removed the service with SC.exe using the following command.

SC.exe delete <ServicesName>

Note: Make sure the Services.msc is closed.

With the information from the export it is possible to re-create the services. I used the following command and parameters.

SC.exe create <ServicesName> binPath= "C:\Program Files\Common Files\<Application Dir>\<Application Executable>" DisplayName= "<Application DisplayName>"

Note: The parameters are depending on the requirement of the services.

To start the services you can open the Services.msc or use the following command.

SC.exe start <ServicesName>

After these steps it was possible to continue the installation finish the App-V package. If you have any comments or questions, please leave a comment.

Tags:
    microsoft
    app-v
    applications
    sc
    sc.exe
    services
    services error 5
Ryan Ververs-Bijkerk
Written by Ryan Ververs-Bijkerk

Ryan is a self-employed technologist at GO-INIT who specializes in the EUC and code area. He primarily focuses on the user experience in centralized desktop environments.

Search

    Follow me

    Community