I have users that work at two different sites (on the same LAN), who all have roaming profiles. I use group policy (2003 Domain) to deploy the printers at each site to the computers (XP) according to their location. A logon script (vbs) then sets the default printer to be the one closest to the computer the user has logged on to.
I have set the script to list the installed printers as one of the first tasks and then set the default. This sometime fails, with the list of printers being empty – though all the printers are there, if you look in Printers and Faxes after the script has run. If the script is then run again manually, it works as intended.
Is there a way to ensure that the user’s printer list has been populated before the script tries to set the default? Does anyone know what process copies the per machine settings to the user?