Your comments

@Rommel J. Jimenez I used your idea to make a batch file to stop the screenconnect services, change "true" to "false" in the User.xml file and run the services again. worked perfect every time.

I had to install an application to be able to search the xml file and replace text in it as windows doesn't have such a feature in cmd, perhaps can be done in vbs but that's beyond me and I wasn't willing to do that. Linux servers can easily use "sed".


1- download this simple tool called FART (Find And Replace Text) lol. no joke..., it's just a simple exe file, no libraries, or installation required. I placed the fart.exe file in the screenconnect App_Data folder for ease, you could also place it in your windows PATH or in system32 folder if you want to run it from anywhere by typing the fart.exe file.

2- create a batch file with the following content and save it in the App_Data folder (or anywhere you like)


net stop "ScreenConnect Web Server"

net stop "ScreenConnect Relay"

net stop "ScreenConnect Session Manager"

"C:\Program Files (x86)\ScreenConnect\App_Data\fart.exe "C:\Program Files (x86)\ScreenConnect\App_Data\User.xml" "<IsLockedOut>true" "<IsLockedOut>false"

net start "ScreenConnect Session Manager"

net start "ScreenConnect Relay"

net start "ScreenConnect Web Server"

3- optional: to run the batch file as admin, create a desktop shortcut for the batch file, then right click on the shortcut > properties > advanced > put a checkmark on "Run as administrator".

note: this batch file will unlock all locked accounts, if you're looking only to unlock specific user, this is better done manually and not in a batch file.

yes it's sad to see this as a current issue now in 2023, it's been years with no progress.