Author: arkiboys | Posted on: 9/25/2008 1:02:46 AM | Views : 1006

Hi,
I am using WMI to get a list of prinetrs on a remote machine i.e. remoteMachineName
This works fine if I try to access the machines which are 32 bit systems BUT not the 64 bit systems.
For the 64 systems I get Access denied even though I have admin rights on all the machines.
Please note that using WMI, I can access the list of printers ono the machines which have 32 bit operating systems but not the 64 bit machines.

Questions:
1)
I believe the only way to get to the list of printers on a REMOTE machine is to use WMI and NOT the System.Drawing.Printing;
Do you agree?

2)
This is the code I am using, do you see anything wrong with it?
The error I get on accessing the 64 bit machines is: Access denied.
The error occurs on oResults.Get()

 //list of remote printers...
string strWapiServer = remoteMachineName;
Go to the complete details ...