Transaction Scope time limit in ADO.NET

In ADO.NET there is a hard-coded system-wide limit for transaction set to 10 minutes. You cannot change it just like that in your web.config or App.config. You can change it in machine.config though. First, where are the machine configs?

For 32 Bits: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machie.config
For 64 Bits: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config

Now, how to change it?

Just add the following (for 12 hours):

You can also try to change it with reflection:

Also, something like this should also work if you use it in console app before running any transaction:

So many ways to change a value which should be configurable in code in the first place, however, sometimes Microsoft just forces you to google some weird stuff on the Internet. As a homework, try to find and download WinDBG.exe in 5 minutes (without downloading whole Windows SDK or anything similar having 300MB of tools when you need just one binary).