Re: Startup and Logon Scripts

From: Jimmy Andersson [MVP] (jimmy_noSpam__at_mvps.org)
Date: 03/19/04


Date: Fri, 19 Mar 2004 11:28:19 +0100

Sorry for the very late response, I've been out of office.
I can't reproduce the problem, it works for me. Make sure you check the
permissions on the file and folders.

Regards,
/Jimmy

-- 
Jimmy Andersson, Q Advice AB
Microsoft MVP - Directory Services
---------- www.qadvice.com ----------
"Keith" <@.> wrote in message news:eDNh8gK#DHA.3032@TK2MSFTNGP10.phx.gbl...
> Hi
>
> Thanks.  I haven't managed to sort this yet.
>
> It would be good to know if this is just me or if you can replicate this.
>
> Thanks
>
> "Jimmy Andersson [MVP]" <jimmy_noSpam_@mvps.org> wrote in message
> news:%23BYPs279DHA.2308@TK2MSFTNGP09.phx.gbl...
> > Just wanted to let you know that I haven't forgot this. I had to go to a
> > client site, but I'll be back in my office on Monday and will take a
look
> at
> > this then. Unless someone else have solved it for you by then.
> >
> > Regards,
> > /Jimmy
> > -- 
> > Jimmy Andersson, Q Advice AB
> > Microsoft MVP - Directory Services
> > ---------- www.qadvice.com ----------
> >
> >
> > "Keith" <@.> wrote in message
> news:easq9xk9DHA.1592@TK2MSFTNGP10.phx.gbl...
> > > Thank you
> > >
> > > "Jimmy Andersson [MVP]" <jimmy_noSpam_@mvps.org> wrote in message
> > > news:eQRDxwj9DHA.2608@TK2MSFTNGP10.phx.gbl...
> > > > Ok, I'll try this setup in my lab tomorrow (it's 520 PM here) and
let
> > you
> > > > know.
> > > >
> > > > Regards,
> > > > /Jimmy
> > > > -- 
> > > > Jimmy Andersson, Q Advice AB
> > > > Microsoft MVP - Active Directory
> > > > ---------- www.qadvice.com ----------
> > > >
> > > >
> > > > "Keith" <@.> wrote in message
> > > news:e8i60Oj9DHA.2480@TK2MSFTNGP10.phx.gbl...
> > > > > The script is a simple 1-line batch file that calls a registry
file
> > > (.reg)
> > > > > with /s for silent install.
> > > > >
> > > > > If I place the .bat and .reg file together in the following
> location:
> > > > >
> > > > > Sysvol\(domain)\policies\(gpo policy)\machine\scripts\startup
> > > > >
> > > > > and add the batch file as a startup script in GPO the batch file
> runs
> > > fine
> > > > > and calls the registry file as expected at sratup - no problems at
> > all.
> > > > >
> > > > > However, if I place the .bat and .reg file in the following
> location:
> > > > >
> > > > > Sysvol\(domain)\scripts\registry\
> > > > > [registry is a sub folder I created to keep things organised]
> > > > >
> > > > > and add the batch file as a startup script in GPO exactly the same
> way
> > > as
> > > > > before (just pointing it to this location instead of the other -
> which
> > > > > incidentally then references the script by UNC automatically), it
> > > doesn't
> > > > > run on startup.
> > > > >
> > > > > I want to do it this way so all my scripts are kept in the same
> > place -
> > > > that
> > > > > way if I re-use any scripts I do not have to make duplicate
copies,
> I
> > > can
> > > > > simply call them again from the central location.
> > > > >
> > > > >
> > > > > "Jimmy Andersson [MVP]" <jimmy_noSpam_@mvps.org> wrote in message
> > > > > news:eBtyJri9DHA.2460@TK2MSFTNGP09.phx.gbl...
> > > > > > I just tried it here and it works for me... It must be something
I
> > > > > > misunderstand in your question, but I don't know what that would
> > > be....
> > > > > >
> > > > > > Can you describe what the scripts are doing?
> > > > > > Can you copy and paste the script?
> > > > > >
> > > > > > Regards,
> > > > > > /Jimmy
> > > > > > -- 
> > > > > > Jimmy Andersson, Q Advice AB
> > > > > > Microsoft MVP - Active Directory
> > > > > > ---------- www.qadvice.com ----------
> > > > > >
> > > > > >
> > > > > > "Keith" <@.> wrote in message
> > > > > news:#uH2Ifh9DHA.3200@TK2MSFTNGP09.phx.gbl...
> > > > > > > Just tried this and it dodn't work.
> > > > > > >
> > > > > > > I am addign a new stratup script to my GPO and pointing it to
my
> > > > script
> > > > > > > (which resides in a subfolder of the scripts folder in sysvol)
> by
> > > UNC.
> > > > > > >
> > > > > > > Script doesn't run!
> > > > > > >
> > > > > > > Any ideas?  Am I doing something wrong?
> > > > > > >
> > > > > > > Scripts run fine if the files are placed in the relevant
> > containers
> > > > > within
> > > > > > > the GPO profiles.
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > "Jimmy Andersson [MVP]" <jimmy_noSpam_@mvps.org> wrote in
> message
> > > > > > > news:uuh%23TaZ9DHA.2316@TK2MSFTNGP09.phx.gbl...
> > > > > > > > Yes. The only thing it do is run the scripts on the objects
> > within
> > > > the
> > > > > > > > linked OUs that has permissions to run it. As long as you
> > specify
> > > > > paths
> > > > > > to
> > > > > > > > other scripts it needs you should be fine.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > /Jimmy
> > > > > > > > -- 
> > > > > > > > Jimmy Andersson, Q Advice AB
> > > > > > > > Microsoft MVP - Active Directory
> > > > > > > > ---------- www.qadvice.com ----------
> > > > > > > >
> > > > > > > >
> > > > > > > > "Keith" <@.> wrote in message
> > > > > > > news:uZoilNX9DHA.1636@TK2MSFTNGP12.phx.gbl...
> > > > > > > > > If I assign a startup or logon script to a GPO, can it
make
> > > calls
> > > > to
> > > > > > > > scripts
> > > > > > > > > outside of the scripts folder?  Or more importantly, can
it
> > make
> > > > > calls
> > > > > > > > > outside of the container for that particular GPO in the
> > policies
> > > > > > folder
> > > > > > > > > (inside sysvol) back to scripts in the scripts folder
> (inside
> > > > > sysvol)?
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Loading