Solved

Scripts Directory not created by Active Directory on a Windows 2003 Server?  Trying to use Logon Scripts.

Posted on 2004-10-27
205 Views
Last Modified: 2010-04-19
I have a Windows 2003 Server that was just freshly installed.  After installing Active Directory and all our own software, I started writing Logon Scripts, only to find out that the Scripts folder was not installed as it should have been.  I attempted to create it and moved my logon scripts into it, however, none seem to be working.  Has anyone else seen this?  Any tips?

Thanks
0
Question by:CUOL-MIS
    12 Comments
     
    LVL 18

    Expert Comment

    by:luv2smile
    How are you applying logon scripts? with group policy?

    If you are using group policy then you should have a folder %systemroot%\sysvol\domain\policies

    0
     
    LVL 7

    Accepted Solution

    by:
    The scripts folder in fact is the NETLOGON share on your server
    To assign scripts browse to the "\\server_name\NETLOGON" share and put the scripts there.

    To find the netlogon share, on the server, right click My Computer > Manage > Shared Folders > Shares

    Also check security of this folder you created you need Read&Execute, List Folder Contents and Read rights for the "Authenticated Users" group.

    0
     

    Author Comment

    by:CUOL-MIS
    I'm just using a logon.bat.

    There also is no policies folder in that path as I believe there should have been.

    Oddly enough, Active Directory seems to be working just fine.

    Thanks
    0
     
    LVL 18

    Expert Comment

    by:luv2smile
    If you are assigning the script via the user's profile, then the script needs to be in the following folder:

    %systemroot%\SYSVOL\sysvol\domain\scripts
    0
     
    LVL 18

    Expert Comment

    by:luv2smile
    corneliup is right, the netlogon share is the following: %systemroot%\SYSVOL\sysvol\domain\scripts
    0
     

    Author Comment

    by:CUOL-MIS
    That is the folder I had to manually create. And, that's where the Script resides, however, it's still not working.  I'm thinking about a (gasp) reboot just to see what happens at this point.
    0
     
    LVL 18

    Expert Comment

    by:luv2smile
    That is where the script is stored. But how are you applying this script to the users?
    0
     

    Author Comment

    by:CUOL-MIS
    Thru the User Profile.  On the Profile Tab, I'm adding it into the Logon_Script box.
    0
     
    LVL 18

    Expert Comment

    by:luv2smile
    What do you have for the path?

    It should only be logon.bat   if that is the name of your file.
    0
     

    Author Comment

    by:CUOL-MIS
    Yes, it is logon.bat.

    I've also tried just logon, scripts\logon, scripts\logon.bat, c:\windows\sysvol\sysvol\rtn.local\scripts\logon.bat and also c:\windows\sysvol\sysvol\rtn.local\scripts\logon.

    Nothing seems to be working properly.
    0
     
    LVL 18

    Assisted Solution

    by:luv2smile
    Have you done what corneliup suggested?

    Check the share and the security permissions to make sure they are correct....
    0
     
    LVL 15

    Expert Comment

    by:harleyjd
    Guys - this caught my eye "I attempted to create it and moved my logon scripts into it,"

    If you move files on the server between folders on the same drive the files retain their old permissions. If they were created via admin, and save in an admin folder then they are likely to have administrators and system as the only allowed objects...

    Corneliups bit abounf the proper path rings true, too...
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
    Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
    This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.

    884 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now