We've been using Kixtart as our login script to map network drives for over 5 years now. The script rarely changes and is pretty basic. Here it is:

 Code:
; =====================================================
; ===========BEGIN DRIVE MAPPINGS======================
; =====================================================
;
;
; MAPS H: TO USER HOME DIRECTORY
	USE H: "\\FILE\HOME\%USERNAME%"
;
; MAPS K: TO SHARED DRIVE
	USE K: "\\FILE\SHARED"
;
; MAPS M: TO MAS90 DIRECTORY
	IF INGROUP("MAS90") = 1
		USE M: "\\FINANCE\SAGE"
	ENDIF
;
; MAPS N: TO "\\FILE\CREATIVESERVICES"
	IF INGROUP("CS") = 1
		USE N: "\\FILE\CREATIVESERVICES"
	ENDIF
;
; MAPS P: TO INSTALL DIRECTORY ON FILE SERVER
	IF INGROUP("Domain Admins") = 1
		USE P: "\\FILE\INSTALL"
	ENDIF
;
; MAPS R: TO ARCHTICS DIRECTORY
	IF INGROUP("ArchticsUsers") = 1
		USE R: "\\ARCHTICS\ARCHSHARE"
	ENDIF
;
; MAPS S: TO STONETIMBERRIVER DIRECTORY
	IF INGROUP("STRUsers") = 1
		USE S: "\\APP3\STONETIMBERRIVER"
	ENDIF
;
; MAPS W: TO SCARBOROUGH DIRECTORY ON APP3
	IF INGROUP("Scarborough") = 1
		USE W: "\\APP3\SCARBOROUGH"
	ENDIF
;
; =====================================================
; =============END DRIVE MAPPINGS======================
; =====================================================
;
EXIT


Not sure if that is the best way to map drives. It was in place before I got here. What I've wanted was sort of like a MOTD but it never changes or could be changed later. Right now when the script runs a small DOS box appears and then quickly dissapears. I would like the box to stay open and display a message like "Please leave your computers powered ON, but log OFF at the end of your day. Please also help save energy and the life of your monitor by powering it off when not in use. Thank you!" or "Server Maintenance tonight at 9PM". The text would be a bright yellow or something that they wouldn't easily over look. The box would also stay open until they "PRESS ANY KEY TO CONTINUE & ACKNOWLEGE" or something like that.

I've searched with my friend Google and also on here. The MOTD scripts people have talked about were more complex than my idea.

I'm open to suggestions and code examples.

Thanks in advance!
Ken


Edited by Glenn Barnas (2009-08-28 11:32 PM)
Edit Reason: fixed code tag