GPO Login Scripts - work only on second login?

Posted on 2004-11-16
Last Modified: 2010-04-19
I have 2003 server and some .vbs logon scripts to map some drives that I set up in THE-GPO > User Configuration >Windows Settings > Scripts > Logon.
On most machines the scripts run fine. But on a few others the scripts don't run right after they reboot and login.
I notice 2 things about the affected machines...
1. If I wait about 1-2 minutes after the machine has rebooted and then login the script runs and the drives map fine.
2. If I login immediately and then logout and then right back in the script runs on the second login.

I went to the GPO for my root OU and set 'Computer Configuration > "Always wait for the network at comptuer startup and logon=ENABLED" , but it doesn't seem to help.

What else can I do to get these scripts to run?
Question by:Matrix1000
    LVL 3

    Accepted Solution

    If this is limited to XP machines try disabling the Internet Connection Firewall
    Computer Configuration - Administrative Templates - Network - Network Connections - Prohibit use of Internet Connection Firewall on your DNS domain

    Look into this too - Computer Configuration - System - Scripts - Run logon scripts synchronously

    Expert Comment

    I have the same exact problem. I have tried disabling Internet Connection Firewall and enabling Run Logon Scripts Synchronously but it still isn't working. Any other suggestions?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
    Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now