An error occurred during win10 PostgreSQL installation: “failed to load SQL modules into the database cluster“

New directory postgres

on disk d

right click – property – security


click edit,
each user, each user group, give full control,
uninstall, reinstall postgresql to this directory

Read More: