How to handle Existing session login problems?

Yeah you can with powershell script

Give a try and let us know for further queries

Cheers @Gunasekaran_Kandasamy