New
#21
I've been wondering about that.
Even though, whenever it returns from sleep, my network connection is disconnected. How can I be certain it is disconnected and remains so while in sleep state without manually disconnecting after use or creating another script to automatically disconnect the network during sleep or hibernate.
Use a script to check whether connection is available during sleep. However, is it possible to run a script during sleep?
Michael,
I looked at my internet connection [my phone's WiFi hotspot] after logging out and could see that it was still connected.
I can use the same method to confirm that connections drop off when sleeping.
You have used code to set things up to reconnect automatically when logging on.
- When you resume from sleep, I think nothing happens since your TS task triggers are just for logon & 'On Workstation unlock' [not 'reconnect to user session'].
- So you have done what you said you wanted to do i.e. I was wrong to say there was no difference between what you are doing and just letting it reconnect automatically in the normal way.
- But it is sleeping rather than logging out that achieves this behaviour.
- I do urge you to check your router to see how you might monitor connections & disconnections to confirm that it is all behaving as you think.
Denis
Michael,
Yes, sleeping is disconnecting you. You do not need to change anything if that meets your needs.
Denis