How can I prevent users from closing a specific app?

0
6
Asked By SillyPanda99 On

I'm looking for a way to lock an application so that it cannot be closed by users. This app opens multiple windows, and we've had issues where a user accidentally closes one of them, causing the whole application to fail even though it still appears to be running. I'm curious if there's a solution that would allow me to disable the close button on these windows or some other method to keep the app active at all times. Any suggestions would be greatly appreciated!

3 Answers

Answered By TechWhiz42 On

One option is to have the vendor fix the application if it's buggy. There are tools like kiosk mode that can limit user access significantly, which might be overkill depending on how you need this app to function. By the way, what does DFO mean? Do users only need this app open, or do they work with others too?

CuriousCactus -

Totally agree! If that app can be partially closed without shutting down, then there's definitely a flaw that needs fixing.

IT_Geek78 -

DFO stands for 'Dumb F*cking Operator'; it’s an inside joke in IT circles.

Answered By CodeNinja88 On

Another approach is to create a script that runs in the background to keep tabs on the open windows. This can also be scheduled to ensure the app is continuously checked and restarted if necessary. Keeping the script hidden will help avoid user interference.

Answered By ScriptMaster5000 On

You could write a PowerShell script that uses 'get-process' to monitor the application and restart it if it's ever closed. You can set this script to run through Task Scheduler at regular intervals.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.