Enter !wqsa (!mkolp in the mission pack) during game play to enable cheat mode and then enter the following cheats (Note: Some versions require that you enter !ympq in order to enable cheat mode. It works if you have version 2.1056 or newer):
[F12] - Advance time by one minute
!win - Win Current Level
!mkolp - Win Current Level
Modifying Config Files
Before You start with this one keep in mind You should always make a backup before editing any system files. In the Settlers 4 CONFIG folder, there is a file called magic.cfg. You can edit this file to change values in the game. Please note that these changes also affect your enemies in the same way.