13 replies
by maity-boy
by jschein
by maity-boy
Poster rated this answer.
by maity-boy
only administrators can install patches, applications , drivers.
that's the builtin security in all nt based os.
So yes, that will become a problem.
Furthermore I would suggest rather to investigate the possibillities of Windows Update Services.
http://www.microsoft.com/windows2000/windowsupdate/sus/default.asp
Leopold
by pclemente2
there are beeter way to handle this IF your company will spend the $$$$$. A product call UpdateExpert will allow you to centrally control all your systems and push the update to your workstation in a Batch, or by Machine list ip etc. It will querey the system and report back what is missing and if you do not happed to have that patch it link to MIcrosoft and downloads it for you. Look it over and see what you think. It really isn't an answer to your original question, but it will help.
You coould have it check for a registry key
by maity-boy
Poster rated this answer.
by monice
See MS Q827227
The Patchinstall.vbs script performs these tasks:
1. The script reads a list of IP addresses for the remote host computers where you want to install the security patch.
2. The script obtains this list from an ASCII text file (Ipfile.txt) that contains a list of IP address (one IP address per line).
For example, you can use the Vulnerable.txt log file from the KB824146 scanning tool for the Ipfile.txt file.
3. The script obtains the first IP address from the list.
4. The script determines the Windows version on the destination computer.
5. The script maps drive Z on the script computer to C$ on the destination computer.
6. The script copies the correct version of the patch (for Windows XP, Windows 2000, or Windows Server 2003) to C:\Patchinst.exe on the destination computer (by using the drive Z mapping).
7. The script causes the patch to be installed, and then automatically restarts the destination computers without any user input or dialog boxes by using the -q -f switches (Unattended installation mode).
8. The script waits for the installation to complete.
9. The script tries to delete the C:\Patchinst.exe file on the destination computer.
10. The script removes the drive Z mapping.
11. The script processes the next IP address in the list.
Hope this solution works for you.
by maity-boy
Example script: This script below caters for WinXP, WinNT, Win2K, Win98/95. (Desktops)
If you want the utility to detect OS (gettype.exe)- send me an e-mail
This message will be truncated - more than 2000 chars!
@echo off
CLS
echo.
echo.
echo ********************************************
echo ********************************************
echo * EMERGENCY VIRUS SCAN and SOFTWARE UPDATE *
echo ********************************************
echo * *
echo * Please do not cancell this window! *
echo * *
echo ********************************************
echo * Phone (086) 100-xxxx *
echo * or e-mail the CompanyName HelpDesk *
echo * for assistance if required *
echo ********************************************
echo There are critical patches that needs to be
echo installed to protect your files and data.
echo.
echo After each installation, please re-boot and
echo login into your workstation until all the
echo critical patches has been installed.
echo ********************************************
echo.
:*************************************************************************************
:*Program to detect OS Program to detect OS Program to detect OS Program to detect OS*
:*************************************************************************************
if "%OS%" == "Windows_NT" goto CHECKOS
goto W9598
:CHECKOS
if exist "c:\windows\system32\xpsp1hfm.exe" goto WXPALL
if exist "c:\windows\system32\xpsp1res.dll" goto WXPALL
if exist "c:\windows\help\sbsi\training\wxppro\xpglospr.hlp" goto WXPALL
%logonserver%\"virusblaster\gettype.exe"
if ERRORLEVEL=9 goto NOTFOUND
if ERRORLEVEL=8 goto SYSSVR
if ERRORLEVEL=7 goto SYSSVR
if ERRORLEVEL=6 goto SYSSVR
if ERRORLEVEL=5 goto SYSSVR
if ERRORLEVEL=4 goto SYSSVR
if ERRORLEVEL=3 goto SYSSVR
if ERRORLEVEL=2 goto W2KSP3
if ERRORLEVEL=1 goto
Have you considered using QChain.exe from Microsoft to enable you to install multiple hotfixes one after the other without a reboot, and then maybe manually put a prompt in at the end to tell the user to reboot immediately, OR automate the reboot. i.e. drop a file to the hard disk upon completion of the script so that it does not try and install a second time.
References
~~~~~~~~~~~
http://support.microsoft.com/?kbid=296861
https://www.techrepublic.com.com/5100-6268-1048774.html
by maity-boy
Poster rated this answer.
by maity-boy
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending