I am using Windows 8.1 and I have set a child account for my son. When he wants to use the computer, I switch to his child account without signing out from my account (because i have a lot of open documents that I still work on and don't want to close them yet). One day, when he finishes using the computer, he shut down the computer immediately. When the computer is shut down, I lose all of my open documents. It is a disaster indeed. Is there a way to disable child account's power button at the charm bar or at least to disallow shut down if other accounts are still on?
There are different ways to shutdown the system, so you have to take that into account in order to avoid the issue entirely.
Disable all shutdown buttons and menus for a specific user
Revoke shutdown privileges assigned to standard users
Remove shutdown button on the logon screen
Execute this command:
Try the following.