Try running cmd.exe (both under SSH and directly) and try running shutdown.exe there. If that works, the problem is probably somewhere in the Cygwin configuration, so it might help to try an SSH server that doesn't use Cygwin. (We're currently considering the option of writing our own simple remote command shell server because we've had various problems with Cygwin and other SSH servers.) Note that it's possible to test guests without shutdown.exe in KVM-Autotest -- Win2000 doesn't have shutdown.exe so we don't run the reboot test on it. But obviously it's much better to have it. ----- Original Message ----- From: "sudhir kumar" <smalikphy@xxxxxxxxx> To: "kvm-devel" <kvm@xxxxxxxxxxxxxxx> Cc: "Uri Lublin" <uril@xxxxxxxxxx>, "Michael Goldish" <mgoldish@xxxxxxxxxx>, "David Huff" <dhuff@xxxxxxxxxx>, "Lucas Meneghel Rodrigues" <mrodrigu@xxxxxxxxxx>, "Ryan Harper" <ryanh@xxxxxxxxxx> Sent: Saturday, June 6, 2009 1:08:51 PM (GMT+0200) Auto-Detected Subject: Re: Missing shutdown.exe in win2k3 R2 Datacentre Guest under ssh Does anyone have an idea on the issue below ? On Fri, Jun 5, 2009 at 4:16 PM, sudhir kumar<smalikphy@xxxxxxxxx> wrote: > Hi, > I recently installed a Windows 2003 R2 datacentre 64 bit guest under > kvm. I installed copssh as the ssh server in the guest. When I logged > into the guest using ssh I found that the shutdown command does not > exist. I opened the command line and saw that the shutdown.exe file > exist under C:\WINDOWS/system32 and I can shutdown the guest from > command line. However this path is not mounted under cygwin but I can > not find the shutdown.exe under /cygdrive/c/WINDOWS/system32. > > Administrator@ibm-gl4gty5dclb /cygdrive/c/WINDOWS/system32 > $ ls shutdown.exe > ls: cannot access shutdown.exe: No such file or directory > > > Any idea why the file is not visible? This makes the use of > kvm-autotest impossible for testing this guest. To add to that win2k3 > datacentre does not have a telnet-server installed by default and > hence I opted for installing ssh server and use it. This problem I did > not notice with the 2008 datacentre and others. > So is there any solution for it or any work around? > > Thanks in advance > -- > Sudhir Kumar > -- Sudhir Kumar -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html