If you are a non EU resident and if you need a Visa for the Schengen states you must download the Student VISA application form (Schengen Visa) from the Internet and fill it completely and sincerely. You also can electronically fill in the form for a Student Visa and print it out. Your signed application form must be followed by other mandatory documents, handed personally at German consulate/embassy or the representative of Germany.
You will require:
Depending on the embassy/consulate that you will be applying to, they might require additional documents to assure the request and the information are genuine, as for example, some embassies/consulates require a certificate that proves you have no legal issues pending or a criminal record. As, the students must personally hand the documentation at the previously made appointment (as usually it is required), the person in charge at the embassy/consulate will notify you if there is any additional documentation needed and the nature of that documentation. Please note: A Student Visa is no Work Permit.
After you have received a Student Visa (Schengen Visa):
It is advisable to book your flight two weeks prior to the start of your course. This will allow you enough time to get settled in and will give you the opportunity to explore your new environment in Germany. You may like to explore the university and visit the facilities.