Re: Installing MS patches remotely
From: Torgeir Bakken (Torgeir.Bakken-spam@hydro.com)
Date: 09/30/02
- Next message: Stephen Souza: "Re: Administrators Password"
- Previous message: JC...: "Re: how to protect win2k desktop items"
- In reply to: Robert Jacobson: "Installing MS patches remotely"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Stephen Souza: "Re: Administrators Password"
- Previous message: JC...: "Re: how to protect win2k desktop items"
- In reply to: Robert Jacobson: "Installing MS patches remotely"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|