Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

login script does not run

Status
Not open for further replies.

Hem

IS-IT--Management
May 30, 2001
17
GB
Hi All

I have set up a windows 2000 server in a test environment.
I have installed Active directory making it into a domain controller.
I have set up a folder with a share name testshare. I have given rights to this share to a user call user1.
I have the created a net use command and placed this into a batch file. I have tested the batch file and this runs.

Then I have done 2 things:

1.Copied this file into the sysvol\scripts directory and the went to the the GPO of the domain controler went to the user configuration\windows and put the path in of the batch file in the logon script function.

It does not run when I logi as the user.

I then trie dthe following as from my active directory implemetation course:

2. Went to the gPO of the domain controller, went to the user configuration section and to the logon scrtipt item, did show files and copied the batch file into the logon folder. Ithen went to the add scrip and selected the batch file from the defaulting logon folder. It does not work!!

What am I not doing??? I have tried this before and it no longer works on another 2000 domain (on the actuial hardware that I will be using). The individual user login scripts work and map the drive. But I will be having alot of users coming onto this system so I don ot really want to have individual scripts . Please help.


Hem
 
Hi Yizhar


Thanks for prompt reply, the logon.bat i sin the nsetlogon share. But it still does not work. It will work if i go to the users profiles/account and then add in the batch file.

I would just like one script for all, but do I still have to put in the script name in on the account profile for all users?

Help..

Hem
 
have u applied the gpo ie the permisiions of the gpo on the users ??? Kapil Aggarwal

Technical Director
Infovalley Interweb Pvt. Ltd.
Microsoft Certified System Engineer
visit
If u find the information provided here useful to u then let me know by clicking on the link below s-)
 
Kapil


I have gone to the security tab of the GPO and added the test use in there. is that what u mean??

Hema
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top