Discussion Locked

logon script

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I'm have a network that consist of NT server and 2K server. Currently we have a simple logon script that doesn't really do much, all it has on it is
"pause
net use h:\\snap\%username%
pause."
I don't know much about logon script but I guess that would be the script to map the network drive. I want to be able to map all drives to the users and be able to time sync. Can anybody give me a quick drill down or link to a "how to site" about logon script. Keep in mind that I'm really a novice and have no clue about logon script or any other types of scripts. Thanks.

7 replies

by curlergirl

First of all, a logon script at its simplest is a basic text file with a .bat or .cmd extension (.bat for Win9x workstations, or .cmd for WinNT/2K - there are some switches and commands that you can use in a .cmd file that won't work in a .bat file). In the text file you can put any command that you can type at the command prompt. So, for example, to map a drive from the command prompt you would type "net use x: \\server\share" (without the quotes of course). You can put the same line in a login script for the same result. To see a list of commands that you can use and an explanation of what they do and how to use them, just go to Start/Help on your server and look up "command reference". This should get you a complete list of commandline commands and from there you can look up what types of things you need to do - the "net" commands are usually the most useful to start out. This will get you started, anyway. Hope this helps!

This discussion is closed to new replies.