Solved

login script in user account not functioning

Posted on 2007-11-14
4
172 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 …

790 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