Article ID: 123306, created on Oct 28, 2014, last review on Oct 28, 2014

  • Applies to:
  • Virtuozzo containers for Windows


Services that are depended from kernel drivers may not work properly from application templates, as the driver fails to start. For example PNtools and UE-V Agent are affected.

The error at starting the driver(for UE-V agent):

C:\>net start uevagentdriver
net start uevagentdriver
System error 1068 has occurred.
The dependency service or group failed to start.

Or, alternatively, following error might occur:

C:\>net start uevagentdriver
net start uevagentdriver
System error 1059 has occurred.
Circular service dependency was specified.


This behavior is recognized as product issue with internal ID #PCWIN-15449. Template installation tool creates empty ObjectName registry value.

For example:

reg query HKLM\SYSTEM\CurrentControlSet\Services\uevagentdriver

    Type    REG_DWORD    0x2
    Start    REG_DWORD    0x3
    ErrorControl    REG_DWORD    0x1
    Tag    REG_DWORD    0x2
    ImagePath    REG_EXPAND_SZ    system32\DRIVERS\Microsoft.Uev.AgentDriver.sys
    DisplayName    REG_SZ    UevAgentDriver
    Group    REG_SZ    FSFilter Top
    DependOnService    REG_MULTI_SZ    FltMgr
    Description    REG_SZ    User Experience Virtualization Agent Driver
    DebugFlags    REG_DWORD    0x1
    ObjectName    REG_SZ


For existing containers

For container that have application template already installed it will be necessary to locate the driver in the registry, and remove empty ObjectName string.

  • When navigating from inside of Container: HKLM\%CTID%\MACHINE\SYSTEM\ControlSet001\Services\%DRIVER_NAME%
  • When navigating from Hardware Node side: HKLM\SYSTEM\ControlSet001\Services\%DRIVER_NAME%

For application template

To make sure application template will be correctly installed into containers it will be necessary to adjust template's post-install script

  1. Locate its vz-post_template_install.cmd script file - it should be present in \vz\Templates\%TEMPLATE_NAME%\ directory, and open it with a text editor of your choice

  2. Add following line to the end of a script:

    vzctl exec --skiplock %VPSID% reg delete HKLM\SYSTEM\CurrentControlSet\services\%DRIVER_NAME% /v ObjectName /f

    NOTE: Replace %DRIVER_NAME% with actual driver name, and leave %VPSID% as is - it will be automatically replaced by Virtuozzo with a corresponding Container ID during template installation

Search Words

kernel driver



965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF