Any suggestions on how to do this or where I can find
information on it would be greatly apprectiated!!
"KevinMS" <ksm...@braxton-reed.com> wrote in message
news:1011901c26bc8$4e697300$37ef2ecf@TKMSFTNGXA13...
"Ned Flanders" <ned...@hotmail.com> wrote in message
news:#Tdxew8aCHA.1744@tkmsftngp11...
Hi
e.g.
Set oShell = CreateObject("WScript.Shell")
sCmd = "C:\q323759.exe /q:a /r:n"
oShell.Run sCmd, 1, True
Note that the user running the logon script needs to be a local administrator.
If you want to do a remote 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 VBScript example that installs SW on a list of computers
in a text file using PsExec:
From: Torgeir Bakken (Torgeir.B...@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
Microsoft MVP Scripting and WMI
Porsgrunn Norway
> Another way would be to install SUS and send the updates via a server.
And if anyone wonders what SUS is:
The free Microsoft Software Services (SUS), Win2k and WinXP only:
http://www.microsoft.com/windows2000/windowsupdate/sus/default.asp
With SUS, there are a couple of downsides though...
1)
If the users local account on the client computer is a non-admin (a.k.a. not
members of the Administrators group), you cannot prevent SUS rebooting the
client PC when the patches have been installed. After a reboot notice and a 5
minutes pause, the computer just reboots. As a non-admin, there is no way to
supress it.
2)
The client can only check for updates once a day, if the client misses the
update check "time window" (a.k.a. it was offline/powered off), it will
"reschedule" the check to next day.
3)
The SUS service needs to run on a Windows 2000 Server (non DC) with IIS
installed.
There is a separate newsgroup for SUS as well:
microsoft.public.softwareupdatesvcs
Microsoft Baseline Security Analyzer (was Microsoft Personal Security Advisor)
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/tools/tools/mbsahome.asp
is a good tool too.
Regards,
Jean - JMST
Belgium
jm...@ibelgique.com (Reply to the group please)
"Torgeir Bakken (MVP)" <Torgeir.B...@hydro.com> a écrit dans le message de news: 3D9E348C...@hydro.com...
Kevin
>.
>