Windows Server Logon script

Logon scripts are very useful. Below is a simple script that can be modified to suit your needs.

 

@ECHO OFF
echo.
echo.
echo   Welcome %USERNAME% to Platinum Computer Solutions!!!
echo   Main Office information system network.
echo.
echo.
Rem Logon script

REM Drive Mappings**********************
echo J: drive mapped to the Data Directory
NET USE J: thorDATA /yes

echo P: drive mapped to the Public Directory
NET USE P: thor/PUBLIC /yes

echo S: drive mapped to the User Directory
NET USE S: thor/PROFILES%USERNAME%

echo U: drive mapped to the Utility Directory
NET USE U: thor/Util /yes

NET TIME thor /SET /YES

Skip to content