Download the latest and Official Xiaomi Flash Tool from the Official Xiaomi Flash Tool Website.
xiaomiflashtool.com
get that latest flash tool
download and extract and then run XiaoMiFlash.exe
and then there should be the driver installation window coming up, if it doesnt, click on "Driver" in the list inbetween Configuration and "Other"
After that, use the update rom bat