Home All Groups Group Topic Archive Search About

Login.cmd scritp doesn't run when user logon



Author
17 Apr 2007 6:00 PM
Koala78
There is a login.cmd script supposes to run to create network drives when
user logs on.  The network is consist of 25 staff and few remote sites.  User
logins in the morning successful without problem but the scripted network
drive doesn't appear in my computer.  I believe is login using the cache
credential.  Not sure what is happening there.  Some people has not problem
and some people has problem seeing the mapped drive.  The map drives are
hidden share folder on the server.

Need some help here!!

Author
20 Apr 2007 11:28 AM
Jeremy
It could be that the users arfe logging in via the fast user logon
optimisation feature of windows XP.  This can be modified in a GPO called
"Always wait for the network prior to loggin on" or something like that.  See
this article:http://support.microsoft.com/kb/305293



You need to put some error handling in the logon script.
Try redirecting the output of the net use commands to a log file so you can
see what is happening.

Cheers,
Jeremy.

Show quote
"Koala78" wrote:

> There is a login.cmd script supposes to run to create network drives when
> user logs on.  The network is consist of 25 staff and few remote sites.  User
> logins in the morning successful without problem but the scripted network
> drive doesn't appear in my computer.  I believe is login using the cache
> credential.  Not sure what is happening there.  Some people has not problem
> and some people has problem seeing the mapped drive.  The map drives are
> hidden share folder on the server.
>
> Need some help here!!
Author
22 Apr 2007 5:38 AM
Koala78
Thanks for your tips i will check that out.  By the way, the login script
started under the group policy "Login script". This happen on local office
and remote office that login script won't run under group policy.  What would
be other possibilities of cause?

Kent

Show quote
"Jeremy" wrote:

> It could be that the users arfe logging in via the fast user logon
> optimisation feature of windows XP.  This can be modified in a GPO called
> "Always wait for the network prior to loggin on" or something like that.  See
> this article:http://support.microsoft.com/kb/305293
>
>
>
> You need to put some error handling in the logon script.
> Try redirecting the output of the net use commands to a log file so you can
> see what is happening.
>
> Cheers,
> Jeremy.
>
> "Koala78" wrote:
>
> > There is a login.cmd script supposes to run to create network drives when
> > user logs on.  The network is consist of 25 staff and few remote sites.  User
> > logins in the morning successful without problem but the scripted network
> > drive doesn't appear in my computer.  I believe is login using the cache
> > credential.  Not sure what is happening there.  Some people has not problem
> > and some people has problem seeing the mapped drive.  The map drives are
> > hidden share folder on the server.
> >
> > Need some help here!!
Author
22 Apr 2007 6:13 AM
Jeremy
Slow link detection probably.  When Group Policy processing detects a slow
link then it doesn't process some parts of the policy and scripts is one of
the parts it doesn't process.

See this article for more info: http://support.microsoft.com/kb/227260

Show quote
"Koala78" <Koal***@discussions.microsoft.com> wrote in message
news:E1F5524E-3664-41F4-B0B9-B07D7025E9D5@microsoft.com...
> Thanks for your tips i will check that out.  By the way, the login script
> started under the group policy "Login script". This happen on local office
> and remote office that login script won't run under group policy.  What
> would
> be other possibilities of cause?
>
> Kent
>
> "Jeremy" wrote:
>
>> It could be that the users arfe logging in via the fast user logon
>> optimisation feature of windows XP.  This can be modified in a GPO called
>> "Always wait for the network prior to loggin on" or something like that.
>> See
>> this article:http://support.microsoft.com/kb/305293
>>
>>
>>
>> You need to put some error handling in the logon script.
>> Try redirecting the output of the net use commands to a log file so you
>> can
>> see what is happening.
>>
>> Cheers,
>> Jeremy.
>>
>> "Koala78" wrote:
>>
>> > There is a login.cmd script supposes to run to create network drives
>> > when
>> > user logs on.  The network is consist of 25 staff and few remote sites.
>> > User
>> > logins in the morning successful without problem but the scripted
>> > network
>> > drive doesn't appear in my computer.  I believe is login using the
>> > cache
>> > credential.  Not sure what is happening there.  Some people has not
>> > problem
>> > and some people has problem seeing the mapped drive.  The map drives
>> > are
>> > hidden share folder on the server.
>> >
>> > Need some help here!!

AddThis Social Bookmark Button