Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

How to remove a folder if contents are empty

$
0
0

I have created a folder using Group Policy if a member is part of a specific AD Group. Also, if a member is added to this specific AD Group, it will create a shortcut to a folder location.

If the member is taken out of this AD Group, I want the shortcut and the folder to be removed. I have the shortcut working correctly, however the folder is not being removed.

I have the 'Delete this folder (if emptied)' checkbox checked, but still no deletion of the folder...


Viewing all articles
Browse latest Browse all 19997

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>