4 ms·
themicrosoftchainsawmassacre.cmd TASKKILL /IM outlook.exe TASKKILL /IM teams.exe TASKKILL /IM onedrive.exe timeout /t 2 TASKKILL /F /IM outlook.exe
by hyperman1 4y ago
themicrosoftchainsawmassacre.cmd
TASKKILL /IM outlook.exe
TASKKILL /IM teams.exe
TASKKILL /IM onedrive.exe
timeout /t 2
TASKKILL /F /IM outlook.exe
TASKKILL /F /IM teams.exe
TASKKILL /F /IM onedrive.exe
TASKKILL /F /IM Microsoft.AAD.BrokerPlugin.exe
timeout /t 2
start outlook.exe
start "" %LOCALAPPDATA%\Microsoft\Teams\Update.exe --processStart "Teams.exe"
start "" "C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background
There is a short period between network start and VPN start where all the microsoft thingies start and want me to login again. As their SMSes sometimes take hours to arrive, it is more easye to just kill and restart them, and let them reuse their existing login.
So I dropped the batch above on my desktop, and click it while the VPN is starting up. In the 4 seconds it takes to kill everything, the network works as it should.