startup script problem

P

Paolo Francese

I have set a startup script using group policy, the script install the
antivirus from a share.
On a portable PC with windows XP all works fine when the network cable is
plugged, but when I boot it with the network cable unplugged it's stuck for
90 seconds saying "Running startup script...".
The others PCs in the domain do not have this problem.

I've tried to debug the problem enabling the "Run startup scripts visible"
policy.
When the network cable is plugged the script window appers.
When the network cable is unplugged the script window does not appear.

Anyone have any idea?

Thanks in advance.
 
P

Pegasus \(MVP\)

Paolo Francese said:
I have set a startup script using group policy, the script install the
antivirus from a share.
On a portable PC with windows XP all works fine when the network cable is
plugged, but when I boot it with the network cable unplugged it's stuck
for
90 seconds saying "Running startup script...".
The others PCs in the domain do not have this problem.

I've tried to debug the problem enabling the "Run startup scripts visible"
policy.
When the network cable is plugged the script window appers.
When the network cable is unplugged the script window does not appear.

Anyone have any idea?

Thanks in advance.

Add a few statements of the following form to your script so that you can
track its execution after the event.
@echo off
echo %date% %time% Label1 >> c:\test.log
{Your first script line goes here}
echo %date% %time% Label2 >> c:\test.log
{More of your script lines}
echo %date% %time% Label3 >> c:\test.log
{More of your script lines}
echo %date% %time% Label4 >> c:\test.log
{More of your script lines}
echo %date% %time% Label5 >> c:\test.log
{More of your script lines}
echo %date% %time% Label6 >> c:\test.log
{More of your script lines}

When you examine c:\test.log then you can see immedately where your script
gets stuck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top