Home > App-V > App-V Management Service (AppVirtServer) fails to start at Reboot.

App-V Management Service (AppVirtServer) fails to start at Reboot.

When the SQL Server is on the same machine as the App-V Management Server (formerly known as the VAS Server), the App-V Management Server Service doesn’t start after a reboot.

Solve this by adding the MSSQLSERVER as dependency to App-V service in the registry. (Use MSSQL$SQLEXPRESS when using SQL Server Express edition). Name the new string DependOnService and value MSSQLSERVER or MSSQL$SQLEXPRESS  in the hive HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AppVirtServer:

appvirt-dependonservice-mssqlserver

 

To finalize, add a DWORD named DelayedAutostart with value 1 in the same hive:

appvirt-deplayedautostart

Reboot the server, the Application Virtualization Management Server service should start (with a slight delay).

  1. roach
    June 9th, 2010 at 14:39 | #1

    As i saw your blog entry, i was full of hope to solve my problem, but your tipp doesn’t solve it. Did you changed any other options or was this the only thing you had to do, to get the service running at startup?
    I got a MS SQL 2008 SP1 and a Windows Server 2008 R2 OS and i run the app-v management server on this machine too. But it remain unstarted after all. The dependency is correct, i see it in service management console.

    Maybe you got an idea for me? I would be really happy about any tip you could provide!

    Greetz
    roach

  2. Ben De Vriese
    June 9th, 2010 at 17:05 | #2

    These where the only settings I needed to change to start the AppVirtServer service.

    I’m on a same environment as you are: MS SQL Server 2008 SP1 on Windows Server 2008 R2 in production, SQL Express 2008 in the test environment.

    I noticed the service ‘startup type’ is appearing as ‘Automatic (Delayed Start)’. What is your AppVirtServer service startup type?

  3. Ben De Vriese
    June 9th, 2010 at 21:17 | #3

    Is MSSQLSERVER listed under the Dependencies tab of the Application Virtualization Management Server (AppVirt) service?

  4. Ben De Vriese
    September 5th, 2010 at 14:25 | #4

    Did you added the DelayedAutostart key? (It wasn’t very clear, that’s why I updated my post).

  5. Mark Powell
    September 16th, 2010 at 22:48 | #5

    Starting the Appvirtserver service:

    The problem I had was solved by going into the registry and adding permissions and giving full control to the login for the SQL account under the MMC and Softgrid keys. (Do a search to find them. All these sites refer to softricity which doesn’t exist any more.

    Try it! It worked for me. Of course, you have to have the logon working in the service.

  1. No trackbacks yet.