LittleOne123456
MIS
The problem with the login is that each user has a home directory share such as johndoe$ this is specif for john doe although john doe cannot write to it by using this login script. I am trying to clean up the large amount of login scripts with one per department. Any suggestions?
@echo off
REM Welcome Screen
echo ************************************************************
echo * Please wait as the %username% is authenticated.
echo * You are accessing the network from %COMPUTERNAME% echo * And you are running the %OS% os.
echo * Hello %USERNAME%, Welcome to the Network!
echo ************************************************************
REM Set Network Time
net time \\servername /set /yes
REM Disconnect Existing Network Drive Connections net use * /delete /yes
REM This is where is takes the user and maps their drives IF "%USERNAME%" == " " GOTO END
GOTO Drives
rives
net use u: \\servername\%USERNAME% /yes
net use v: \\servername\prog /yes
net use x: \\servername\xfer /yes
goto END
:END
@echo off
REM Welcome Screen
echo ************************************************************
echo * Please wait as the %username% is authenticated.
echo * You are accessing the network from %COMPUTERNAME% echo * And you are running the %OS% os.
echo * Hello %USERNAME%, Welcome to the Network!
echo ************************************************************
REM Set Network Time
net time \\servername /set /yes
REM Disconnect Existing Network Drive Connections net use * /delete /yes
REM This is where is takes the user and maps their drives IF "%USERNAME%" == " " GOTO END
GOTO Drives
rives
net use u: \\servername\%USERNAME% /yes
net use v: \\servername\prog /yes
net use x: \\servername\xfer /yes
goto END
:END