Pete
asked on
delete a folder using GPP
I am trying to delete a start menu folder using GPP in a computer Group Policy:
"C:\ProgramData\Microsoft\ Windows\St art Menu\Programs\Accessories\ Windows PowerShell"
It does not delete, there is not even an error in event viewer.
deleting single files using GPP from the same policy works fine.......please ideas?
the .xml looks like this:
<Folder clsid="{07DA02F5-F9CD-4397 -A550-4AE2 1B6B4BD3}" name="Windows PowerShell"" status="Windows PowerShell"" image="3" changed="2013-02-01 09:19:02" uid="{9B06B709-8527-40BA-A 1E3-D04FFB E6EF6D}" desc="Delete "All Users\Accessories\PowerShe ll" folder" bypassErrors="1"><Properti es action="D" path=""C:\ProgramData \Microsoft \Windows\S tart Menu\Programs\Accessories\ Windows PowerShell"" deleteFolder="1" deleteSubFolders="1" deleteFiles="1" deleteReadOnly="1" deleteIgnoreErrors="0" readOnly="0" archive="1" hidden="0"/></Folder>
"C:\ProgramData\Microsoft\
It does not delete, there is not even an error in event viewer.
deleting single files using GPP from the same policy works fine.......please ideas?
the .xml looks like this:
<Folder clsid="{07DA02F5-F9CD-4397
Let me guess: you are using the GPPs from the user policy section? Take the computer policy section instead in order to have the deletion executed with system rights.
ASKER
strangely it is in a computer GPO already. a file delete GPP to a folder one level up works fine.
Can you export a report of that GPO and upload it here?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
as above
Also u wanna set the log error atttibute in the xml to 1