MSFN Forum: how to find ou wich hotfixes are installed? - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

how to find ou wich hotfixes are installed? want to create s.th like a wsus Rate Topic: -----

#1 User is offline   quotee 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 23-December 04

Posted 07 July 2005 - 06:17 AM

Hello

I want to build a unattended software update DVD (for Windows XP, of course).
I want to install all software that is not installed ,yet. So far no problem.
But I also want to install all Windows hotfixes that are not installed, yet. Now I need to know, how I can find out, wich hotfixes are installed. I tryed to create a batch script, that searches the system for (for example) KB867282.cat - if that file exists, the update KB867282 will not be installed.
The problem is that I cannot find a command that makes it possible to search subfolders for a unique file. The folder where (for example) KB867282.cat is located is a by the system generated folder ({F750D5C3-29EE-11E1-85S5-BBC04FC295EE}) (this is not a SID).
I would prefer a method to search with a batch file (if exist ....)


p.s. By the way, I am also searching for a command to find out wich operating system is in use (also for a batch file) - the command %os% tells me that I am running Windows_NT - problem is that in Windows2000 you get the same result! :}

Now let me see that I am in "the" forum ;-)

greetz quotee


#2 User is offline   quotee 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 23-December 04

Posted 07 July 2005 - 01:35 PM

hey guys no ideas??
someone of you must have had this problem before!?

greetz

#3 User is offline   bonedaddy 

  • Bonafide Member
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 20-October 03

Posted 07 July 2005 - 01:54 PM

I use Windows Update List, find it a Major Geeks.............small free program.......

BD

#4 User is offline   tarquel 

  • The Well-wisher
  • PipPipPipPipPip
  • Group: Members
  • Posts: 838
  • Joined: 03-March 04

Posted 07 July 2005 - 02:13 PM

You can you the command line version of the mbsa package to run a scan of the system (2000 and above :D) and produce a log file which you can look at and it lists them.

I used it alot befoe SP2 came out (as you imagine).

I'm trying to now get it to install the hotfixes it finds which are missing or not the latest version - tho i havent tried to do this for while.

I havent (yet) tried the new 2.0 final version, so I'm unsure to whether it still works or not.

I'll try and get on this asap - send me a pm to remind me if u dont hear anything from me :)

Cheers
Nath

#5 User is offline   Coolsights2000 

  • Member
  • PipPip
  • Group: Members
  • Posts: 243
  • Joined: 11-August 04

Posted 07 July 2005 - 02:14 PM

Q282784 Qfecheck.exe Revision 4.2

Qfecheck.exe Verifies the Installation of Windows 2000 and Windows XP Hotfixes

http://support.micro...com/kb/q282784/

#6 User is offline   tarquel 

  • The Well-wisher
  • PipPipPipPipPip
  • Group: Members
  • Posts: 838
  • Joined: 03-March 04

Posted 07 July 2005 - 02:17 PM

Thats a old program - look at the last update on the page :S

N.

#7 User is offline   melnib00ne 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 12-November 04

Posted 07 July 2005 - 02:49 PM

Hi,

also you can in an batch use the if command like:

set hfix=876453
if not exist %systemroot%\$ntuninstallkb%hfix%$ start /wait kb876453.exe /quit and so on....

set hfix=next one...
if not exist ...

BR

Melnib00ne

#8 User is offline   RyanVM 

  • Like a big surly teddy bear.
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,661
  • Joined: 31-August 03

Posted 07 July 2005 - 03:06 PM

WinUpdatesList v1.12
Web site: http://www.nirsoft.net

#9 User is offline   bonedaddy 

  • Bonafide Member
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 20-October 03

Posted 07 July 2005 - 03:11 PM

@RyanVM

ROTFLMAO :w00t:

Sorry left out the ver number..............

BD B)

#10 User is offline   oneless 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 374
  • Joined: 07-January 05

Posted 07 July 2005 - 03:31 PM

the simply way for me is not to know what hotfixes are installed .
i need to know what arent installed .
i use wpi as separate CD .
today , they are 24 critical hotfixes .
1. 20 of them after install (i use svcpack.inf and WPI for newcomers)
make an kbxxxxxx.log in %WinDrive%\ (c:\windows)
2. KB893803 , the v2 , make an kb893802v2.log, same folder .
3. 873374 , GDI+ , i use registry way from Incroyable HULK post .
can be run milion times , no problem.
4. KB893066 , the v2 use the same KB893066.log like old v1 , shame to MS.
if the log does not exist you can say isnt installed , if exist ? is v1 is v2 ?
same folder c:\windows\KB893066.log
5. same boolean with malicious kb890830, one file , monthly
appended by the new version . if dont exist isnt installed .
if exists is v1.1 or v1.5 ?
different folder and filename : C:\WINDOWS\Debug\mrt.log
also can be run milion times , no problem.

#11 User is offline   quotee 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 23-December 04

Posted 07 July 2005 - 04:31 PM

Thanks a lot for your investigation.
But I think I found a very simple way to find out wich hotfixes are installed.. stupidly I missed that the first time I was searching.

In the windows directory, there is a hidden folder named "$hf_mig$" in that folder there are subfolders named as the hotfixes (for example KB867282).
Now I do check for the hotfixes this way:
if not exist %systemdrive%\windows\$hf_mig$\KB867282 start /wait %cdrom%\hotfixes\KB867282.exe /quiet /norestart

greetz
quotee

#12 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 07 July 2005 - 04:37 PM

This batch file should get you the OS, as long as you are using the original system supplied command processor.
WHATOS.BAT
 
@ECHO OFF

VER | FIND /I "95" >NUL
IF NOT ERRORLEVEL 1 GOTO :IS95
VER | FIND /I "NT" >NUL
IF NOT ERRORLEVEL 1 GOTO :ISNT
VER | FIND /I "98" >NUL
IF NOT ERRORLEVEL 1 GOTO :IS98
VER | FIND /I "2000" >NUL
IF NOT ERRORLEVEL 1 GOTO :IS2K
VER | FIND /I "MILLENNIUM" >NUL
IF NOT ERRORLEVEL 1 GOTO :ISME
VER | FIND /I "XP" >NUL
IF NOT ERRORLEVEL 1 GOTO :ISXP
GOTO :NOOS

:IS95
REM PUT YOUR COMMANDS HERE FOR WINDOWS 95
GOTO :ENDOF

:ISNT
REM PUT YOUR COMMANDS HERE FOR WINDOWS NT
GOTO :ENDOF

:IS98
REM PUT YOUR COMMANDS HERE FOR WINDOWS 98
GOTO :ENDOF

:IS2K
REM PUT YOUR COMMANDS HERE FOR WINDOWS 2000
GOTO :ENDOF

:ISME
REM PUT YOUR COMMANDS HERE FOR WINDOWS ME
GOTO :ENDOF

:ISXP
REM PUT YOUR COMMANDS HERE FOR WINDOWS XP
GOTO :ENDOF

:NOOS
ECHO YOU ARE USING AN UNKNOWN OS
PAUSE
GOTO :ENDOF

:ENDOF
EXIT 


#13 User is offline   quotee 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 23-December 04

Posted 07 July 2005 - 04:40 PM

@ Yzöwl

Thanks a lot, this is exactly what I needed....

greetz
quotee

#14 User is offline   jquintino 

  • Member
  • PipPip
  • Group: Members
  • Posts: 139
  • Joined: 09-April 03

Posted 07 July 2005 - 05:33 PM

continue this threat ...

where i can get a list of hotfixes after sp2 ?

or a soft o see how many hotfixes i fail to install?

ok i could use WINDOWS UPDATE you right. but i have some machines that dont had internet... see the point.

thanks

#15 User is offline   Vadikan 

  • MSFT MVP Windows Expert: Consumers
  • PipPipPip
  • Group: Members
  • Posts: 349
  • Joined: 22-February 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 July 2005 - 05:55 PM

@jquintino
See the sticky Hotfixes thread.

#16 User is offline   jquintino 

  • Member
  • PipPip
  • Group: Members
  • Posts: 139
  • Joined: 09-April 03

Posted 09 July 2005 - 11:04 PM

right

#17 User is offline   Nepali 

  • Pride of Nepal
  • PipPipPipPip
  • Group: Members
  • Posts: 519
  • Joined: 09-July 05

Posted 09 July 2005 - 11:55 PM

http://www.nirsoft.net/utils/wul.html

#18 User is offline   oneless 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 374
  • Joined: 07-January 05

Posted 10 July 2005 - 01:04 PM

for example , KB834707 is an out of date hotfix .
can someone tell me what kind of information can do
the fact that this hotfix is installed on a computer or other?
a list of already installed hotfixes can help you!????????????
sorry : i said before , i repete now , for me is not important
what hotfixes are installed on a computer
important are the hotfixes up to date
who arent installed in that computer .

am i wrong please ?!

#19 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 10 July 2005 - 01:18 PM

The fact that you hav an 'outdated' patch on your system means nothing. At the time it was installed it wasn't outdated and although other patches have been installed since then that make the former patch outdated, the installation information isn't removed from the machine.

Also, to check which hotfixes are missing from a machine, you can use HFNetChk or MBSA.
If you want to run these tools on machines without Internet access, you just have to download the catalogs (the FAQ tells where you can find those) occasionally and copy it to that machine to have up-to-date scan results.

#20 User is offline   oneless 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 374
  • Joined: 07-January 05

Posted 10 July 2005 - 01:29 PM

self answer :

suppose that windows update v4..v6 get me the installed hotfixes
not the unistalled ..
LOL , what idea , i hope billG is not an active member of MSFN !

anyway , in my windowx XP pro SP2
when i go to
control panel -> add or remove programs -> (show updates CHECKED)
i can see a full list of installed updates in the Windows XP-Software Updates
except
    windows installer 3.1 v2 who is separately showed ,
    GDI+
    malicious v.1.x

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy