Hi all,
Hopefully someone can help as I am a complete vbs noob.
We have an issue at the moment with Skype for business (Lync.exe) crashing. As a "work around" (until we find the solution) we need a vbs script that:
1 checks if Lync.exe is running.
2 if Lync is running wait 30 seconds and check again.
3 if Lync.exe is not running wait 15 seconds and check if explorer.exe is running.
4 if explorer.exe is running - restart Lync and loop to beginning
5 if explorer.exe isn't running quit script
The check for explorer running is invade the user is shutting down.
Hopefully that makes sense and someone can help.
Thanks
Hopefully someone can help as I am a complete vbs noob.
We have an issue at the moment with Skype for business (Lync.exe) crashing. As a "work around" (until we find the solution) we need a vbs script that:
1 checks if Lync.exe is running.
2 if Lync is running wait 30 seconds and check again.
3 if Lync.exe is not running wait 15 seconds and check if explorer.exe is running.
4 if explorer.exe is running - restart Lync and loop to beginning
5 if explorer.exe isn't running quit script
The check for explorer running is invade the user is shutting down.
Hopefully that makes sense and someone can help.
Thanks