delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/01/20:15:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,TW_NM,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C7EEC78.1050008@tlinx.org>
Date: Wed, 01 Sep 2010 17:14:48 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: difference running from cmd vs. bash?
X-Stationery: 0.4.10
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com



Normally I don't bother with cmd, and only run bash at the
command prompt, but I ran into a problem on my system.

To possibly fix some problem it was suggested I try the
'winmgmt' command with 2 different switches,  Thing
is, it fails when I run it from bash, but works fine when I run
it from cmd.exe

In Bash:
>winmgmt /verifyrepository
WMI repository verification failed
Error code:  0x8007007E
>winmgmt /salvagerepository
WMI repository salvage failed
Error code:  0x8007007E



In cmd.exe:
>winmgmt /verifyrepository
WMI repository is consistent
>winmgmt /salvagerepository
WMI repository is consistent

Why/how would winmgmt care what shell I was using?







--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019