I have a winforms application written in C++/CLI running on Windows 7. Within the application the user can log in as normal user or administrator. As normal user the app should run in kiosk mode, no access to the explorer, no task manager etc.. If changed to administrator, the user regain access and the kiosk mode should be deactivated.
I can figure out how to run my application as shell, but how can i change this during application runtime without restarting windows?
In addition i read something about changing the GPO to set my application into kiosk mode. Is it maybe possible to save and load different GPO's at runtime without restarting?
Thanks, any help is appreciated!
To achieve your goal I'm used 2 accounts: "Admin" and "Kiosk", then in the application I added password protected feature for log out to lock screen. Kiosk mode configuration you can find here: https://stackoverflow.com/a/41979285/2771556