Thanks for the tip, I used it to change the policy.. however it does not actually affect the filesharing/printsharing setting. It just disables the right to further change the status from the control panel. I want to actually remove it from the script.. anyone?