Resources for IT Professionals > 포럼 홈 > Network Access Protection > 802.1x dynamic VLAN - user logon script is broken while client VLAN is changed
질문하기질문하기
 

답변됨802.1x dynamic VLAN - user logon script is broken while client VLAN is changed

답변

  • 2009년 7월 3일 금요일 오전 6:12Greg LindsayMSFT, 소유자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Hi Nitass,

    Sorry for the delay in answering.

    The basic principal is that you run a script locally on the client computer that loops until it the client has a network connection. The script then starts the normal network logon script.

    I believe the sequence of events is:

    1. Computer boots up.
    2. Computer GPO configures wired/wireless parameters and executes a "copy" script.
    3. The "copy" script copies a second script "run logon" to the client computer that will be run during user logon.
    4. User logs on, credentials are used for 802.1X authentication.
    5. User GPO starts the local "run logon" script running on the client computer.
    6. Local "run logon" script loops until it has access to the network share with the network "user logon" script.
    7. Network "user logon" script is run.

    -Greg

  • 2009년 7월 3일 금요일 오후 5:11Greg LindsayMSFT, 소유자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Hi Nitass,

    1. I wish I could provide a full list of the available options, but I don't have enough experience in the area. I have read about configuring the GpNetworkStartPolicyTimeoutValue registry key as another possible solution. The setting is used to increase the amount of time to wait for Group Policy if a network connection is not available. This is configured under HKLM\SOFTWARE\Policies\Microsoft\Windows\System and HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.

    I think it will require analysis of the sequence of events to determine if the registry key above will help. The settings in Computer Configuration\Administrative Templates\System\Logon also can affect this. I wish I could provide more prescriptive advice. Perhaps someone else has tried these options and can add to the thread.

    2. Yes, this would be a script added to Computer Configuration\Windows Settings\Scripts\Startup

    3. Yes, this would be a script added to User Configuration\Administrative Templates\System\Logon\Run these programs at user logon

    I hope this helps,
    -Greg
     
     
  • 2009년 8월 6일 목요일 오전 11:06nitass 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Greg,

    Sorry for the long delay in reply. I opened case with Microsoft and they said that they do not suggest. They also gave me the following URL for reference.

    http://support.microsoft.com/default.aspx/kb/935638

    However, I think your recommendation would be useful. I will try when having a chance. Thank you very much again. :-)

    Have a nice day,
    Nitass
    • 답변으로 표시됨nitass 2009년 8월 6일 목요일 오전 11:06
    •  

모든 응답

  • 2009년 6월 28일 일요일 오후 10:19Greg LindsayMSFT, 소유자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi,

    Is it possible for you to run the logon script locally on the client? This is a possible workaround to resolve problems with interruption of a remote logon script caused by interface cycling during VLAN changes.

    -Greg
  • 2009년 6월 29일 월요일 오전 4:06nitass 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Greg,

    Would you mind explaining me a bit more about how to workaround this issue? I am not sure whether it is acceptable for customer or not.

    Thanks a lot
    /Nitass
  • 2009년 7월 3일 금요일 오전 6:12Greg LindsayMSFT, 소유자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Hi Nitass,

    Sorry for the delay in answering.

    The basic principal is that you run a script locally on the client computer that loops until it the client has a network connection. The script then starts the normal network logon script.

    I believe the sequence of events is:

    1. Computer boots up.
    2. Computer GPO configures wired/wireless parameters and executes a "copy" script.
    3. The "copy" script copies a second script "run logon" to the client computer that will be run during user logon.
    4. User logs on, credentials are used for 802.1X authentication.
    5. User GPO starts the local "run logon" script running on the client computer.
    6. Local "run logon" script loops until it has access to the network share with the network "user logon" script.
    7. Network "user logon" script is run.

    -Greg

  • 2009년 7월 3일 금요일 오후 2:40nitass 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Greg,

    That is alright. I have a few further questions. Would you mind clarifying them for me?

    1. Does it mean that it is not possible to solve the logon script is broken while client VLAN is changed on XP without 3rd party supplicant or run the script locally? I have to report to customer for asking permission to run the script locally. So, it is so important that I do not miss anything.

    2. "Computer GPO configures wired/wireless parameters and executes a "copy" script." ---> Is this GPO computer startup script?

    3. "User GPO starts the local "run logon" script running on the client computer." ---> Is this GPO user logon script?

    I look forward to hearing from you.

    Many thanks
    /Nitass

  • 2009년 7월 3일 금요일 오후 5:11Greg LindsayMSFT, 소유자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Hi Nitass,

    1. I wish I could provide a full list of the available options, but I don't have enough experience in the area. I have read about configuring the GpNetworkStartPolicyTimeoutValue registry key as another possible solution. The setting is used to increase the amount of time to wait for Group Policy if a network connection is not available. This is configured under HKLM\SOFTWARE\Policies\Microsoft\Windows\System and HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.

    I think it will require analysis of the sequence of events to determine if the registry key above will help. The settings in Computer Configuration\Administrative Templates\System\Logon also can affect this. I wish I could provide more prescriptive advice. Perhaps someone else has tried these options and can add to the thread.

    2. Yes, this would be a script added to Computer Configuration\Windows Settings\Scripts\Startup

    3. Yes, this would be a script added to User Configuration\Administrative Templates\System\Logon\Run these programs at user logon

    I hope this helps,
    -Greg
     
     
  • 2009년 7월 4일 토요일 오전 3:04nitass 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Greg,

    Thanks a lot for your help. :-)

    I had already raised the GpNetworkStartPolicyTimeoutValue to 60 seconds and also enabled Always wait for network at computer startup and logon in GPO but it seemed not to help. So, I posted here and hope someone could advise me.

    I will discuss with the customer about run the script locally. If you have any suggestion, please let me know. I am so appreciated to your help.

    Many thanks
    /Nitass
  • 2009년 7월 10일 금요일 오후 11:03nitass 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Greg and everybody,

    Would you mind explaining me about GpNetworkStartPolicyTimeoutValue? How does it work? I have read MS KB but I could not catch it. For example, does this key affect either computer GPO or user GPO? or both?

    Many thanks
    /Nitass
  • 2009년 8월 6일 목요일 오전 11:06nitass 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Greg,

    Sorry for the long delay in reply. I opened case with Microsoft and they said that they do not suggest. They also gave me the following URL for reference.

    http://support.microsoft.com/default.aspx/kb/935638

    However, I think your recommendation would be useful. I will try when having a chance. Thank you very much again. :-)

    Have a nice day,
    Nitass
    • 답변으로 표시됨nitass 2009년 8월 6일 목요일 오전 11:06
    •