I need to enable/disable ClearType (or "Adjust the appearance and performance of Windows > Smooth edges of screen fonts") via cmd (or any script like VBS/JS) or from the registry without logging out or restarting Windows.
Maybe it's possible to enable ClearType only for one application.

make file with extention .
regthis is registry for filesDisable_Smooth_edges_of_screen_fonts
Enable_Smooth_edges_of_screen_fonts
you can also do this vis cmd here is syntax for command
you must logoff to have effect that you changed