Article ID: 1236, created on Oct 6, 2008, last review on Apr 25, 2014
- Applies to:
- Virtuozzo containers for Windows
Virtuozzo Template Creation Wizard exits abruptly with the following error message:
Error during creating template. VzTmplCreate utility returned following message: cmd /c "vzctl exec2 11111 cscript c:\inetpub\AdminScripts\adsutil.vbsenumall" > C:\vz\Templates\__new\before.txt Incorrect function.
For additional info see VzTmplCr.log file in Virtuozzo logs directory.
Virtuozzo Template Creation Wizard assumes that the C:\Inetpub is present on the Virtuozzo Host server, since this directory is used in OS template to provision it to each new Virtual Server. Once you delete or move C:\Inetpub on the Host machine, this directory disappears from all VEs, which in turn causes the Wizard failure.
Please copy the 'Inetpub' folder to it's default location on the disk C:\, so that C:\Inetpub is present on the Virtuozzo Host server. This folder can be copied from any Windows Sever 2003 machine. SWsoft support can sent you this folder if you can't find it, please let us know if this is the case.