Re: Login Script not running on certain machines - RESOLVED

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

From: Nate (elevatedkite_at_yahoo.com)
Date: 05/19/04


Date: Wed, 19 May 2004 14:16:35 -0500


"Al Dunbar [MS-MVP]" <alan-no-drub-spam@hotmail.com> wrote in message
news:OoqG1HVPEHA.1340@TK2MSFTNGP12.phx.gbl...
>
> "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

Problem solved. I just had to tweak the permissions of the folder
containing the script. Works great now. Thanks for the help, it's much
appreciated



Relevant Pages

  • Re: cant get access to disk share when connecting from a remote s
    ... The systems are DUTs. ... for each of the drives within the system. ... Everything in the scripts work except the file permissions below the shares ... the shares on the DUTs manually, after they run my rename script, but I would ...
    (microsoft.public.windows.server.scripting)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... Digital Media MVP: 2004-2007 ...
    (microsoft.public.windowsmedia)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... The CREATOR OWNER is likely on windows to be one of the admin accounts ...
    (microsoft.public.windowsmedia)
  • Re: how to restrict users to search in their own Organizational Unit
    ... will be given the necessary permissions. ... Who would you DENY? ... decided a script can make it possible to accomplish, ... If I need to create a security group per OU and then add all users ...
    (microsoft.public.windows.server.active_directory)
  • Re: VBScript to audit shares and share permissions
    ... You can also use SRVCHECK tool included in Windows Server Resources Kit. ... A simple script will allow you to scan all your network. ... see all shares. ... VBScript to audit shares and share permissions ...
    (Focus-Microsoft)