This is not stored in the registry but in the WLAN profile (an XML file).
You can export/import the XML file with the netsh wlan
command.
Example to export a profile:
netsh wlan export profile <profile_name>
In the XML file, the setting corresponding to the checkbox you are referring to is UseWinLogonCredentials
After being created/imported, the wlan profiles are stored here C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\<INTERFACE_GUID>
(this path isn't documented so it may change in future release, I don't recommend modifying the files in there manually. Export/Import with the netsh command instead).