/build/static/layout/Breadcrumb_cap_w.png

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


0 Comments   [ + ] Show comments

Answers (3)

Posted by: Ben M 12 years ago
9th Degree Black Belt
4

In my opinion, if GP will work for something you're better off going with GP. In my experience it is more stable then scripting, and your users will be blocked from changing the options back to the way they were.

Posted by: SMal.tmcc 12 years ago
Red Belt
4

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
Posted by: brighstarcuit 12 years ago
7th Degree Black Belt
2

thanks for all your help guys


Comments:
  • I take it this is corporate policies you are trying to enforce. - SMal.tmcc 12 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ