Hi,

I'm dealing with a particular problem when mapping drives for users at logon.
I created a script that looks for particular AD groups and then maps drives according them. The problem is not the script itself, since it works fine "most" of the times.

The net use command shows that drives are mapped correctly, but some of them are not listed on windows explorer (My Computer). This seems a Windows issue, since killing explorer process and restarting it again lists all drives as it should. Even from Task Manager, you go to File-> New Task (Run...) and type drive letter and it opens shared resource.

Is there anything I can do, for example insert a "wait until explorer completely loads" command, as my guess is that mapping process starts before all windows processes finish loading? I noticed this at least with Windows 7 Enterprise workstations.

regards,
Salva.