Article ID: 1304, created on Oct 6, 2008, last review on Mar 12, 2015

  • Applies to:
  • Panels
  • Virtuozzo containers for Windows


When I try to add any template (e.g., Parallels Plesk Panel) to a VE, I get the following error:

Command usage error 'cscript.exe "C:\Program Files\SWsoft\Virtuozzo\\bin\vzpkg.vbs" private install VE_ID template_name ERROR:Failed to add template template_name to VE VE_ID

If I run the vzpkg command without any key, I get the following error:
C:\vzpkg Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

ERROR: Cannot find VZSCRIPTS files:
C:\Program Files (x86)\SWsoft\Virtuozzo\Scripts\root-lst.awk
C:\Program Files (x86)\SWsoft\Virtuozzo\Scripts\security_cow.inf


The most probable reason for the error is that the WSH (Windows Script Host) is configured incorrectly on the Hardware Node (HN). As a result, the .vbs scripts cannot be executed. Since the vzpkg utility (which is used for template installations) is based on .vbs scripts, it doesn’t work properly and leads to failure.


Execute the following command to reconfigure WSH:

cscript //H:Cscript

Please note that during the initial failure, some template data could be uploaded inside the VE, and subsequent template installations can fail because of this. It may be more appropriate to create a brand new VE and install the template there.

965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 400e18f6ede9f8be5575a475d2d6b0a6 2897d76d56d2010f4e3a28f864d69223 caea8340e2d186a540518d08602aa065 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF