|
If you want to enable/disable what you see in the screen after pressing ctrl+alt+del only when your application is running then you'll need to make changes in registry similar to what the policy editor would do.
So basically you'd update the registry when your app starts and reset those values back when your app is closing.
For example if you want to disable task manager from CAD screen then you application can change this registry value
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr = 1
DisableLockWorkstation = 1 in the same location will disable lock screen
DisableChangePassword = 1 will disable users from changing password
There are other registry values you can change to remove "switch user", "log off" and so on.
Search for the utility "Tweak Ctrl+Alt+Del Options Tool v1.0". The registry keys are encrypted in that app but you can probably figure that out.
If you can't find that utility then let me know.
|