Duplicate Displays

I have been asked to automate setting up laptops so that when they hook up to an external display it always duplicates the display instead of extended. my experience has been it is different for every video card and display. Has anyone ever successfully done this? Doing the powershell for the WMI is the easy part…

After a little more coffee, Bing was my friend:
displayswitch.exe
http://stackoverflow.com/questions/275063/extend-my-windows-desktop-onto-this-monitor-programatically