kenny782

New Member
Joined
Feb 19, 2009
Messages
16
Strange Delay Before Executing Logon Script

Okay i just finished wiping out my machine and loading the retail version of Win7.
I've been running 7100 on this machine since it came out.
This exe has been my logon script on 7100 for 5 months and has worked perfectly.
Windows is set to run logon scripts synchronously.

I have it configured as my logon and logoff script using different parameters (/Mount & /Dismount).

When logging on windows sits on the "Welcome" screen with the spinning cursor for 12+ seconds.
Then finally it executes the exe.

When logging off the script runs instantly.

If I manually execute the program with the logon parameter the script runs instantly.

Any ideas?

Thanks,

Kenny
 


Last edited:
Solution
It seems like you're encountering a delay issue with your logon script after upgrading to the retail version of Windows 7. The delay specifically occurs during the logon process and not during logoff. Here are a few troubleshooting steps you can try to address this delay:

Troubleshooting Steps:​

  1. Check Group Policy Settings:
    • Verify the Group Policy settings related to logon scripts. Ensure that there are no conflicts or delays specified in the policies that might be causing the delay.
    []Review Logon Script Code:
    • Double-check your logon script code for any commands that might be causing a delay. Ensure that the script is optimized and doesn't have any unnecessary commands that could slow down...
It seems like you're encountering a delay issue with your logon script after upgrading to the retail version of Windows 7. The delay specifically occurs during the logon process and not during logoff. Here are a few troubleshooting steps you can try to address this delay:

Troubleshooting Steps:​

  1. Check Group Policy Settings:
    • Verify the Group Policy settings related to logon scripts. Ensure that there are no conflicts or delays specified in the policies that might be causing the delay.
    []Review Logon Script Code:
    • Double-check your logon script code for any commands that might be causing a delay. Ensure that the script is optimized and doesn't have any unnecessary commands that could slow down the process.
    [
    ]Diagnostic Tools:
    • Use tools like Process Monitor to analyze the logon process. This can help identify any specific delays or issues that occur when the script is executed during logon.
    []Event Viewer:
    • Check the Event Viewer logs for any errors or warnings related to the logon script execution. This might provide additional insights into what's causing the delay.
    [
    ]Startup Programs:
    • Review the list of startup programs that run when you log in. Disable any unnecessary startup programs that might be conflicting with the logon script.
    []Antivirus or Security Software:
    • Temporarily disable any antivirus or security software to see if they are causing the delay. Sometimes, security software can interfere with script execution.
    [
    ]System Resources:
    • Ensure that your system resources are sufficient and not being heavily utilized during the logon process. Check for any resource-intensive applications running in the background.
  2. Update Drivers:
    • Make sure that all your drivers are up to date, especially network and storage drivers, as they can impact the logon process.

      Additional Tips:​

      • If the issue persists, try creating a new, simpler logon script to see if the delay is script-related.
      • Consider using alternative methods for executing the script, such as Task Scheduler or Group Policy Preferences.
      By following these steps, you should be able to troubleshoot and resolve the delay issue with your logon script in Windows 7. Let me know if you need further assistance!
 


Solution
Back
Top