Login Scripts

  • Thread starter Thread starter Brian Branco
  • Start date Start date
B

Brian Branco

I have a single server setup as a PDC.

Using the Wizard for 2000 Server, the system installed
Active Directory Users and computers. I have a local
domain.

I am trying to setup a logon script, but it does not run.
Can someone tell me where to place the batch file and if
the folders need to be shared.
 
if you type \\yourhostname you will see a folder in the
list of shares called netlogon this is where you need to
paste you login scripts.

In the profile of the user in login script simply type the
file name of the script and it will run it for example
loginuser1.cmd or .bat
 
-----Original Message-----
if you type \\yourhostname you will see a folder in the
list of shares called netlogon this is where you need to
paste you login scripts.

In the profile of the user in login script simply type the
file name of the script and it will run it for example
loginuser1.cmd or .bat


.
Also please keep in mind that you can make use of .vbs
scripts ( logon.vbs ) and make use of Group Policy
to "run it". The location would be a bit different.

HTH,

Cary
 
This is how I have it setup, but it does not seem to
run. I just one line, but I never get the F: in My
Computer, if I run it manually it does work.

NET USE F: \\SERVER\D
 
-----Original Message-----
This is how I have it setup, but it does not seem to
run. I just one line, but I never get the F: in My
Computer, if I run it manually it does work.

NET USE F: \\SERVER\D


.
Brian,

Assuming that 'D' is a properly shared folder with the
appropriate permissions and that there are no networking
issues ( I have personally had a situation where the
switch was going bad and the logon script was a complete
hit or miss situation! ) then it looks correct,
technically speaking. I am not trying to 'lecture' you,
but please remember that the syntax is 'net use drive
letter: \\servername\sharename'. Have you tried maybe
the another drive letter, like J:\? The reason that I
ask is that it might be possible that the F:\ drive is
taken by a second CD-ROM Drive ( the hard drive is
partitioned into a C:\ and a D:\ drive, the DVD Player is
the E:\ drive and the CD-Burner is the F:\ drive, for
example! ).

Have you tried any logging? I did and that is how I
determined that the switch was bad. There weere a ton of
networking errors!

HTH,

Cary
 

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