I want to disable automatic brightness adjusting, but where is the setting?
Have you tried doing an SMC Reset to see if the option appears in the Display preference pane?

Also, some information about what operating system and model you're using would be helpful.

Edit: After further research, it appears that the model in question does not have an Ambient Light Sensor (ALS) which is required for the automatic brightness adjustment feature.