Problem with User Logon script

G

Guest

Hi Guys,

i have a question about User Logon script in windows 2003 AD environment ...

I have create a a logon script and copy it on my DC server , create a GPO
that link this with unc path (\\myserver1\....)
and the question is :

- It''s possible set a "wait" in GPO before a logon_script was executed ?
Exapmpel 20 sec ?

This beacuse "for my custom autentication process" the server to unc path
(\\myserver1\...) is not immediately avaiable !

Thanks in advance.
bye.
 
C

Coalbiter

I don't know how to do this in GPO, but maybe this clumsy workaround
using timeout.exe would work?

Have a batch file in the NETLOGON share which has the lines

timeout x

call \\path\logon_script.bat


In other words, as GPO knows where NETLOGON is, it can call the batch
file, wait for x seconds, and then call your real logon_script.

HTH
 
K

Kurt

You can set scripts to execute in sequence, and you can include a wait in a
script or as a script all by itself. Look at ping. something like:
ping -n 20 -w 1000 127.0.0.1 >NULL

which actually creates a file named "NULL", but you can redirect to nowhere
to prevent output to the screen.

....kurt
 

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