" Actually I thing about it and there are three ways to win against Vader.These might be good tactics if only Batman knew about Vader's dependency on his cybernetics, if he knew anything about the biological makeup of midichlorians, and if he knew anything about Ysalimiri or the nature of the Force.
First: Batman could use modified and enhanced electromagnetic pulse - after all Vader is more machine than a man, and he can't even breath without his artificial respiratory system.
Two: Batman could invent somekind of chemical agent which attacks midichlorians - without midichlorians there will be no Force.
Three: Give Batman one of those : http://starwars.wikia.com/wiki/Ysalamir
C'baoth attacks Thrawn with Force lightning while a ysalamir repels his attack
Yes, Batman can win this
But pretending for a minute that he is aware of these details (which is not the case), it still hardly protects him from the entire Imperial fleet. So unless you can explain how he deals with that, he loses with and without prep.