Logon Scripts

R

Robert Gamboa

How do Create logon scripts for windows 2000 user. Also
were do I put the script on the server.

Thank you
Rob
 
H

Herb Martin

How do Create logon scripts for windows 2000 user. Also
were do I put the script on the server.

Key answer: Group Policy.

In Group Policy (easiest is to use Active Directory Users and
Computer/domain-right-click/properties/Group Policy/ADD NEW
policy. (The default domain policy is best left alone so if you do
something injudicious you can delete YOUR NEW policy)...

In Group Policy there are two sections-- Computer and User.
Under each are 3 items, the second Windows Settings has
Startup/Shutdown scripts for Computers and Logon/Logoff
Scripts for Users.

Visit there, and let it choose the location (which gets them into
the right place in SysVol) -- you can copy your old scripts or
just build them there.

You can also still use Logon scripts linked through the users'
accounts but that is mainly to support NT/9x users who cannot
receive "Group Policy".

On a single machine, there is also "Local Group Policy" (LGPO-
objects) -- similar settings for scripts.
 
B

Barkmull

1. Create a text file using notepad and save it as a .bat file (example:
login.bat)
2. Edit this bat file to make it perform a task when you log on.

Example:

net use k: \\servername\sharename
net use l: \\servername\sharename2

3. Save this file to the following location:

<%systemroot%>\sysvol\sysvol\yourdomain.com\scripts

4. Edit a user to use the new login script. You do this in AD Users &
Computers. Right-click a user and select properties. Click on the
"profile" tab and type in login.bat (or whatever you named your file) in the
Login Script box.

5. Have the user log off and test it.

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Logon Script 1
multiple logon scripts in user profile 5
Logon Scripts 1
Logon scripts 3
Logon Script problem 2
Logon script not running? 2
Order of Scripts running in OU's 5
MPV - versitile fast lean player. 3

Top