Help with Deploying Commands
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?
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.
I think you need to prepend "START /B" to your last line.
START /B "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.exe"
Thanks for the reply.
I will keep that in mind, but it seems to be working right now I believe.
Woops, posted from the wrong account.
Please sign in to leave a comment.