PC Review


Reply
Thread Tools Rate Thread

checking kb installed

 
 
powtrix
Guest
Posts: n/a
 
      13th Jul 2007
Hi, is possible I check if a KBxyz is installed on local machine?

possibles:
- check registry key (where they are)
- log --> %windir%\KB"xyz".log
-> any command returning 0 / 1 errorlevel.

doing that, i could update my machines remotly.
tks.

 
Reply With Quote
 
 
 
 
Ayush
Guest
Posts: n/a
 
      13th Jul 2007
[powtrix] wrote-:
> Hi, is possible I check if a KBxyz is installed on local machine?
>
> possibles:
> - check registry key (where they are)
> - log --> %windir%\KB"xyz".log
> -> any command returning 0 / 1 errorlevel.
>
> doing that, i could update my machines remotly.
> tks.
>


DIR "%windir%\$hf_mig$\KBxxx" /ad >nul && echo KBxxx in installed

 
Reply With Quote
 
Dean Wells \(MVP\)
Guest
Posts: n/a
 
      13th Jul 2007
Among other solutions available (and depending upon your OS) -

wmic qfe

.... or more elaborate -

wmic qfe get hotfixid | find "930178" 1>nul && echo Installed || echo
Not installed [or error]!

--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


"powtrix" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi, is possible I check if a KBxyz is installed on local machine?
>
> possibles:
> - check registry key (where they are)
> - log --> %windir%\KB"xyz".log
> -> any command returning 0 / 1 errorlevel.
>
> doing that, i could update my machines remotly.
> tks.
>



 
Reply With Quote
 
Rich Pasco
Guest
Posts: n/a
 
      16th Jul 2007
For some reason when I invoke wmic (with any paramters) it does nothing
(until I abort it with Ctrl-Break). Even the help command behaves this way:

wmic /?

This should work, according to
http://www.microsoft.com/resources/d...n-us/wmic.mspx

Any ideas?

- Rich



Dean Wells (MVP) wrote:

> Among other solutions available (and depending upon your OS) -
>
> wmic qfe
>
> ... or more elaborate -
>
> wmic qfe get hotfixid | find "930178" 1>nul && echo Installed || echo
> Not installed [or error]!
>

 
Reply With Quote
 
Dean Wells \(MVP\)
Guest
Posts: n/a
 
      16th Jul 2007
I've not experienced that particular condition. In your shoes, I'd
first try and determine the state of the WMI repository, see -

winmgmt /salvagerepository

.... and depending on the results, perhaps use some of the other WINMGMT
switches to perform the actual repair.

--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


"Rich Pasco" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> For some reason when I invoke wmic (with any paramters) it does
> nothing
> (until I abort it with Ctrl-Break). Even the help command behaves
> this way:
>
> wmic /?
>
> This should work, according to
> http://www.microsoft.com/resources/d...n-us/wmic.mspx
>
> Any ideas?
>
> - Rich
>
>
>
> Dean Wells (MVP) wrote:
>
>> Among other solutions available (and depending upon your OS) -
>>
>> wmic qfe
>>
>> ... or more elaborate -
>>
>> wmic qfe get hotfixid | find "930178" 1>nul && echo Installed || echo
>> Not installed [or error]!
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking for Installed Application. ink Microsoft Dot NET Compact Framework 7 29th Apr 2008 01:48 PM
Checking if a Program is installed Ferdinand Zaubzer Microsoft C# .NET 1 6th Apr 2006 08:40 AM
Checking whether SQL Server CE is installed Shannon Lloyd Microsoft Dot NET Compact Framework 1 10th Nov 2005 01:13 AM
Checking if modem is installed Russ via AccessMonster.com Microsoft Access VBA Modules 4 27th Aug 2005 01:42 PM
Checking which updates are installed in XP Patrick Dunford Windows XP General 16 27th Jun 2004 12:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 AM.