This problem affects 64-bit Windows 7 images and relates to the fact that 
msg.exe is not on the PATH for cygwin users (this has to do with the "bitness" 
of the executable). So, when vcld tries to run the command `msg $user /TIME:180 
'$message'`, the remote machine responds with an error (probably some version 
of "file not found", if I remember correctly).

The way to fix this is either 
a) Make sure that /cygdrive/c/Windows/Sysnative is part of the PATH for your 
base images (and therefore for all of your derived images)

or

b) Edit the notify_via_msg subroutine in lib/VCL/utils.pm, prepending the msg 
command with "export PATH=..." like so:

my $command = "export PATH=/cygdrive/c/Windows/Sysnative:\$PATH; msg $user 
/TIME:180 '$message'";

Regards,
Aaron


On Jun 9, 2014, at 2:17 PM, Junaid Ali <[email protected]> wrote:

> Hello,
> I remember in the past versions of VCL there used be a warning window showing 
> up in Windows VM’s reminding the user that the reservation is about to 
> expire. It doesn’t seem to be working with Windows 7 VM’s on VCL 2.3.2. Any 
> ideas?
>  
> Thanks.
> Junaid Ali

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to