You should consider dropping off your car in Vienna or drop out Budapest.
Seeing a city like Vienna for a day doesn't do it justice. Also just passing into Salzburg doesn't really count as "seeing it".
Besides, that last stretch of Budapest to Munich is probably around 450 mile journey.... Given the possibility of poor weather, I wouldn't do it.