problems with COM running native win32 applications through cygwin's bash

Andy Koppe
Mon Mar 18 09:35:00 GMT 2013

On 18 March 2013 06:26, Edward Peschko wrote:
>>> All,
>>> We are having difficulties running various windows utilities through
>>> bash. Through a regular windows cmd, one can run commands like
>>> diskshadow without issue, but with bash, we are having problems with
>>> COM calls not working. We have posted an example below.
>> I'd recommend reporting this to MS if you haven't already.  While
>> there may be something in Cygwin that needs tweaking for this, it
>> would be best if MS could diagnose what is failing and why.  That
>> would make any Cygwin fix happen quicker.
> Larry,
> After further analysis, it looks like the reason diskshadow is failing
> is because it requires a fully-fledged 64 bit running environment to
> execute COM calls. As a workaround (and for whomever runs into this
> same issue and needs a fix) we have downloaded ActiveState's 64 bit
> native perl, and are doing:
> perl -e "system('cmd')";
> to get a native 64 bit environment, which allows the COM calls to
> happen for diskshadow.

The 64-bit cmd.exe can be invoked directly like this:



Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list