Hello All,
I want to automate a task in Windows 10 Pro where i need to Toggle the “Remove Lock Computer” and “Remove Task Manager” enable/disable. is it possible to make it work via powershell?
Gpedit.msc > User Configuration > Administrative Teamplates > System > Ctrl+Alt+Del Options > Remove Lock Computer > Enable(or Disable)
Gpedit.msc > User Configuration > Administrative Teamplates > System > Ctrl+Alt+Del Options > Remove Task Manager > Enable(or Disable)
I take it these are not on a domain? If they are then GPO is your best bet. The only way i can think of is you’ll need to find the reg keys that correspond to these settings and set those reg keys via PowerShell.
Hi, thanks for your reply, i installed the PolicyFileEditor, somehow i’m trying to figure it out how to make it working… could you make an example for me? like how to turn off taskmgr
That blog teaches you. Do it in gpedit.msc, then you can export it to an xml with that module, or display it on the screen and see what the registry setting is.