A login script is a script that is executed when a user logs into a computer. A login script can adjust settings in the operating system, map network drives for different groups of users, or even display a welcome message that is specific to each user. Multiple login scripts can even be utilized at the same time, with specific ones activated based on which user logs in and the operating system in use on the computer.

Businesses and schools often use login scripts to control what features are available in an operating system and access that users have on the computer.

Login scripts can be written as a batch file, shell script, or in a programming languages. For example, in a Windows environment, a login script may be written using VB or VBScript.

Login, Operating system terms, Programming language, Script