Page 1 of 1

delprof delete several folders except for certain ones

Published: September 4, 2022 - 1:51 PM
by adgm11
Hello,
I'm looking for a way to delete all user profiles in c:\users except for admin, public, and default.
I know the remove_tree command, but not one that might add exceptions.
Is it possible to do this?

Re: delprof delete several folders except some

Published: September 21, 2022 - 1:45 PM
by CasseThor
Hey buddy,
I just stumbled across your message.
I use Delprof2 (hxxps://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/)

and it works great (even if it displays error messages, it does delete profiles and add exceptions like admin profiles).

Everything is on the website
. Cheers!