W2K Login Script basics

  • Thread starter Thread starter Harry Muscle
  • Start date Start date
H

Harry Muscle

A friend of mine asked me to write some W2k login scripts for him, but I'm
having problems finding basic info. I've done programming before, so I
don't mind taking on this task. First off, it would be nice to find an
explanation of what the login scripts are usually supposed to do, where the
actual files are located, etc. Also which scripting language is the
standard for W2k login scripts?

I'm looking for basic information that someone would need if they have never
dealt with login scripts before but have extensive programming experience.

Thanks,
Harry
 
You can use pretty much whatever you like - I am lazy and just use simple
batch files with net use commands. You can use group policy to assign them,
or you can put the file name (no path) in the login script field in each
user's Active Directory Users & Computers. You'd put the file in the
NETLOGON share on the domain controller if you use the latter.

What does he want to accomplish with the login script? That might be a good
place to start.
 
In
Harry Muscle said:
A friend of mine asked me to write some W2k login scripts for him,
but I'm having problems finding basic info. I've done programming
before, so I don't mind taking on this task. First off, it would be
nice to find an explanation of what the login scripts are usually
supposed to do, where the actual files are located, etc. Also which
scripting language is the standard for W2k login scripts?

I'm looking for basic information that someone would need if they
have never dealt with login scripts before but have extensive
programming experience.

Thanks,
Harry

Hi Harry

http://www.gwynfryn.co.uk/downloads/NT_Commands.pdf

Hope that helps?
 
I use visual basic scripts. Simply to map network drives and control the installation of printers on logon depending on which room the user is in.
 
You can also lookin in the following news groups:

microsoft.public.sripting.jscript
microsoft.public.sripting.vbscript
microsoft.public.sripting.wsh

As for what login scripts are used for, well the answer is just about
anything you need. Some examples are adding network drives, adding network
printers, or even running a batch file. You need to ask your friend what he
needs to accomplish during login and that will tell you what you need to
work on.

George
 
Harry said:
A friend of mine asked me to write some W2k login scripts for him, but I'm
having problems finding basic info. I've done programming before, so I
don't mind taking on this task. First off, it would be nice to find an
explanation of what the login scripts are usually supposed to do, where the
actual files are located, etc. Also which scripting language is the
standard for W2k login scripts?

I'm looking for basic information that someone would need if they have never
dealt with login scripts before but have extensive programming experience.

Hi

We use VBScript for logon scripts, but you can use JScript or batch
files as well. Some also prefer to use Kixtart.

Frequently Asked Questions about Logon Scripts
http://www.rlmueller.net/LogonScriptFAQ.htm

For some VBScript examples, take a look under "Group Membership Tests" and
"Logon Scripts" under "Free VBScript Code" at
http://www.rlmueller.net/

Logon Script info at LabMice.net
http://labmice.techtarget.com/scripting/logonscripts.htm


You will also find logon script examples at
http://cwashington.netreach.net as well, e.g. here:
http://cwashington.netreach.net/dep...tory&ScriptType=vbscript&SubType=LogonScripts



--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx
 

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

Back
Top