Utility tool for Logon script

Posted on 2004-10-22
Last Modified: 2010-04-13
In a windows 2000 active directory environment, is there a tool that can be run to display the users logon script,   ex   from a cmd prompt <appname> /logonscriptname.bat  and it would display all users who are using that particular logon script.

I am trying to convert everyone over to a new logon scipt, and just need to see who has and who has not yet been switched over.

Question by:AMWINS
    LVL 11

    Expert Comment

    Hello AMWINS:

    - Can you go to a command prompt and type "net user TheUsersUsernameHere /domain" (without the quotes). It would then tell you what logon script a user is using.
    - Now you can simply map a drive to \\YourDCsName\%SystemRoot%\SYSVOL\sysvol\<YourDomainName>\Policies\GUID\User\Scripts\Logon , see the logon script and its contents

    It doesnt use a app, just two commands... would something like this work for you ?

    LVL 5

    Expert Comment

    Easiest thing to do would be to write a VBScript that queries AD through ADSI and reports those who are using what login script.  You could then parse that data to obtain the list of who needs switched over.  For that matter - you could even have the script change it for everyone....
    LVL 5

    Accepted Solution

    Get Hyena from

    Right click on "YourDomain->All Users" select "Tabular Views->Users(Detailed - General)"

    On the righ side panel click on "Script" tab It will sort the output for you and you can easy selec users
    with old login script

    Author Comment

    That worked BEAutifully.

    Exactly what I needed.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

    845 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

    5 Experts available now in Live!

    Get 1:1 Help Now