My code for Enumerating and Installing Remote Printers is part of a service which runs in the Local SYSTEM Account.
SYSTEM Account does not have sufficient rights to access Network Resources as a result remote printers are not enumerated.
I tried impersonating the Guest Account and was able to enumerate the Remote Printers but when i tried to install the printer AddPrinterConnection failed with errorcode = 2. (The Specified File not found).
How do i resolve this issue ? Is there any other approach other than impersonation ?