My workplace has a limited number of floating network licences. Our userbase has recently grown and the licences did not keep up (moe are on the way). Unfortunately this means that there is not always an avalible licence. Is there a way to have SW attempt to open until a licence is obtained? I tried running a custom task that just points to the exe with no commands but it returned "failed to obtain a valid licence" and I think it would close after it completed the task (of doing nothing) even if it had a licence. Task shceduler may not be the correct way to tackle this but it seemed like a good place to start.
I don't know about through the task manager...
Here is a vbscript that will poll the license server to see if there are any available licenses. If there are, it will open SolidWorks for you. You can specify how long you want to try and how long to wait between tries.
To use it, you will need to edit the file as follows.
Find the line:
const ServerNfo = "25734@[yourservername]"
and replace the stuff inside the quotes with your license server exactly as it appears in the SolidNetWork License Manager.
If you want to change the default waiting times, just edit the InputBox lines.