I'm running into a tricky situation while working from home. I connect to my work computer via VPN and RDP, but the software I need to use has a strict licensing system that requires a hardware USB dongle. The software can technically run through RDP, but if it crashes or is closed, I can't restart it remotely due to these licensing restrictions. I've been told by support that I can launch it using TeamViewer instead, but here's the catch: I can't connect with TeamViewer when the computer is locked. I'm looking for smart solutions that would let me unlock the computer remotely so I can just double-click to launch the program.
5 Answers
Have you thought about scripting a solution? You could create a PowerShell script to restart the application if it stops running, and schedule it in Task Scheduler to run automatically. You'd need to run it locally when you first set it up, but it can help prevent the issue from happening again down the line!
Connecting through a console session might help. Try running 'mstsc /console' in your command line to see if that mimics you being physically at the machine. It could give you the access you need to start that software.
If your IT allows it, you might consider setting your PC to auto-login after a reboot and set up the app to launch automatically upon login. That way, if it crashes, you could simply reboot and RDP back in after a few moments without having to unlock the screen. Just be cautious and only use this when necessary since auto-login can be a security risk.
One option you can try is to first RDP into your work computer, minimize the RDP session, and then launch TeamViewer from there to connect to your unlocked computer. It's a bit of a hassle, but it might work if you can manage to unlock it first. Just keep in mind you'll need someone to unlock the machine if it gets locked up again.
Have you tried using tools like PsExec to run the application with an interactive session? It might allow the app to start up directly from your session, but keep in mind it could open in a different session, which might block visibility.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Fix Not Being Able To Add New Categories With Intuitive Category Checklist For Wordpress
Get Real User IP Without Installing Cloudflare Apache Module
How to Get Total Line Count In Visual Studio 2013 Without Addons
Install and Configure PhpMyAdmin on Centos 7
How To Setup PostfixAdmin With Dovecot and Postfix Virtual Mailbox