Article ID: 127368, created on Nov 10, 2015, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo containers for Windows


  • Create an empty template using the following guide. In order to do that, simply click Next when Template Creation Wizard asks to install the application into the temporary container.

  • When the template is created and installed, create vz-post_template_install.cmd script in C:\vz\Templates\TemplateName\ with the following content:

    set VPSID=%~3
    vzctl exec --skiplock %VPSID% ServerManagerCmd -install Name_of_the_Role -restart

Replace Name_of_the_Role with the name of a role or a feature to be installed. For example, NET Framework 3.5 on Windows 2008 R2 can be installed by replacing the name with NET-Framework-Core.

Search Words

install role or feature template

application template

fearture template

role template

965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF