In general, I need to make it so that the user cannot change his account. As far as I know, there are several ways: Win + L, shutdown /l and task manager. How can I track and block an account change action?
Unfortunately, I cannot disable the ability for users to create new accounts, although this would be the easiest way.
If this action cannot be tracked using a C# program, then I would be glad if you indicate the reasons why this cannot be done
7