We place computer objects (in AD) into groups to install printers onto machines. When we place the computer object in a group, a script runs (at startup), checks to see what groups that computer object is in, and then installs the printer accordingly. The problem is, when we remove a computer from one of those groups, it does not remove the printer.

WHat I need to do is, if they are not part of that group anymore, remove the printer. Anyone know how to do this?

Brian

PS - I know how to remove a printer, I just do not know how to compare if they are not part of that group anymore.