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


Utility tool for Logon script

Posted on 2004-10-22
Medium Priority
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
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
LVL 11

Expert Comment

ID: 12385841

- 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 ?


Expert Comment

ID: 12386221
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....

Accepted Solution

mrielf earned 300 total points
ID: 12386754
Get Hyena from http://www.systemtools.com/

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

ID: 12400544
That worked BEAutifully.

Exactly what I needed.


Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 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