SBS login procedure: Printer attachment

On an SBS 2008 with roaming profiles I deattach/attach printers to the users dependant on their location (client used). I have a working procedure (let's call it AttachPrinters) for this (based on con2prt and VBS scripting) and integrated this procedure into the SBS login procedure (group policy).

Now sometimes it lloks like AttachPrinters does run before other system login procedures (?) which also attach printers have been finished.

How can I "snychronize" the system login procedures with AttachPrinters so it definitely runs  a f t e r  all system login procedures? Should I delay the start of AttachPrinters for n minutes after login?

Many thanks - Michael
LVL 2
sg08234Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gary ColtharpSr. Systems EngineerCommented:
Multithreading is kind of the point in newer architectures so there is rarely a "do this, then this , then this" to startup except that computer policies apply prior to login and user policies apply after login.

You did not say where you linked your script in the GP but I am not sure its relevant. If you want to make certain it is the last item executed, a delay would be your only real option.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.