3 replies
by joseph moore
Well, that is easy. If you want all of your users to have the same drive mappings, then either 1) use the same logon script for all users or 2) put the same drive mappings in all logon scripts!
Easy!
by joseph moore
And here is a sample logon script:
@ECHO OFF
rem ***************************************************
rem Login script sys.bat
rem Changes applied June 7, 2001
rem ***************************************************
rem ***************************************************
rem Delete all drive mappings that this script will map
rem ***************************************************
net use * /d /y
rem ***************************************************
rem Map network drives
rem Alldrives map with the persistent:no switch
rem **************************************************
net use F: \\PDC\SHARE1/persistent:no
net use S: \\PDC\SHARE2 /persistent:no
net use Y: \\BDC1\PUBLIC /persistent:no
net use I: "\\PDC\SYS&OPS" /persistent:no
NET USE L: \\BDC1\LICENSES$ /PERSISTENT:NO
rem ***************************************************
rem Printer LPT1 Port Mapping
rem ***************************************************
rem Not Used at this time
rem **************************************************
rem Set Up Pathing
rem **************************************************
path=%path%;f:\;
by joseph moore
rem **************************************************
rem Optional Section
rem Items here will be run for a while then removed
rem **************************************************
NET CONFIG SERVER /SRVCOMMENT:"%USERNAME%"
now.exe %username% -- %computername% >>\\PDC\NETLOGON\login.txt
cls
rem The following pushes the COMPANY screensaver onto all client systems
rem And it also calls the COMPANY Security notification window
if exist "%windir%\COMPANY intranet.scr" goto nocopy
echo COMPANY Screensaver will be installed and configured. Please stand by.
copy "\\PDC\netlogon\COMPANY intranet.exe" %windir%
copy "\\PDC\netlogon\COMPANY intranet.scr" %windir%
call regedit /s screensaver.reg
call regedit /s fullon.reg
callsecurity.htm
call regedit /s fulloff.reg
goto resume
:nocopy
echo COMPANY Screensaver currently installed. Configuring its use now. Please stand by.
call regedit /s screensaver.reg
call regedit /s fullon.reg
call ffmsecurity.htm
call regedit /s fulloff.reg
goto resume
:resume
rem **************************************************
rem End Optional Section
rem **************************************************
EXIT
rem **Changes applied by Joseph Moore
:end
EXIT
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending