Solved

login script in user account not functioning

Posted on 2007-11-14
4
171 Views
Last Modified: 2010-03-17
I have created a login.bat file and placed it in the sysvol folder on my windows 2003 server.
the script reads       net use h: \\testserver\users\%username%
I went to AD users / computers and selected the user account that I wanted to use this script and input the directory to the location of this script.

When I login at the client PC it doesn;t run the script yet I can browse to it and manually run it. What have I missed? Do I have to setup a Group Policy for this to work?
0
Comment
Question by:mcantine
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:thenone
ID: 20281641
under profile you just need to put the name of the login script .bat. As far as the home directory that is just what it is.
0
 
LVL 12

Accepted Solution

by:
weareit earned 50 total points
ID: 20281701
If you put it in the SYSVOL Folder you did not go deep enough:

C:\WINDOWS\SYSVOL\sysvol\<domain name>\scripts <--> NETLOGON Folder

-saige-
0
 
LVL 12

Expert Comment

by:weareit
ID: 20281708
If above is confusing, the scripts folder is shared as the NETLOGON Folder.
0
 
LVL 8

Expert Comment

by:thenone
ID: 20281731
\\mydomin.com\SYSVOL\mydomian.com\scripts
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Resolve DNS query failed errors for Exchange
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question