Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Batch File for KB887978

Featured Replies

Not really sure if this can be done. I Need to deploy the Security Update for Word 2002 KB887978 as a login batch file. This is what I have so far:

@ECHO OFF

:START

IF EXIST C:\WINNT\Installer\kb887978.exe GOTO END

COPY G:\XXXXXXX\New\kb887978.exe "C:\WINNT\Installer\kb887978.exe" /-Y

START /r /w C:\WINNT\Installer\kb887978.exe

ECHO

:END

It needs to be copied from a network drive and saved/installed and bypassed the next time the user logins. But I have not had much success running this batch file.

Any insight on this matter would be greatly appreciated.

:}

Peace.....

The script itself looks fine to me, HickoryShade. The only possible error I can think of at the moment is if this script gets run before the network drive G gets mapped.

You only say that you are having trouble running this script. Could you be more specific? What kind of errors, if any, are you getting? Is the update file copying but not being run? Is it not being copied at all? Is the script not running on login like it is supposed to?

The copy command syntax is wrong. The /-Y command comes right after copy, not after the source and destination.

  • Author

Thanks for your post.....The batch file copies the file over but it does not want to install the file. There is no visible sign that 1) an install is happening or 2) that it actually installed. The KB887978 does require some interaction from the user. Would this cause the batch file not to install the file?

Peace...

I've tidied it a little bit, but the only problem I could see was the /r switch, I've never heard of it!

@ECHO OFF
:START
IF EXIST C:\WINNT\Installer\kb887978.exe GOTO :EOF
COPY G:\XXXXXXX\New\kb887978.exe "C:\WINNT\Installer\"
START "" /w C:\WINNT\Installer\kb887978.exe
GOTO :EOF

You could also add switches to the start line, maybe something like:

  • /q /r:i or /q:a /r:s

The former would install without prompts and restart if required, whereas the latter would install in silent mode and force a restart.

Edited by Yzöwl

  • Author

Thank you all....Especially to Yzöwl!! Your post was the way to go :thumbup

This is how it looks now:

@ECHO OFF

:START

IF EXIST C:\WINNT\Installer\kb887978.exe GOTO :EOF

COPY G:\XXXXXXX\New\kb887978.exe "C:\WINNT\Installer\"

START "" /w C:\WINNT\Installer\kb887978.exe /q:a

GOTO :EOF

Peace Out....

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.