Don't test by default.
Make it work again!
Get registry read working.
Make it much simpler.
Can't call mstsc.exe from system() via %SystemRoot%
Make it work