Is that the best place to put logon scripts?  I was just getting ready
to set one up and I was thinking of putting it on a DFS share.

> -----Original Message-----
> From: Free, Bob [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2008 1:22 PM
> To: NT System Admin Issues
> Subject: RE: Executing programs from a login script
> 
> The default location of NETLOGON should be something like
> \SYSVOL\sysvol\example.com\SCRIPTS unless you changed it when you ran
> dcpromo
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2008 11:48 AM
> To: NT System Admin Issues
> Subject: RE: Executing programs from a login script
> 
> 
> 
> Miller Bonnie L. <[EMAIL PROTECTED]> wrote on 06/10/2008
> 02:41:00 PM:
> 
> > I think you're thinking of the one where you copy it to the netlogon
> > share.  Then, you can access it using syntax like:
> >
> > %0\..\ifmember.exe dostuff
> 
> The NETLOGON share! That was what I was trying to think of ....
> 
> > I've only tried this in the old-style logon scripts (assigned on the
> > user accounts).  I think the %0\..\ means look in the current path,
> 
> But what would the current path be? The current path of the
workstation
> executing the login script?
> 
> > so maybe with a newer-style script you just put it in the same
> > location as the .bat/.cmd/.vbs file that runs it?
> 
> I think the share name would be
> 
> \\DC-Name\SYSVOL\DOMAIN-NAME\
> 
> Thanks for the reminder ... I'll poke at it a bit ...
> 
> 
> >
> > -Bonnie
> >
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> 
> > Sent: Tuesday, June 10, 2008 10:51 AM
> > To: NT System Admin Issues
> > Subject: Executing programs from a login script
> >
> >
> > I know I should know the answer to this, but I'm old, and it's too
> > hot (it's 100F here in Philadelphia at the moment). Anyway, in my
> > Win2000 AD, I want to execute a login script for a particular OU.
> > And in this login script, I want to check group memberships and map
> > drive letters accordingly. Not being all that confident in VBscript,
> > I was going to use the "IfMember" utility from the Resource Kit.
> > What I'm drawing a blank on is where to copy the utility so that it
> > is accessible at login time. I want to call it from the SYSVOL
> > share, don't I? Where would I copy the EXE to, what path, so that I
> > can execute it from the login script?
> >
> > Thanks
> >
> > --
> > Michael Leone
> > Network Administrator, ISM
> > Philadelphia Housing Authority
> > 2500 Jackson St
> > Philadelphia, PA 19145
> > Tel:  215-684-4180
> > Cell: 215-252-0143
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> >
> >
> 
> >
> 
> 
> ~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
> ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to