As I understand, you can modify preferences using the
c4d.GetWorldContainerInstance() as specified in this thread
However, for some reason, not all preferences are covered especially the Third Party preferences.
I specifically trying to modify this one given by the script log
prefs(1027974)[c4d.XPPREFS_SYSHUD_SHOW] = False
It's from the Xparticles plug-in.
Is there a way around this?