Random Folders being created on C drive

Hi BigFixers,

Other system admin may have come across this already.

I’m trying to build up a relevance that pulls up all the list of folders pertaining to the information mentioned on this URL.
https://learn.microsoft.com/en-us/answers/questions/86088/windows-10-ent-c-drive-random-name-folder

I was thinking of cleaning this up via an action script.

The basic relevance I came up was the one below:
(names of it) of folders of folder “c:”

The logic I was thinking of was to find all folders which has more than 10-15 characters and the folder name should have no spaces.

Then I could create an action that deletes those folders perhaps via powershell script.

Thank you!

Maybe using a regex on the folder name could work?

Q: names whose (exists matches (regex "\b([a-f0-9]{30})\b") of it) of folders of folder (name of drive of system folder)
A: 16ce5aac7f355655d4364305c30972
A: a94a8fe5ccb19ba61c4c0873d391e9
T: 6.900 ms
I: plural string
4 Likes

Thanks you so much! I need to learn more about Regex too. :slight_smile: