This simple but handy script will reset the gamma setting in 3dsMax completely.
input and output gamma reset to 2.2
and the gamma 2.2 correction of 3dsMax will be enabled.
so if it accidentally changed for any reason you may reset it easily.
just run using Scripting menu > Run Script...
simply drag and drop the script in 3dsMax viewport.
this script has no option or interface.