We have a printer at work that is giving us problems. We have tried a few different solutions but when a user goes to print to this printer Windows 7 will sometimes display something like:
Windows needs to download and install a software driver from the ... computer
However the PC already has the correct driver. I tried changing a few settings in our group policy according to solutions that came up when I searched this problem but so far nothing has worked. For now I think it would be best to just have Windows reinstall the printer every time the user logs in.
I want the printer to be set to the default printer only if the user already had it set to be the default printer. How can I script this in PowerShell?