A server administrator needs to ensure that every user who logs into a Windows file server automatically has a specific network share mapped to drive 'J:'. The configuration must be applied consistently for each user's session and should use the user's own credentials for the mapping. Which of the following script types is the most appropriate solution for this requirement?
The correct answer is a login script. Login scripts are executed in the context of the user who is logging on, making them ideal for user-specific tasks like mapping network drives, which require the user's permissions.
A startup script runs when the computer boots, under the local system account's context, before any user logs in. This is suitable for machine-level tasks but not for user-specific configurations like mapping a personal network drive. A shutdown script runs when the computer is shutting down, which is inappropriate for this task. A bootstrap script is typically used for the initial setup and configuration of a server when it is first launched, not for tasks that recur at every user login.