Afaik You can't withdraw more than 10k in a single transaction in other bank ATMs. I personally tested in ICICI, SBI etc.
ATM Machines can dispense max 40 notes at a time.
If you are using same bank ATM then you can get max 40 notes at time i.e. 500x40= 20000.
I guess if that ATM Machine has 2000 notes then you might get ₹2000x40= 80000 in a single transaction.