How to prevent windows from storing LMHASH of your password

Prevent Windows from Storing a LAN Manager Hash of your password in AD and Local SAM
 
see this article on how-to