Article ID: 123832, created on Dec 8, 2014, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo containers for Windows 6.0

Symptoms

"Activate windows" watermark is displayed on desktop even though Windows is activated

Cause

The problem is recognized as product issue PCWIN-21682

Workaround

It is possible to suppress this watermark by launching slmgr.vbs -ato every couple of hours on the node and inside of all containers. This implies that the node and containers are activated with KMS service.

IMPORTANT: Workaround is not applicable for non KMS installations of Windows as it will consume all the activations.

The KEY type should be GVLK for KMS clients

KMS server address can be configured for containers via DNS or by adding the line

vzctl exec2  --skiplock %VPSID%  slmgr -skms <KMS SERVER ADDRESS> 

to vz-poststart.cmd script

To achieve permanent effect a scheduled task for 'slmgr.vbs -ato' can be created.

Here is the example of how to create scheduled task for container ID 100 that runs slmgr.vbs -ato every hour:

C:\Users\Administrator>vzctl exec 100 cmd /c "Schtasks /create /sc HOURLY /tn WMRemove /tr "slmgr.vbs -ato" /mo 1 /ru System"
SUCCESS: The scheduled task "WMRemove" has successfully been created.
Command 'exec' is successfully finished

Search Words

virtuozzo windows activation

slmgr

activation

PCWIN-21682

Wnidows is not activated

watermark

Activate Windows

6f8e3eda12803cf88a9587e9782c9ed6 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f 965b49118115a610e93635d21c5694a8

Email subscription for changes to this article
Save as PDF