I was running into an issue that resulted in “lost” maya windows when I left it on a second screen that was no longer connected. I wrote a script to reset the default window locations, based on the windowsprefs file that comes with maya. If anyone is interested, here is the script:
Im guessing there is a better way to do this, but it worked for me (maya 2014)
If you want to reset all your window preferences then you can just delete (or move to a backup location) windowPrefs.mel and maya should recreate it for you with defaults when it launches. The same is true for the entire prefs folder afaik.
Yup, I used to do that, but I found having to quit / delete / restart maya everytime I discovered the UV texture window was hiding on a disabled screen was quite a disruptive work flow, so now I just have the script hooked up to a menu.