Re: login scripting

From: David B (DavidB_at_discussions.microsoft.com)
Date: 12/09/04


Date: Wed, 8 Dec 2004 23:23:02 -0800

Thanks for the advice. Hadn't thought of GPO as a solution. Not sure what you
are talking about with startup scripts. How does that differ from login
script?

"Oli Restorick [MVP]" wrote:

> I see.
>
> Personally, I've never been a fan of user login scripts. I use computer
> startup scripts extensively.
>
> If you want an alternative approach, you could use Group Policy to do the
> drive mappings. It's a little unconventional, but I've found it to work
> absolutely flawlessly.
>
> Try this out on a test OU first. Create a GPO and import the ADM file into
> it. You'll need to change the filtering in the admin tool so that it shows
> you all GPOs, not just fully-managed ones.
>
> http://www.willowhayes.co.uk/download/drives.adm
>
> Then you'll find that under Administrative templates, you have a Drive
> Mappings category. If you don't see a bunch of drive letters, check the
> filtering.
>
> Type the UNC, leave "Connect As" blank and choose the Microsoft Windows
> Network option for the provider type.
>
> You can then map drives depending on OU. You can also use security groups
> to filter the GPO.
>
> This works nicely because it gets processed very early on and when Explorer
> fires up, it just thinks it has a load of persistently-mapped drives.
>
> The other thing I do is to create a GPO called "Clear all drive mappings"
> that gets processed first. This just deletes every drive mapping, so that
> only the ones defined in Group Policy get mapped.
>
> Hope this helps
>
> Oli
>
>
>
>
>
>
> "David B" <DavidB@discussions.microsoft.com> wrote in message
> news:44A7ACBE-094C-417F-8C17-3DC514B6E6AE@microsoft.com...
> > DC Servers are Windows 2003 Server. We have a mix of W2K and a couple of
> > NT4.0 servers as well. Clients are Win 2000 Pro, and a few Win XP clients.
> >
> > I observe the minimized login script on the task bar, while the system is
> > already starting to process startup group items. This problem has been
> > consistent on at least a half dozen different W2k Pro/XP Pro systems.
> >
> > The difference between a "restart" and a "logoff/logon" seems to be that
> > during a restart, the system is still starting up services during the
> > login,
> > whereas with a logoff/logon, all services are already running, so the
> > system
> > gets started on the startup items more quickly.
> >
> > I've noticed that items in startup that use UNC don't experience this
> > problem, but we still have quite a few legacy apps, which require a mapped
> > drive to run.
> >
> > "Oli Restorick [MVP]" wrote:
> >
> >> This doesn't make sense, unless you're using Windows 98 or something
> >> equally
> >> horrid on the clients.
> >>
> >> Which client OS are you using?
> >>
> >> Oli
> >>
> >>
> >>
> >> "David B" <DavidB@discussions.microsoft.com> wrote in message
> >> news:24BD4DB6-EF88-48D7-B5AE-FB1F9D3F02F4@microsoft.com...
> >> > <Cross posted from 2000 discussion>
> >> >
> >> > We are in the process of moving from mainly a NetWare shop, to a total
> >> > MS
> >> > shop.
> >> >
> >> > We have created some batch files to map certain network drives...
> >> > simple
> >> > file, just a bunch of
> >> >
> >> > net use x: \\blah\blahblah
> >> >
> >> > What I'm seeing is as follows:
> >> >
> >> > When a machine is initially booted up, the script runs fine, and any
> >> > applications that are in the startup group load with no problems.
> >> >
> >> > However, if a user logs off (rather than restart), and someone else (or
> >> > same
> >> > user) logs on again, the startup items will not load, because the drive
> >> > mappings have not completed yet. Get the typical windows pop-up, saying
> >> > "such-n-such app could not be found".
> >> >
> >> > Once the login script completes, the apps load fine, however the users
> >> > are
> >> > getting frustrated with manually having to load the apps.
> >> >
> >> > Coming from a NetWare background, I have to say that the lack of an
> >> > actual
> >> > scripting language is a bit disappointing.
> >> >
> >> > One thing I have noticed that doesn't seem to work is setting
> >> > environment
> >> > variables in the script.
> >> >
> >> > Anyone have any thoughts or suggestions on this?
> >> >
> >>
> >>
> >>
>
>
>



Relevant Pages

  • Re: Q re missing rc.local file
    ... > to first do a text login followed by a startx. ... another thing you want run at startup. ... startup to your Debian system. ... If you want to create individual scripts one ...
    (Debian-User)
  • Re: VPN Logon script problem
    ... VPN (or any dial-up style login) is not the same thing as a Domain Login and ... To do a Domain Login at the same time as the dial up connection login, ... I'm not entirely sure how the login scripts will behave. ... > drives except for the users' Home Drives. ...
    (microsoft.public.windows.server.networking)
  • Re: Machinen based drive mapping
    ... Drives can be mapped in system context but they aren't mapped properly. ... Startup scripts run in the security context of localSystem, ...
    (microsoft.public.windows.group_policy)
  • Net use with spaces?
    ... How do I map a drive with net use if the name of the share ... drives are mapped locally on all ... We need to move to login ... scripts but I am stuck. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Setting .adp properties outside access (AllowBypassKey)
    ... I'll be inventory many adp files for my department. ... I believe that everybody opening an Access file through automation ... wouldn't want to trigger those scripts either. ... Similarly, in your startup form, you would put... ...
    (microsoft.public.access.adp.sqlserver)