I want to disable the local users accounts on the machines that are in the domaine? i tried to desactivate it from "Configuration \ Windows Settings \ Security Settings \ Local Policies \ User Rights Assignment" but doesn't seem to be working, i still can logon with a local account.
You can't do it directly from AD, but you can script and distribute via GPO.
This is a script that should do something like what you want, but BEWARE: this script as written disables everything that isn't Administrator or ASPNET. Modify and test before deploying.