Confining fact to versions of OS X that support configuration profiles. /usr/bin/profiles on 10.6 and below is a samba utility to change windows registry files.