Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

login script in user account not functioning

Posted on 2007-11-14
4
Medium Priority
?
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Suggested Courses

609 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