Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Help with Deploying Commands

Hello!

I am attempting to deploy 3 commands to PC's to fix an issue associated with the latest feature update of Windows 10 that breaks the functionality of sending as attachment in Outlook from other programs.

Deleting a particular file fixes the issue, but I can't quite seem to get it to work through PDQ here is the commands I am trying to do.

taskkill /im outlook.exe /f
del "C:\Program Files (x86)\Common Files\system\MSMAPI\1033\MSMAPI32.DLL"
"C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.exe"

It executes the first command fine, but stops with the CMD window open on the machine. If I deploy it again it runs the second command perfectly, but that's as far as it goes.

Any ideas how to push these commands out properly?

Thanks!

0

Comments

4 comments
Date Votes
  • I got it to work by putting the commands into 3 separate steps.

    I didn't think this was necessary, but it fixed my problems.

    0
  • I think you need to prepend "START /B" to your last line.

    START /B "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.exe"

    0
  • Thanks for the reply.

    I will keep that in mind, but it seems to be working right now I believe.

    0
  • Woops, posted from the wrong account.

    0