we usually create flag files ourselves in our own directory ie
c:\companyname\IS

e.g


if "%OS%"=="Windows_NT" goto :Security
:Security
if exist "c:\companyname\IS\hotfixMSO-012.flag goto END
:UPD_MSO012
 \\upd\mso\012\mso012.exe -f -l -a -g -s
if errorlevel == 1 goto error
echo hotfix MSO-012.flag >"c:\companyname\IS\hotfix MSO-012.flag"
goto end
:error
echo problem with update contact helpdesk immediately on ext 8700
pause
:end



the "if errorlevel" is probably not right , but you get the idea

I think the hot fixes are stored in the registry but you will need to use
perl or kixtart to access the reg.


Problem with logon script Idea is the user probably has to be a local
administrator for it to install............




-----Original Message-----
From: Paul Done [mailto:[EMAIL PROTECTED]]
Sent: Friday, 17 August 2001 10:24 a.m.
To: NT 2000 Discussions
Subject: RE: Hotfix Login Script


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe I should clarify, I am looking for the existance of an applied
hotfix. As far as I can tell there is no place (i.e. directory) that
indicates this. 

I have thought somewhere on the computer it says either yes or no
that a fix has been applied. For example, when you try
windowsupdate.microsoft.com after applying patches and such, it
provides a history. I don't believe this is a cookie as I have
cleared the cache thinking some "web-placed" file but it will still
show the time and patch applied. Somewhere on the individual computer
a record or indicator exist saying ya or nay to hotfixes.

Paul M. Done
San Bernardino, California 92407
 
P: 909-880-7652
F: 909-880-5901
M: 909-553-6698
Text Pager: send email to  [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
 
Standards are like toothbrushes,
everybody agrees you should have one, 
but no one wants yours.


- -----Original Message-----
From: Dean Cunningham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 3:16 PM
To: NT 2000 Discussions
Subject: RE: Hotfix Login Script


Is this supposed to be a directory "hotfix MSO-012" and where is it?

- -----Original Message-----
From: Paul Done [mailto:[EMAIL PROTECTED]]
Sent: Friday, 17 August 2001 9:57 a.m.
To: NT 2000 Discussions
Subject: Hotfix Login Script


I am inspired by Q303215 for the Secuirty Hotfix Checker Tool. But I
am
trying to figure out if I can incorporate updates into a login
script. My
attempt is to look at the computer and say:

if "%OS%"=="Windows_NT" goto :Security
:Security
if exist "hotfix MSO-012" goto :END
if not exist "hotfix MSO-012" goto :UPD_MSO012
:UPD_MSO012
net use x:\\upd\mso\012\mso012.exe -f -l -a -g -s
net use /del x:

First, does this make sense? Second who knows how to detirmine if a
hotfix
(or Service Pack) is already applied?

Appreciate your replies positive or negative,

- -Paul Done
***************************************************
This e-mail is  not an  official  statement of  the
Waikato  Regional  Council unless otherwise stated.
Visit our website http://www.ew.govt.nz
***************************************************

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to