Networking Forums

Networking Forums > Computer Networking > Windows Networking > Group Policy logon script not applied if connected by WiFi

Reply
Thread Tools Display Modes

Group Policy logon script not applied if connected by WiFi

 
 
Alister
Guest
Posts: n/a

 
      06-03-2009, 10:09 AM
Hi,

I have an issue with a couple of Vista laptops not running a Group Policy
logon script when they are connected by WiFi.
If these same machines are connected to the domain by physical ethernet
there is no problem.

Some background:

Mixed 2000 / 2003 AD domain with four DCs, one of which does all the DHCP
and DNS for the domain.
Clients are a mixture of 2000 / XP Pro / Vista Business desktops and
laptops.

WiFi is provided by three Cisco wireless access points, ALL DHCP is handled
by the DC, not the WAP's.

The logon script is a simple batch file to map network drives and is applied
through Group Policy / User Configuration / Windows Settings / Scripts
(Logon/Logoff)
It works fine for all users except when a user logs on from one of two Dell
XPS laptops running Vista and connected by WiFi. If the same machine is
connected by ethernet then the script runs fine. The problem does not occur
on XP Pro laptops on WiFi.

Has anyone come across this issue before - or can anyone suggest a solution?

Not quite sure if this a networking issue, or an AD issue, so crossposted to
..active directory and .networking

Thanks

Alister


 
Reply With Quote
 
 
 
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      06-03-2009, 12:35 PM
You are using cached credentials when you log on via Wi-Fi. The wireless
connection isn't processed until after you are logged into your local
machine. Thereby you have to run the script manually to get it to work.

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"Alister" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have an issue with a couple of Vista laptops not running a Group Policy
> logon script when they are connected by WiFi.
> If these same machines are connected to the domain by physical ethernet
> there is no problem.
>
> Some background:
>
> Mixed 2000 / 2003 AD domain with four DCs, one of which does all the DHCP
> and DNS for the domain.
> Clients are a mixture of 2000 / XP Pro / Vista Business desktops and
> laptops.
>
> WiFi is provided by three Cisco wireless access points, ALL DHCP is
> handled by the DC, not the WAP's.
>
> The logon script is a simple batch file to map network drives and is
> applied through Group Policy / User Configuration / Windows Settings /
> Scripts (Logon/Logoff)
> It works fine for all users except when a user logs on from one of two
> Dell XPS laptops running Vista and connected by WiFi. If the same machine
> is connected by ethernet then the script runs fine. The problem does not
> occur on XP Pro laptops on WiFi.
>
> Has anyone come across this issue before - or can anyone suggest a
> solution?
>
> Not quite sure if this a networking issue, or an AD issue, so crossposted
> to .active directory and .networking
>
> Thanks
>
> Alister
>



 
Reply With Quote
 
Alister
Guest
Posts: n/a

 
      06-03-2009, 01:19 PM
Thanks Paul,

Is this behaviour something that has changed with vista then?

I don't have this issue logging on from XP Pro machines by wireless
connection.

Alister

"Paul Bergson [MVP-DS]" <pbbergs@no_spammsn.com> wrote in message
news:(E-Mail Removed)...
> You are using cached credentials when you log on via Wi-Fi. The wireless
> connection isn't processed until after you are logged into your local
> machine. Thereby you have to run the script manually to get it to work.
>
> --
> Paul Bergson
> MVP - Directory Services
> MCTS, MCT, MCSE, MCSA, Security+, BS CSci
> 2008, 2003, 2000 (Early Achiever), NT4
>
> http://www.pbbergs.com
>
> Please no e-mails, any questions should be posted in the NewsGroup This
> posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Alister" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>>
>> I have an issue with a couple of Vista laptops not running a Group Policy
>> logon script when they are connected by WiFi.
>> If these same machines are connected to the domain by physical ethernet
>> there is no problem.
>>
>> Some background:
>>
>> Mixed 2000 / 2003 AD domain with four DCs, one of which does all the DHCP
>> and DNS for the domain.
>> Clients are a mixture of 2000 / XP Pro / Vista Business desktops and
>> laptops.
>>
>> WiFi is provided by three Cisco wireless access points, ALL DHCP is
>> handled by the DC, not the WAP's.
>>
>> The logon script is a simple batch file to map network drives and is
>> applied through Group Policy / User Configuration / Windows Settings /
>> Scripts (Logon/Logoff)
>> It works fine for all users except when a user logs on from one of two
>> Dell XPS laptops running Vista and connected by WiFi. If the same machine
>> is connected by ethernet then the script runs fine. The problem does not
>> occur on XP Pro laptops on WiFi.
>>
>> Has anyone come across this issue before - or can anyone suggest a
>> solution?
>>
>> Not quite sure if this a networking issue, or an AD issue, so crossposted
>> to .active directory and .networking
>>
>> Thanks
>>
>> Alister
>>

>
>



 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      06-03-2009, 01:42 PM
Alister <(E-Mail Removed)> wrote:
> Thanks Paul,
>
> Is this behaviour something that has changed with vista then?
>
> I don't have this issue logging on from XP Pro machines by wireless
> connection.]]


I don't know Vista (thankfully) but in XP, are you using the native Wireless
Zero Configuration and have you made group policy changes for it to work?

In my experience, wireless+domain=pain in the ___ . Stick with wired
wherever possible.
>
> Alister
>
> "Paul Bergson [MVP-DS]" <pbbergs@no_spammsn.com> wrote in message
> news:(E-Mail Removed)...
>> You are using cached credentials when you log on via Wi-Fi. The
>> wireless connection isn't processed until after you are logged into
>> your local machine. Thereby you have to run the script manually to
>> get it to work. --
>> Paul Bergson
>> MVP - Directory Services
>> MCTS, MCT, MCSE, MCSA, Security+, BS CSci
>> 2008, 2003, 2000 (Early Achiever), NT4
>>
>> http://www.pbbergs.com
>>
>> Please no e-mails, any questions should be posted in the NewsGroup
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights. "Alister" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hi,
>>>
>>> I have an issue with a couple of Vista laptops not running a Group
>>> Policy logon script when they are connected by WiFi.
>>> If these same machines are connected to the domain by physical
>>> ethernet there is no problem.
>>>
>>> Some background:
>>>
>>> Mixed 2000 / 2003 AD domain with four DCs, one of which does all
>>> the DHCP and DNS for the domain.
>>> Clients are a mixture of 2000 / XP Pro / Vista Business desktops and
>>> laptops.
>>>
>>> WiFi is provided by three Cisco wireless access points, ALL DHCP is
>>> handled by the DC, not the WAP's.
>>>
>>> The logon script is a simple batch file to map network drives and is
>>> applied through Group Policy / User Configuration / Windows
>>> Settings / Scripts (Logon/Logoff)
>>> It works fine for all users except when a user logs on from one of
>>> two Dell XPS laptops running Vista and connected by WiFi. If the
>>> same machine is connected by ethernet then the script runs fine.
>>> The problem does not occur on XP Pro laptops on WiFi.
>>>
>>> Has anyone come across this issue before - or can anyone suggest a
>>> solution?
>>>
>>> Not quite sure if this a networking issue, or an AD issue, so
>>> crossposted to .active directory and .networking
>>>
>>> Thanks
>>>
>>> Alister




 
Reply With Quote
 
Alister
Guest
Posts: n/a

 
      06-03-2009, 03:20 PM

"Lanwench [MVP - Exchange]"
<(E-Mail Removed) hoo.com> wrote in message
news:(E-Mail Removed)...
> I don't know Vista (thankfully) but in XP, are you using the native
> Wireless Zero Configuration and have you made group policy changes for it
> to work?
>
> In my experience, wireless+domain=pain in the ___ . Stick with wired
> wherever possible.


<grin>

I couldn't agree more. Unfortunately, some of our users require the mobility
of wireless connectivity around the site.

Yes, I always use WZC in preference to third party stuff, but as I say the
issue I am having is not reproducable on XP machines, they login and run the
scripts quite happily over a wireless connection, the only problem I have is
with these two Vista machines, and only if they are using the wireless. If
they are connected by ethernet then they login and run the scripts as
normal.

It is - as you say - a p-i-t-a.

Alister


 
Reply With Quote
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      06-03-2009, 03:58 PM
I have not seen it work on any o/s unless you configure a wmi type of
scenario to monitor the connection and trigger a script launch. It has been
to long to remeber to tell you how to do this now.


--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"Alister" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Lanwench [MVP - Exchange]"
> <(E-Mail Removed) hoo.com> wrote in
> message news:(E-Mail Removed)...
>> I don't know Vista (thankfully) but in XP, are you using the native
>> Wireless Zero Configuration and have you made group policy changes for it
>> to work?
>>
>> In my experience, wireless+domain=pain in the ___ . Stick with wired
>> wherever possible.

>
> <grin>
>
> I couldn't agree more. Unfortunately, some of our users require the
> mobility of wireless connectivity around the site.
>
> Yes, I always use WZC in preference to third party stuff, but as I say the
> issue I am having is not reproducable on XP machines, they login and run
> the scripts quite happily over a wireless connection, the only problem I
> have is with these two Vista machines, and only if they are using the
> wireless. If they are connected by ethernet then they login and run the
> scripts as normal.
>
> It is - as you say - a p-i-t-a.
>
> Alister
>



 
Reply With Quote
 
Alister
Guest
Posts: n/a

 
      06-03-2009, 05:13 PM
Paul Bergson [MVP-DS] wrote:
> I have not seen it work on any o/s unless you configure a wmi type of
> scenario to monitor the connection and trigger a script launch. It has been
> to long to remeber to tell you how to do this now.
>
>

As far as I know, using the windows native wireless Zero Configuration,
it runs as a service and therefore the wifi connection (once set up) is
established at boot without requiring a user to login. In practice this
seems to be the case as it is possible to log in as a domain user
without previously having a local copy of their profile created on a
machine. It is also possible to remotely access shares on such a machine
without a locally logged in user. I have never had to muck about (with
XP) to get it to work - it just does - same as if there was a physical
connection. The script is applied and run through Group Policy with no
further intervention on my part.

Maybe Vista (god bless it) does things differently. I just hope Windows
7 is easier to administer!

Alister
 
Reply With Quote
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      06-04-2009, 12:17 PM
I will have to review it. It sounds like it could be of assistance for our
pc support crew.

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"Alister" <(E-Mail Removed)> wrote in message
news:h06b0j$vtk$(E-Mail Removed)...
> Paul Bergson [MVP-DS] wrote:
>> I have not seen it work on any o/s unless you configure a wmi type of
>> scenario to monitor the connection and trigger a script launch. It has
>> been to long to remeber to tell you how to do this now.
>>
>>

> As far as I know, using the windows native wireless Zero Configuration, it
> runs as a service and therefore the wifi connection (once set up) is
> established at boot without requiring a user to login. In practice this
> seems to be the case as it is possible to log in as a domain user without
> previously having a local copy of their profile created on a machine. It
> is also possible to remotely access shares on such a machine without a
> locally logged in user. I have never had to muck about (with XP) to get it
> to work - it just does - same as if there was a physical connection. The
> script is applied and run through Group Policy with no further
> intervention on my part.
>
> Maybe Vista (god bless it) does things differently. I just hope Windows 7
> is easier to administer!
>
> Alister



 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      06-04-2009, 12:53 PM
Alister <(E-Mail Removed)> wrote:
> Paul Bergson [MVP-DS] wrote:
>> I have not seen it work on any o/s unless you configure a wmi type of
>> scenario to monitor the connection and trigger a script launch. It
>> has been to long to remeber to tell you how to do this now.
>>
>>

> As far as I know, using the windows native wireless Zero
> Configuration, it runs as a service and therefore the wifi connection
> (once set up) is established at boot without requiring a user to
> login. In practice this seems to be the case as it is possible to log
> in as a domain user without previously having a local copy of their
> profile created on a machine. It is also possible to remotely access
> shares on such a machine without a locally logged in user. I have
> never had to muck about (with XP) to get it to work - it just does -
> same as if there was a physical connection. The script is applied and
> run through Group Policy with no further intervention on my part.
>
> Maybe Vista (god bless it) does things differently. I just hope
> Windows 7 is easier to administer!
>
> Alister


I've done this with XP and the WZC as well - but it is not 100% reliable.
when it doesn't work, it is a real problem. One option would be to put in a
terminal server and have the laptops access it - so it doesn't matter what
they run locally!


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Are Group Permissions applied locally with Cached Credentials TexasMirty@gmail.com Windows Networking 0 04-04-2006 12:06 AM
Wireless Policy Not Being Applied Ben Wireless Networks 0 01-06-2006 03:04 PM
Cant locate wireless network policy in group policy Tom Windows Networking 0 05-11-2005 01:28 PM
Group Policy Josh Windows Networking 1 03-18-2005 02:24 AM
Group policies not applied to all 98 workstations Marcus Windows Networking 0 08-05-2003 09:17 PM



1 2 3 4 5 6 7 8 9 10 11