Re: Installing MS patches remotely

From: Torgeir Bakken (Torgeir.Bakken-spam@hydro.com)
Date: 09/30/02


From: Torgeir Bakken <Torgeir.Bakken-spam@hydro.com>
Date: Mon, 30 Sep 2002 22:42:28 +0200


Robert Jacobson wrote:

> I administer several Win2k Pro workstations. I do not administer a
> Win2k Server, so I can't roll out patches that way. What I normally do
> is either walk over to the workstation, or use VNC to connect to the
> remote workstation, then install as usual. (Usual being Windows Update,
> or double-clicking the .exe file)
>
> What can be done remotely, without installing third-party software
> distrubution packages? Can the patches MS distrubutes typicaly be
> installed from the command line? If so, I would think I'd be able to
> telnet/ssh to the workstation and just run the executable from there.
>
> On a related note -- Assuming I can patch from the command line -- How
> do I mount/disconnect a share from the command line? I'd like to be
> able to put the patch on a file server so that I can get to it from any
> workstation.

Hi

If you want to do an installation that is unattended (no user input) and single
file install file based, you can use PsExec.exe in the free PsTools suite from
Sysinternals for this (will work on Win NT 4.0, Win2k and WinXP).

http://www.sysinternals.com/ntw2k/freeware/pstools.shtml

To install e.g. q323759.exe remotely, do like this:

psexec.exe \\some_computer -c C:\q323759.exe /q:a /r:n

The file "behind" -c must exist on the computer running PsExec.
PsExec will copy the specified program to the remote system for execution and
run it with the additional switches. After the install, the file q323759.exe
will be deleted from the remote computer.

If not domain, username and password can be supplied:
psexec.exe \\some_computer -u user -p pwd -c C:\q323759.exe /q:a /r:n

See here for a complete example that installs SW on a list of computers in a
text file using PsExec:

From: Torgeir Bakken (Torgeir.Bakken-spam@hydro.com)
Subject: Re: Auto-Installing WMI
Newsgroups: microsoft.public.win32.programmer.wmi
Date: 2002-08-12 20:04:56 PST
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=3D58758B.3139B90C%40hydro.com

--
torgeir


Relevant Pages

  • Re: Curious Security Behavior
    ... > I am curious about a remote access behavior that I find puzzling. ... > different PC (Win2K) also not in the domain to the target PC there is ... can do anything you like on workstation A because domain admins are members ... you can't exactly "manage" it in ADUC on the server, but if the domain admin ...
    (microsoft.public.windows.server.general)
  • Getting Access To Terminal Services
    ... I have an installation of Win2K Professional and I wish to use Terminal ... actually I want to access it through XP Remote ... I assume I need to install Win2K Server, and wish to ask those in the know ...
    (microsoft.public.win2000.termserv.apps)
  • Re: Can you use BizTalk explorer to administer remote installations of BizTalk?
    ... local workstation, but I am getting some strange errors. ... I have BizTalk 2004 installed on one server, ... to install Visual Studio on the server. ... Is it possible to use BizTalk Explorer to administer remote ...
    (microsoft.public.biztalk.general)
  • Re: Remote Web Workplace Issue
    ... I had to "rebuild" my server. ... I could use RWW to a remote desktop on the ... I also am running a new workstation with Vista Ultimate that was never ... on that computer either but can use the remote desktop connection. ...
    (microsoft.public.windows.server.sbs)
  • Re: Remote Web Workplace Issue
    ... RWW and Remote Desktop ... I had to "rebuild" my server. ... I also am running a new workstation with Vista Ultimate that was never ... on that computer either but can use the remote desktop connection. ...
    (microsoft.public.windows.server.sbs)