Download Orinal source code from Microsoft
Modify Source to the following
class Program { static void Main(string[] args) { string[] LibArray = new string[] { "Pictures", "Videos", "Documents",
"Music" }; foreach (string libraryName in LibArray) { using (ShellLibrary library = ShellLibrary.Load(libraryName, false)) { string folderPath = "C:\\Users\\Public\\" + libraryName; library.Remove(folderPath); } } } }
Compile and run the executable for each user at login.