I work in IT, and I have to remove users from loaner laptops all the time. What I currently use to do this is:
" rmdir (username) /s/q "
rinse and repeat, but I would like to do something like
" rmdir * /s/q " then have the exception of administrator and my username and some others. (same on every laptop)
Any help would be much appreciated.
Side note: I prefer this method over just deleting in windows because it doesn't ask any questions. User profiles are full of read-only and protected files. This method deletes everything in the folder no matter what it is.