pausing windows logon until script is done

Homerboy

Lifer
Mar 1, 2000
30,890
5,001
126
I have a couple of small .vbs scripts that run via GPO on user logins (based on groups etc)
The problem I'm having is that the script takes longer to load than the users are used to and patient for... They are clicking on links that require network connections/shares/resources that haven't been established yet because the script has yet to complete.

Is there someway to not show their desktop or "lock them out" until the script completes and the mapping and GPO policies are set?
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
If it makes you feel any better, I know it CAN be done. We use a third-party login script manager called "DesktopAuthority" that does exactly that. It runs login scripts and the desktop does not load until after the script finishes (you can also choose to have parts of the script run "asynchronously" which means it will not wait on that part to finish to load the desktop).

How it does that, though, I have absolutely no idea.
 

Homerboy

Lifer
Mar 1, 2000
30,890
5,001
126
heh well that kind of helps. I actually looked at DA a bit... pricey, and maybe something for down the line.
Bump for the morning folk.
 

Homerboy

Lifer
Mar 1, 2000
30,890
5,001
126
Brazen, hopefully you're still around :)
I'm toying with Desktop Authority right now, but I dont see any option in there to delay access to the desktop until the script has run... if you have any feedback let me know. Thanks.
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
mmm, tiny corner of brain from long ago...so dark...

Synchronous logon scripts? This still available in policies?


Thar it is! Look here:

Computer (or user) Configuration\Administrative Templates\System\Scripts

Check "Run logon scripts synchronously" and some other goodies.
 

Homerboy

Lifer
Mar 1, 2000
30,890
5,001
126
Originally posted by: Smilin
mmm, tiny corner of brain from long ago...so dark...

Synchronous logon scripts? This still available in policies?


Thar it is! Look here:

Computer (or user) Configuration\Administrative Templates\System\Scripts

Check "Run logon scripts synchronously" and some other goodies.

STELLAR! Works perfectly.
Thanks