Jump to content

OldMan

Member
  • Posts

    51
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Spain

Posts posted by OldMan

  1. Here is my batch file for Pre-SP5 fixes on W2K. Should be very similar on XP.

    Remember the packaged style (type 2) hotfixes have the /Q:A /R:N switch while the cmd style hotfixes (type 1) use the /passive /norestart switch (for W2K).

    CLS 
    @echo off
    TITLE Pre-SP5 Hotfix installation

    ECHO Microsoft Hotfixes, patches, and updates are being installed, please wait...
    ECHO.
    ECHO Installing MS Java Virtual Machine
    start /wait F:\Hotfixes_W2K\msjavx86.exe /Q:A /R:N
    ECHO.
    ECHO Installing MS Java virtual Machine Update
    start /wait F:\Hotfixes_W2K\msjavwu.exe /Q:A /R:N
    ECHO.
    ECHO Installing Q823353, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q823353.exe /Q:A /R:N
    ECHO.
    ECHO Installing Q833989, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q833989.exe /Q:A /R:N
    ECHO.
    ECHO Installing Q839643, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q839643.exe /passive /norestart
    ECHO.
    ECHO Installing Q839645, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q839645.exe /passive /norestart
    ECHO.
    ECHO Installing Q840315, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q840315.exe /passive /norestart
    ECHO.
    ECHO Installing Q840987, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q840987.exe /passive /norestart
    ECHO.
    ECHO Installing Q841356, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q841356.exe /passive /norestart
    ECHO.
    ECHO Installing Q841533, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q841533.exe /passive /norestart
    ECHO.
    ECHO Installing Q841872, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q841872.exe /passive /norestart
    ECHO.
    ECHO Installing Q841873, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q841873.exe /passive /norestart
    ECHO.
    ECHO Installing Q842526, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q842526.exe /passive /norestart
    ECHO.
    ECHO Installing Q867282, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q867282.exe /passive /norestart
    ECHO.
    ECHO Installing Q870669, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q870669.exe /Q:A /R:N
    ECHO.
    ECHO Installing Q871250, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q871250.exe /passive /norestart
    ECHO.
    ECHO Installing Q873333, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q873333.exe /passive /norestart
    ECHO.
    ECHO Installing Q873339, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q873339.exe /passive /norestart
    ECHO.
    ECHO Installing Q873374, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q873374.exe /Q:A /R:N
    ECHO.
    ECHO Installing Q885250, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q885250.exe /passive /norestart
    ECHO.
    ECHO Installing Q885492, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q885492.exe /passive /norestart
    ECHO.
    ECHO Installing Q885835, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q885835.exe /passive /norestart
    ECHO.
    ECHO Installing Q885836, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q885836.exe /passive /norestart
    ECHO.
    ECHO Installing Q888113, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q888113.exe /passive /norestart
    ECHO.
    ECHO Installing Q890047, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q890047.exe /passive /norestart
    ECHO.
    ECHO Installing Q890175, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q890175.exe /passive /norestart
    ECHO.
    ECHO Installing Q891711, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q891711.exe /passive /norestart
    ECHO.
    ECHO Installing Q891781, Windows Security Update
    start /wait F:\Hotfixes_W2K\Q891781.exe /passive /norestart
    ECHO.
    ECHO Installing Q867460, NetFramework 1.1 SP1 Update
    start /wait F:\Hotfixes_W2K\Q867460.exe /qn
    ECHO.
    ECHO Installing Q886903, NetFramework 1.1 SP1 Update
    start /wait F:\Hotfixes_W2K\Q886903.exe /qn
    ECHO.
    ECHO Running QChain
    start /wait F:\Hotfixes_W2K\qchain.exe

    EXIT

    See the following link:

    http://unattended.msfn.org/beginner/hotfix/svcpack.htm

    Hope this helps....

    The Old Dude

    Hotfixes.txt

  2. I have a strange problem with the ATI Radeon 9600 when logging in to a Windows 2000 domain as a normal domain user. I cannot get rid of the ATI help window that shows up after driver installation, even after unticking "show this window at startup". When I login locally to the client machine, I do not get the help window, however, when I login as a domain user it always appears ad will only go away (or will not show up if the user has elevated priviledges (domain admin, etc)). Anyone got a clue?

  3. Dij,

    I was able to dupe the errors you were getting on my 2K3 Server test machine. I was only able to get the error when I did 2 things wrong. One, my permissions on my Profile "share" was set to "Everyone" with read only permission. Two, my profile path was incorrectly anotated. Make sure your permissions on your Profile shared is "Everyone" Full Control and that your profile path correctly points to the profile shared directory.

  4. homie,

    I was having the same problem as you so I did some research and found out the the RunOnceExe does not support value type REG_EXPAND_SZ, hence we cannot use environment variables during the installation. To get around this (you have to excuse me if I commit a FUBAR here as the reference I´m quoting is from a French site and my French is not that sharp) you would use a parse.bat script and a file called sed.exe. Sed.exe converts a plain text file into a reg file with full use of environment variables. Here is what mine looks like:

    parse.bat

    @echo off
    echo INSTALLATION PARAMETERS
    echo .
    echo INSTALLATION...
    echo .
    echo PLEASE BE PATIENT
    type %systemdrive%\winapps\reg\runonce.txt|%windir%\system32\sed.exe
                                  's/\%%systemdrive\%%/%systemdrive%/g'>%systemdrive%\winapps\reg\runonce.reg

    Note: between sed.exe and 's/\%%..... there is only one space and not a ENTER. I had to split it this way for a better graphic representation.

    Having done this I now create a runonce.txt file and dump it to \winapps\reg folder

    My runonce.txt file looks like this:

    runonce.txt

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]
    TITLE = "Unattended Application Setup"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz100]
    "1"="%systemdrive%\\WINAPPS\\Chipset\\Setup.exe -s -f1%systemdrive%\\winapps\\Chipset\\setup.iss"
    @="Intel 875 Chipset Driver"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]
    "1"="%systemdrive%\\WINAPPS\\NVIDIA\\Setup.exe -s -f1%systemdrive%\\winapps\\setup.iss"
    @="NVIDIA Graphics Driver"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]
    "1"="%systemdrive%\\WINAPPS\\OfficeXP\\PROPLUS.MSI /QB"
    @="Office XP Professional with FrontPage"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz150]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz160]
    "1"="%systemdrive%\\WINAPPS\\CloneCD\\clonecd.vbs"
    @="Elby CloneCD 4202"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz190]
    "1"="%systemdrive%\\WINAPPS\\JASC\\JPSP8.msi /qn"
    @="JASC Photoshop 8 Pro"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz215]
    "1"="%systemdrive%\\WINAPPS\\CDRWin\\cdr39.exe /s"
    @="CDRWin 3.9"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz220]
    "1"="%systemdrive%\\WINAPPS\\ISOBuster\\IsoBuster15.exe /VERYSILENT /SP-"
    @="ISOBuster 1.5"
    "2"="pskill.exe isobuster.exe"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz255]
    "1"="%systemdrive%\\WINAPPS\\INNO\\ISetup4011.exe /VERYSILENT /SP-"
    @="INNO Setup 4.0.0.1"

    I then create a runonce.bat file and place it in $OEM$ as I will execute it from cmdlines.txt file. It looks like this:

    runonce.bat

    @echo off
    echo System Parameters
    echo .
    echo Installation...
    echo .
    echo Please be patient
    %windir%\regedit.exe /s %systemdrive%\winapps\reg\runonce.reg

    My cmdlines.txt looks like this:

    cmdlines.txt

    [COMMANDS]
    ".\ie6.bat"
    ".\register.bat
    ".\usracnts.bat"
    ".\parse.bat"
    ".\runonce.bat"

    Only glitch is I have to manually reboot the machine after all apps are installed. Have found a reboot.exe file but it does not work with W2K. Open to suggestions...

    The Old Dude :)

    SED.EXE

  5. Aaron,

    Had a problem finding download file Q816093, Flaw in the Microsoft VM Could Enable System Compromise. As a workaround, I found a way to get the file with a test machine and SP1 installed (to be honest, I stumbled on this by accident).

    :) I configured my system to receive automatic updates and lo and behold a critical update started downloading. I quickly did a Windows Update scan and saw it was Q816093. Instead of updating my system at that time (I am using VMWare Workstation 4 with several instances of XP Home and Pro), I decided to delve into the location of the downloaded file. I found it buried in Program Files (a hidden folder called,,,,Windows Update\wuaudnld.tmp\cabs\com_microsoft.Q816093_VM3810_Ver1\msjavwu.exe.

    Just a tidbit of information should anyone else have problems finding this little guy. I know the Windows Update Catalog with OS Advanced Search did not work for me.

    :rolleyes:

    The Old Dude

×
×
  • Create New...