@ECHO OFF
echo Hello %USERNAME%, welcome to the network!
echo By accessing this system you agree to all rules set forth by thecompany.
echo You are accessing the network from computer %COMPUTERNAME%
echo And you are running the %OS% os.
echo Please wait, authenticating %USERNAME% with DOMAIN
REM SBS Setup Script (Installed By SBS)
\\SBS2003\Clients\Setup\setup.exe /s SBS2003
REM Flush DNS (Not Needed but sometimes good in new installations)
ipconfig /flushdns
REM Force Time Set (Not really required but sometimes good in new installations)
net time \\SBS2003 /set /yes
REM (Drive Mappings Below)
net use p: /del /yes
if not exist p:\nul net use p: "\\SBS2003\Users\%username%"
net use u: /del /yes
if not exist u:\nul net use u: \\SBS2003\Users
net use w: /del /yes
if not exist w:\nul net use w: \\SBS2003\CompanyFiles
net use x: /del /yes
if not exist x:\nul net use x: \\SBS2003\ClientApps
net use y: /del /yes
if not exist y:\nul net use y: \\SBS2003\Accounting
net use z: /del /yes
if not exist z:\nul net use z: \\SBS2003\TempWork
Bookmarks