The code for the settings in the admin/layout is actually stored in the database. So there is no file to change. You could write code to access the database and change it but it is considerably easier to just access the database directly and modify the content of the needed fields.