Using Exec.vbs to Install Critical Updates?

M

Matt

Has anyone been able to remotely install Windows Critical
updates using exec.vbs?

I tried to install kb835732 using this command line

cscript exec.vbs /e "c:\win_updates\windows2000-kb835732-
x86-enu.exe /quiet /norestart" /s remotecomputer

with no luck - I get "Invalid Command. Please check the
input and try again."

If I change the command line removing the /quiet
and /norestart switches it will execute the file but it
does not install.

Is it possible to install updates with exec.vbs?
 
R

Reinhardt Kern

Matt said:
Has anyone been able to remotely install Windows Critical
updates using exec.vbs?

I tried to install kb835732 using this command line

cscript exec.vbs /e "c:\win_updates\windows2000-kb835732-
x86-enu.exe /quiet /norestart" /s remotecomputer

with no luck - I get "Invalid Command. Please check the
input and try again."

If I change the command line removing the /quiet
and /norestart switches it will execute the file but it
does not install.

Is it possible to install updates with exec.vbs?

I don't know anything about "exec.vbs".
Where does it come from?

My tipp:
download psexec from http://www.sysinternals.com
and try the following:

copy c:\win_updates\kb835732.exe \\remotecomputer\c$\temp
psexec \\remotecomputer cmd /c c:\kb835732.exe /quiet /norestart


BTW: If you have >50 machines, a software distribution system
will be fine. See http://www.appdeploy.com

have a great day,
Reinhardt
 
G

Guest

Thanks for the tip. I will check out psexec. Exec.vbs
comes from the Windows 2000 Resource Kit.
-----Original Message-----


I don't know anything about "exec.vbs".
Where does it come from?

My tipp:
download psexec from http://www.sysinternals.com
and try the following:

copy c:\win_updates\kb835732.exe \\remotecomputer\c$\temp
psexec \\remotecomputer cmd /c
c:\kb835732.exe /quiet /norestart
 
G

Guest

The pstools are nice, but I'm still having the same
issue. It won't execute if I use the command line
switches. It gives me an error

PsExec could not start
c:\win_updates\w2kkb835732.exe /quiet /norestart on
remotecomputer:
The system cannot find the path specified.

-----Original Message-----


I don't know anything about "exec.vbs".
Where does it come from?

My tipp:
download psexec from http://www.sysinternals.com
and try the following:

copy c:\win_updates\kb835732.exe \\remotecomputer\c$\temp
psexec \\remotecomputer cmd /c
c:\kb835732.exe /quiet /norestart
 
G

Guest

I figured out what I was doing wrong. I was enclosing the
the command in quotes. I took away the quotes and got the
command to execute, but now I get

c:\win_updates\w2kkb828741.exe exited on remotecomputer
with error code 1603.

-----Original Message-----


I don't know anything about "exec.vbs".
Where does it come from?

My tipp:
download psexec from http://www.sysinternals.com
and try the following:

copy c:\win_updates\kb835732.exe \\remotecomputer\c$\temp
psexec \\remotecomputer cmd /c
c:\kb835732.exe /quiet /norestart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top