![]() |
Disabling Add/Remove Programs Access |
Post Reply
|
| Author | |
bhcomputer.bobby
Registered Member
Joined: 15 Jul 2010 Online Status: Offline Posts: 1 |
Quote Reply
Topic: Disabling Add/Remove Programs AccessPosted: 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
|
|
![]() |
|
CAmori
Admin Group
Partner Advocate Joined: 23 Oct 2008 Online Status: Offline Posts: 60 |
Quote Reply
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. |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |