Can you try to manually unload the remaining modules using e.g.
rmmod nvidia_modeset
rmmod nvidia
...
or the equivalent modprobe -r comment, and then re-try loading the module again with the proper reg key? Should that not work, please check that there are no remaining processes using these modules, e.g. the nvidia persistence daemon is disabled, should it be running on your system.
Alternatively, you can create the listed file in /etc/modprobe.d and reboot your machine. This doesn’t require to manually unload/load the driver kernel modules.
Alternatively, A file containing 'options nvidia "NVreg_RestrictProfilingToAdminUsers=0"' may be saved to /etc/modprobe.d
A reboot may be required in order for this to take effect, but these settings will be persisted