Login | |
|
 |
RE: Detecting Shared Printers - 9/9/2008 10:32:22 AM
|
|
 |
|
| |
dm_4ever
Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
WMI requires that you have administrative rights on the remote machine you are trying to get information from. Also, getting printer information is very similar to getting mapped drives....it is very difficult and not straight forward since it is by user profile....you can get some of this info from the registry....but this too requires a level of administrative rights.
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Detecting Shared Printers - 9/10/2008 1:27:37 AM
|
|
 |
|
| |
dm_4ever
Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
In this case Win32_Printer would work since the printers are actually on the server...however you still require administrative rights to query for this. What if you used net view \\printservername and parse the information ...maybe someone else has another idea
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|