Re: Export list of login scripts

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tomasz Onyszko (T.Onyszko_at_w2k.pl)
Date: 08/12/04


Date: Thu, 12 Aug 2004 23:16:37 +0200

jallen wrote:

> How can I query AD for the login script attribute of each
> user account? I'm trying to produce a list of user
> accounts with the associated login scripts.
> Thanks!
Query through Ad for the scriptPath attribute - of course this will help
If You have login script configured in the user properties

Simple example how to dig through AD and read properties You will find here;
http://www.w2k.pl/tech/sample1_LDAP.txt
(comments are in polish - sorry)

If You have login scripts configured via GPO use RSoP to determine on
which OU in Your Ad which GPO will affect users and which login scripts
will be executed

-- 
Tomasz Onyszko [MVP]
T.Onyszko@w2k.pl
http://www.w2k.pl


Relevant Pages

  • Re: Login Script & Terminal Services Issue
    ... The recommended approach, last I checked, was to use GPO for the terminal ... deployed logon scripts vs. specifying, but in my opinion, it would be about ... Looks like I'll have to update all regional & site login scripts. ... Computers" User Profile Tab login Script setting. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Drive Mappings in TS Session
    ... Wherre are login scripts defined user or GPO? ... I would like my users to carry their drive mappings, ... are not carried over to the TS session. ...
    (microsoft.public.windows.terminal_services)
  • Re: AD Software Install
    ... The deployment of a Service Pack via GPO is a computer ... every subsequent reboot? ... > I had to re-write my login scripts to manually install IE6, ... >> OU in which your computer account objects are located. ...
    (microsoft.public.win2000.active_directory)
  • Re: GPO Login Script does not run on first login.
    ... Pro processes things at start up / logon. ... I have created multiple GPO login scripts that work except for one little ... fixed) when a user logs into and XP Pro workstation for the very first ...
    (microsoft.public.windows.server.active_directory)
  • Need to automate drive map for mobile users
    ... Easy way is to use login scripts that map the drive. ... active directory under your user properties, ... tab, you can specify a log in script to run, create a ...
    (microsoft.public.win2000.active_directory)