What I think I wanted to boil it down to actually is see if I can have the script check for Windows updates on logging into Windows, and also check to see if the script could also remove network printers. Printers that aren't actually on the network that aren't used anymore. I appreciate all the replies back, I've been so busy trying to read it all and go through all the UDFs and what not.