Run a startup script before the user login

Run a startup script before the user login

Post by T2ZlciBCL » Fri, 07 Apr 2006 00:50:01


Hi

I try to run a system script on a commuter, before the user login.
The script change the user password.
I need that the script will run before the "Windows Authentication dialog"
appear (before the user can login)

On Win 2000 I put my script in the group policy, in Windows Settings ->
Script -> Startup
In addition I set these settings:
Run logon scripts synchronously Enable
Run startup scripts asynchronously Disable
Run startup script visible Enable

This works fine. My script is running before the "Windows Authentication
dialog" appear

The problem is in WIN XP SP2, with the same settings, the "Windows
Authentication dialog" appear before my script run.
The "Windows Authentication dialog" appear and after 10-20 sec my script is
running (The user can login before the script so his password is not change)
what can I do to make my script running before the "Windows Authentication
dialog" appear ?

Thanks
 
 
 

1. run a startup script before the user login

2. calling a user login script from a global login script


Hi there,

Hopefully someone can help me,I'm new to vbscript.

We have nearly a hundred individual .cmd files that user's are login
profiles point to. I'm trying to get then all to run a single login script.
However a few will need to have their own script run after the main login
script has executed. I thought I would use an IF exist to determine if the
user's.cmd file is in the Netlogon folder then run it.

heres' the code that does not work. No errors.

If objFSO.FileExists("%gsLogonServer\%gsEnvUser.cmd") Then
objShell.run "cmd /k %gsLogonServer\%gsEnvUser.cmd"
end if


Thanks in advance

3. How to disable user login script, when users login terminal server?

4. Startup Script or Login Script ??

5. Install client via Startup script not login script?

6. vb script called from login script exits when login script ter

7. vb script called from login script exits when login script termina

8. startup script run as user

9. run script without user logon/logonoff or computer startup/shutdown

10. a script that runs on user login

11. Citrix User login script didn't run

12. How to run script with admin when login as standand user?

13. Running python script before user login

14. set up sql server login and user by running script after resto

15. Login script doesn't run when user logs into computer in other dom