We have this happen in our environment. What
@Alnoor Cassim stated is exactly it.
This especially happens on <g class="gr_ gr_61 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" id="61" data-gr-id="61">terminal</g> server. In our case, we've never seen it due to the A/V, though certainly possible. However, we initially thought it was because 2 users would be launching sage at the same exact moment, (which seemed unlikely).
Then we discovered, especially in a RemoteApp situation, a user "double-clicking" the Sage icon, will actually try to launch it twice, and the Sota.ini will end up in a corrupt state. the .tmp stays in place though, so the fix is easy.
If you have a lot of users logging in on a terminal server, it's hard to control whether they sometimes double click and lock everyone out. So we simply have a Scheduled Task that runs every minute on the server that checks for the SOTA.INI and if it finds it to be corrupt, it fixes it. We set this up by default on most of our Sage installations.
I have attached the PowerShell script, and the <g class="gr_ gr_49 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="49" data-gr-id="49">xml</g> to import it as a Scheduled Task in case anyone is interested. This solution has 100% eliminated this problem for us.
p.s: Modify the paths in the script to match your environment.
Cheers!
------------------------------
George Khairallah
CTO | <g class="gr_ gr_51 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="51" data-gr-id="51">gotomyerp</g>, LLC
george.k@gotomyerp.com | 877-888-5525
http://gotomyerp.com/------------------------------