KACE K1000 remove the shutdown and restart buttons in Windows 7
Hello-
just checking if there is anyone using policy editor script in kace to remove shutdown and restart buttons from a users profile, i know i can do it from GP i would like to use Kace to get that done.
thanks
alex
Answers (3)
Since GPO's push a registry change yes it is possible but not advised. All you need to do is run gpedit.msc on a workstation and set the policies you want, see what keys it changes, export those and create a script on your targets.
In this case the keys you wants are :
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
"PowerButtonAction"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoClose"=dword:00000001
The problem with making this as a registry poke is it is in the current users profile and you would need to do a deploy on every user on every machine to make this work or reimage the machines and either sysprep that down to default or edit defaults hive to make that change (http://www.itninja.com/blog/view/how-to-make-changes-to-the-default-users-hive-as-a-post-taks)
Comments:
-
GPO's put there keys in four main places in the registry
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
[HKEY_CURRENT_USER\Software\Policies\Microsoft\
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\ - SMal.tmcc 12 years ago
thanks for all your help guys
Comments:
-
I take it this is corporate policies you are trying to enforce. - SMal.tmcc 12 years ago