How can I empty the recycle bin for all users from a Windows service application in c# | I'm looking for a c# snippet which I can insert in a Windows service. The code must empty the recycle bin for all users on the computer.


I have previously tried using `SHEmptyRecycleBin` (ref <http://www.codeproject.com/KB/cs/Empty_Recycle_Bin.aspx>) however the code doesn't work when ran from a windows service as the service is running with local system privileges.