Re: Login Script not running on certain machines

From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 05/19/04


Date: Tue, 18 May 2004 21:32:50 -0600


"Nate" <elevatedkite@yahoo.com> wrote in message
news:OaN8dLSPEHA.3988@tk2msftngp13.phx.gbl...
>
> "Al Dunbar [MS-MVP]" <alan-no-drub-spam@hotmail.com> wrote in message
> news:OVX9iBJPEHA.1160@TK2MSFTNGP09.phx.gbl...
> >
> > "Nate" <elevatedkite@yahoo.com> wrote in message
> > news:uXeolsBPEHA.2876@TK2MSFTNGP09.phx.gbl...
> > > I'm pretty new to network admin duties. I'm setting up a Win2K3
server
> to
> > > replace our NT4 network. I want to be able to take advantage of login
> > > scripts.
> > >
> > > I created a simple script, and placed it in the
> > > \windows\sysvol\sysvol\{domain.net}\scripts folder.
> > >
> > > It executes just fine when I log on the new domain with an account
> that's
> > a
> > > member of the administrators group, but from the two accounts that
I've
> > > tried (XP Pro and 98se) that aren't administrators, the script doesn't
> > > execute. These accounts are members of the Users, and Domain Users
> > groups.
> > >
> > > What am I doing wrong here? Any help is appreciated
> >
> > Have you modified the accounts in question to actually run the logon
> > scripts?
> >
> > /Al
>
> Yes, using the Profile tab for each user in the "Active Directory Users
and
> Computers" snap. I specified the name of the script (login.bat) in the
> "Login script" box. It's set up the same way for all users, yet only the
> administrators run the script.

a) what happens when a non-admin account logs on - nothing, and error
message, what?

b) what are the permissions on the script file itself?

/Al



Relevant Pages

  • Re: Disabling Interactive Logon Against Security Group
    ... A less that fully perfect route to consider would be a logon script ... for those accounts that inquires as to what machine is being logged ... question "disable interactive logon privilages against specific OU/User ... If you set this in a GPO then the list that is to be denied that you ...
    (microsoft.public.security)
  • Re: Common tasks of script developer
    ... domain computer, you want your drives mapped, your printers mapped, ... this became the logon script for desktop support. ... accounts created by script are always correct ...
    (microsoft.public.scripting.vbscript)
  • Re: Using vbscript to set folder permissions and change security settings
    ... > script is actually a "dos" batch file. ... NET ACCOUNTS ... NET ACCOUNTS updates the user accounts database and modifies password ... password, logon limitations, and domain information. ...
    (microsoft.public.scripting.vbscript)
  • Re: Last Logon Time Stamp
    ... > I am new to script. ... > I need to list out inactive accounts more than 90 days in both AD accounts ... Use ADO to retrieve lastLogonTimeStamp for all users. ... And here is a sample program that retrieves the distinguishedName for all ...
    (microsoft.public.windows.server.scripting)
  • Re: Script to delete computer accounts not working
    ... thanks for the initial script as well. ... computer accounts that are disabled and haven't been modified for 30 days. ... Set objCommand = CreateObject ...
    (microsoft.public.scripting.vbscript)