1

Hello I attempting to remove the following registry key using GPO Preferences:

SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\\{031E4825-7B94-4dc3-B131-E946B44C8DD5}

The key just wont delete.
I have the following Registry preferences:

Action: Delete

Hive: HKEY_LOCAL_MACHINE Key Path:
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\\{031E4825-7B94-4dc3-B131-E946B44C8DD5}

Value name is blank Default is unchecked.

Is there something simple that I'm forgetting?

Reaces
  • 5,547
  • 4
  • 36
  • 46
Glenn T
  • 11
  • 1
  • 2
  • Can you show us the screenshot and paste the XML from the GPP? To do this copy the item and paste into notepad. – Dan Oct 31 '13 at 22:29
  • And have confirmed that the GPP is applying by using RSOP? – Dan Oct 31 '13 at 22:43
  • I'm looking to do the same thing as well and initial research suggests it's not possible using the registry item with a delete option in GPO. That appears to only be used for deleting values. The XML for such an entry looks like this: – Rob Nicholson Dec 19 '13 at 18:49
  • That suggests to me that it's trying to delete a value where the name = "". Unless of course the GPO code says "If name is blank, then remove the entire key". The other option (not as neat) is to import a .REG file - that can delete entire keys AFAIK – Rob Nicholson Dec 19 '13 at 18:50

2 Answers2

2

Finish your Key Path value with a '\' :

Hive: HKEY_LOCAL_MACHINE

Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\

bentek
  • 2,205
  • 1
  • 14
  • 23
jmh
  • 21
  • 2
1
  1. Check if the Policy is applied using the RSOP.msc
  2. Check the permissions on the current regkey "{031E4825-7B94-4dc3-B131-E946B44C8DD5}" I think this is the issue, probably have applied wrong permissions.
  3. Make sure to Apply the GPO to All Authenticated Users and Domain Computers in the Security Filtering.
HEMAN85
  • 415
  • 3
  • 9