Link to home
Start Free TrialLog in
Avatar of nyholmg
nyholmg

asked on

order of login script & startup folder

Dear Experts,
Does anyone know something about the execution order of an AD login script and shortcuts/programs in the startup folder?
We have a login script, which does a 'net use * /D /Y' in order to remove any existing drive mappings. It then does some drive mappings for the user's home dir etc. etc..
In addition to this, I wanted one particular computer to do a drive mapping of its own. I thought it was as simple as putting a batch file in the startup folder of this particular user's profile on this particular machine. However, as the user logs in, the startup-script apparently executes before the login script, resulting in the login script deleting the newly made drive mapping.

Any suggestions on doing this in a more beautiful way than adding a sleep-command in the startup script?

Also, any info on the execution order of startup vs login script would be highly appreciated.

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of tricep
tricep

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial