bsharath
asked on
How can i get a script query with all the printers in the print server and get all users or group names who are in the security tab.
Hi,
How can i get a script query with all the printers in the print server and get all users or group names who are in the security tab.
So i know who has what access to the printers and remove any out dated users for whome we would have given access.
Regards
Sharath
How can i get a script query with all the printers in the print server and get all users or group names who are in the security tab.
So i know who has what access to the printers and remove any out dated users for whome we would have given access.
Regards
Sharath
If you have the option to you powershell, i might be able to help.
ASKER
Yes i can use poweshell if i get the output neat
ASKER
Any help...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No this does not help... :-(
Do you have a list of the printers? Such as in the code referenced above where you create an array of the names:
aPrinters = array(array("\\PServer1\Bo okkeeping" , "\\PServer2\Operations"), _
array("\\PServer1\Upstairs ", "\\PServer2\Upstairs"), _
array("\\PServer1\Canon", "Remove"), _
array("\\PServer1\Teller", "\\PServer2\Teller"), _
array("\\PServer1\Wires", "\\PServer2\Wires"))
aPrinters = array(array("\\PServer1\Bo
array("\\PServer1\Upstairs
array("\\PServer1\Canon", "Remove"), _
array("\\PServer1\Teller",
array("\\PServer1\Wires", "\\PServer2\Wires"))
ASKER
Yes i have a list of printers...
ASKER
Yes i have a list of printers...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Where can i find the [printer name] should it be the share name?
ASKER
Where can i find the [printer name] should it be the share name?
You can use the share name;
eg.
C:\Program Files\Windows Resource Kits\Tools>subinacl /printer "\\printserver\printer1"
eg.
C:\Program Files\Windows Resource Kits\Tools>subinacl /printer "\\printserver\printer1"
ASKER
When i give the share name it says not a recognized command...
Just in case, map the printer on the workstation first, then try running the command again.
ASKER
Out of Domain at the moment shall check and get back....
ASKER
Tryed but still the same message
Just a double check here...
You opened a command prompt and went to C:\Program Files\Windows Resource Kits\Tools
Within that folder you ran the tool using the following command;
subinacl /printer "\\printserver\printer1"
You can verify that on the print share name is correct?
Can you copy the Tools folder to the print server and running the command line from there. Once logged on to the print server you will be able to use the actual printer name if you want.
You opened a command prompt and went to C:\Program Files\Windows Resource Kits\Tools
Within that folder you ran the tool using the following command;
subinacl /printer "\\printserver\printer1"
You can verify that on the print share name is correct?
Can you copy the Tools folder to the print server and running the command line from there. Once logged on to the print server you will be able to use the actual printer name if you want.
ASKER
Thank U
Ok from within the print server i get them... But not formatted can this ne fomatted into a csv file.
Ok from within the print server i get them... But not formatted can this ne fomatted into a csv file.
ASKER
Thank U
Ok from within the print server i get them... But not formatted can this ne fomatted into a csv file.
Ok from within the print server i get them... But not formatted can this ne fomatted into a csv file.