Fix Windows can’t communicate with the device or resource error