Microsoft has released a useful tool for Windows 10 users who accidentally deleted or lost data in some other way.
Windows File Recovery is available as a free download from the Microsoft Store. The tool uses the command line interface to restore photos, documents, videos and other types of data.
Microsoft notes that recovery is possible even if you erased data from the drive and can no longer be restored from the Recycle Bin. You can also restore data on USB devices and SD memory cards. Network and cloud storages are not supported. Many file types are supported, including JPEG, PDF, PNG, MPEG, Office files, MP3, MP4 and ZIP, NTFS, FAT, exFAT and ReFS file systems.