Hello , sorry about your problems. My name is Marco and I will do my best to help you.
To change it in regristry editor:
-Press Win + R to open the Run dialog.
-Type regedit and press Enter to open the Registry Editor.
-In the Registry Editor, navigate to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam
-Look for a key related to your webcam settings. If it doesn't exist, you may need to create it.
-Right-click on the right pane, select New > DWORD (32-bit) Value, and name it LowLightCompensation.
-Set the value of LowLightCompensation to 0 to disable it.
-Close the Registry Editor and restart your computer to apply the changes.
And ensure that your webcam is plugged directly into a USB port on your PC rather than a USB hub, as this can sometimes cause settings to reset.