Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

GPO Login Scripts - work only on second login?

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?
1 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
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?

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now