RE: Windows Update v5 and XPSP2RC2

From: Jordan Wiseman (Jordan_Wiseman_at_Valleymed.org)
Date: 07/28/04

  • Next message: UCX Foe: "Re: Windows Update v5 and XPSP2RC2"
    Date: Tue, 27 Jul 2004 15:24:23 -0700
    To: <focus-ms@securityfocus.com>
    
    

    Most of the scripted changes of this nature that I make are written in
    VBScript...I had forgotten about reg.exe. That being said, the real
    point I was trying to make was to use the for loop. The OP mentioned
    needing a solution that scaled well in the absense of a GPO. Even with
    reg.exe, you can only hit one computer at a time and it could still take
    a while....

    Jordan
     

    -----Original Message-----
    From: Ansgar -59cobalt- Wiechers [mailto:bugtraq@planetcobalt.net]
    Sent: Monday, July 26, 2004 3:59 PM
    To: focus-ms@securityfocus.com
    Subject: Re: Windows Update v5 and XPSP2RC2

    On 2004-07-26 Jordan Wiseman wrote:
    > On 2004-07-26 Ansgar -59cobalt- Wiechers wrote:
    >> On 2004-07-23 blake.securityfocus@andromedia.ca wrote:
    >>> In the (regrettable) absence of group policy, one could probably use

    >>> something like PSExec (from the PSTools package:
    >>> http://www.sysinternals.com/ntw2k/freeware/psexec.shtml) to load a
    >>> .REG file remotely.
    >>
    >> No need for that. reg.exe can be used against remote computers.
    >
    > Yes...but not easily scripted like you can with psexec....with a list
    > of computer names (from new view maybe) a single "for" loop could hit
    > all the machines with psexec automatically.

    IBTD. Please open a Command Prompt and type "reg /?". Install the
    Support Tools first, if you're using Windows 2000.

    > ie:
    >
    > for /F %i in (computers.txt) do psexec -i -u domain\user -p password
    > -d \\%i "regedit" "/s \\server\share\file.reg"

    Can be done with reg.exe as well.

    > IMHO, this is much easier than manually hitting several machines with
    > the regedit GUI.

    I wasn't talking about regedit/regedt32.

    Regards
    Ansgar Wiechers

    --
    "Those who would give up liberty for a little temporary safety deserve
    neither liberty nor safety, and will lose both."
    --Benjamin Franklin
    ------------------------------------------------------------------------
    ---
    ------------------------------------------------------------------------
    ---
    ---------------------------------------------------------------------------
    ---------------------------------------------------------------------------
    

  • Next message: UCX Foe: "Re: Windows Update v5 and XPSP2RC2"