You can't say that in general. It depends on the window you want to define. With the internet explorer go to HKCU/Software/Microsoft/Internet Explorer/Main and delete Window_Placement. For other windows use the right mouse submenu ("show in") of the corresponding link. Here you can choose maximize for example.