Virtual Administrator Homepage
Forum Home Forum Home > Hosted Kaseya > Monitor Sets & Scripting Discussion > Scripts
  New Posts New Posts
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Disabling Add/Remove Programs Access

 Post Reply Post Reply
Author
Message
  Topic Search Topic Search  Topic Options Topic Options
bhcomputer.bobby View Drop Down
Registered Member
Registered Member
Avatar

Joined: 15 Jul 2010
Online Status: Offline
Posts: 1
  Quote bhcomputer.bobby Quote  Post ReplyReply Direct Link To This Post Topic: Disabling Add/Remove Programs Access
    Posted: 15 Jul 2010 at 10:05pm
I need a little help with a script. I'm new.
 
The script need to wright a reg key and a dword.
Disable Current User: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall
Disable All Users:
KEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall
Create a new DWORD value named NoAddRemovePrograms
Set the value to 1 to disable Add/Remove Programs
Set the value to 0 to re-enable Add/Remove Programs
 
I have checked the reg on my computer and under KEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies ther is no uninstall so uninstall would have to be wrote along with the DWORD
 
Can i use set registry value to wright the HKEY or DWORD?
 I know i can use the set registry value to set dword values.
any help would be nice
 
 
Bobby Huckabay
Back to Top
CAmori View Drop Down
Admin Group
Admin Group

Partner Advocate

Joined: 23 Oct 2008
Online Status: Offline
Posts: 60
  Quote CAmori Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jul 2010 at 11:40pm
Bobby,   I have created 2 scripts for you, one to enable and another to disable.   Scripts have been posted on the servers under Misc -> Disable Add/Remove Programs and Misc-> Enable Add/Remove Programs.

After running a the script, you will need to reboot in order for it to work.

As always please test on a few machines before doing any large deployments.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.53
Copyright ©2001-2008 Web Wiz

This page was generated in 0.064 seconds.