Hi10 Plus Windows unable factory reset because not enough space

Recently my whole tablet crashed and both Android and Windows unable to reset. I finally recovered the Android but not when I try factory resetting the windows, it won’t let me because it says not enough storage space. I don’t know how to fix the windows part now since it won’t let me do factory reset, please help!