Discussion Locked

Waht are Logon scripts for windows 2000

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

Regarding windows 2000 Professional:

I am attempting to learn what logon scripts are (in Win 2000 Pro) and how they are implemented

When editing a user?s account, what is Logon Script used for? Can logon scripts apply to a standalone computer? Do you have to be part of a 2000 domain before you execute log on scripts?

Can you give me an example of how to implement log on scripts on a work group, with no domain?

Thanks for your help

3 replies

by whitney597

Logon scripts are typically batch files that are run when a user logs on. Through a logon script you can map users to drives, run a program that needs to be executed on the workstation,etc. (for example I installed a copy of norton antivirus through logon script to some of my win95 clients)
Here is an article about logon scripts:
http://www.microsoft.com/technet/winnt/winntas/tips/techrep/logscrpt.asp

To create a logon script you can use notepad.
An example of a logon script mapping a drive for a user would be the following:
Open notepad then type the following:
\\net use f: \\servername\sharename
(replace servername with your serverame and sharename with the share)
Then save the file as filename.bat (replace filename with whatever you want to name the file). Save the file name in the SYSVOL directory (I haven't installed 2000 yet..but I believe SYSVOL is what NETLOGON used to be in NT4).
Then in the logon script box for the user type filename.bat. When the user logs on the script should run.

This discussion is closed to new replies.