We have a software distribution package that copies a few files as part of it's process. One of those file requires the user does not have it open, or if they did open it then they must logout of their system and be sitting at the CTRL+ALT+DEL screen.
If the user logs out of their system when leaving the office then it will close the file and flush memory so we can push. But some user just press the CTRL+ALT+DEL to lock the screen the package will not install successfully.
Is there a command or script that will log the user out even if they pressed the CTRL+ALT+DEL buttons when leaving at night locking the system?