We help IT Professionals succeed at work.

OneDrive: Delete files in bulk

138 Views
Last Modified: 2017-04-29
I have a problem with synchronization between my PC and office 365 OneDrive cloud and I discovered that syncing issues are due to false positive files that were detected as malicious files (which is not true) because they were named years ago as .Vir via an anti malware tool.

I don't know if there is a way, via command prompt, 3rd party tool or from within Office 365 Onedrive portal, to delete files in bulk in an easy way instead of clicking on each file and delete it manually which will be a nightmare when you have 2100 files!!! I need to get rid of those .vir files to get syncing working again!
OneDrive.PNG
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
AMFOPInformation Systems Security Supervisor

Author

Commented:
Hi Vasil,

Your solution is intact for handling files and folders EXCEPT the search function which didn't work properly (no results found) !!
Any other ideas for searching for *.Vir and deleting them in bulk?
CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019

Commented:
No need for search, just sort/group them by file type?
AMFOPInformation Systems Security Supervisor

Author

Commented:
The .Vir files are scattered everywhere this is the issue...
CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019

Commented:
If you feel this question wasn't answered or should be closed differently, post an objection. The moderators will review all objections and close it as they feel fit.