The registry key is created per user. So if test user has a key admin might not have a key for that folder.

If you can delete it manually (when logged on as the user the folder belongs to) but not with a script then some error should come up when running the script.

Can you post the latest version of your script? Because there might have been some changes that are not here.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.