ADM Template Policy (inf) files - Delete a Registry Key

P

Peter

Hello all,

Hoping I can seek some guidence.

I need to delete a Registry Key and not a Registry Keyvalue and for the life
of me I cannot seem to find a way to do it. I would like to hide surplus
icons that appear on the Users computers ie Inbox, Network Neighborhood,
Internet Explorer.

I have found various links telling me the registry Key's and values to
update for example:
* http://www.jsiinc.com/SUBB/tip0700/rh0756.htm
* http://www.jsiinc.com/SUBB/tip0900/rh0988.htm
* http://web.quick.cz/marsikz/regup/ (Search for "Change Desktop Icon
Visibility)

So I know which keys to add and remove.

I can add the registry value fine but cannot for the life of me work out how
to remove the key, to ensure people have access to the icons the ADM file
works but to remove it it doesnt seem to want to work. Here is the ADM
template.

CLASS USER
CATEGORY "Desktop Icons"
POLICY "Enable Internet Explorer Icon"
ACTIONLISTON
KEYNAME "HKEY_LOCAL_MACHINE\Software\
Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{FBF23B42-E3F0-1
01B-8488-00AA003E56F8}"
VALUENAME ""
VALUE "The Internet"
END ACTIONLISTON

ACTIONLISTOFF
KEYNAME "HKEY_LOCAL_MACHINE\Software\
Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{FBF23B42-E3F0-1
01B-8488-00AA003E56F8}"


; ************************************
; This is where I am unsure on what to put.
;
; ************************************


END ACTIONLISTOFF
END POLICY ; "Enable Internet Explorer Icon"

END CATEGORY ; "Desktop Icons"

Any ideas?

Thanks in advance for any help provided.

PS. If you wish to email me please remove the "SPAM.ME.NOT." from my email
address.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top