I tried commenting those ‘resolution’ lines and setting fullscreenmode as 2. Didn’t work.
Also tried calling apply and save right after set, didn’t work. But finally, i found the solution.
I’ve set also resolution to 800x600, since windows generated by UE have no borders i tought it would be the resolution. Worked.
Thanks for the help, man!