The batch file routinely runs a few times a day and it kills the current running copy of PPTView.exe and then opens a new instance of the app grabbing the newly updated file.
Code: Select all
@ECHO OFF
TASKKILL /F /IM PPTVIEW.EXE
start "C:\Program Files\Microsoft Office\Office14\pptview" "D:\PRESENTATION.pptx" /MAX
exit /b
It's not overly complex and it's been working fine for over a year. Now, if I try to run that command even from a command prompt logged in as administrator, I get the following error:
ERROR: Cannot start a new logon session with an ID that is already in use.
This started happening roughly a month or so ago and I'm not the only admin here so I'm not 100% sure that nothing has changed, but I can't seem to find an answer online. I've been googling for hours and I've found a few close articles but nothing seems to match what's happening here and none of the "fixes" apply to me or even work when I've tried them.
Any help here would be greatly appreciated.