Gentleman (and ladies?)
i wrote the following script to enum the print drivers:
its a great script to enum the printerdrivers on a remote machine, but now i want to modify this script to use this for a local computer, but that doesn’t work.
i only replaced the \server for a . (dot)
the following error is what i got:
the parameter is incorrect.
when i replaced the \server for \computername is the following error i got:
The environment specified is invalid.
even when i used the FQDN
thnx for the support!
anyone got a clue what or why this happens here?
edit: im using the prnadmin.dll from the windows 2000 resource kit (xp client)
You must be logged in to reply to this topic.
Create a free account today to participate in forum conversations, comment on posts and more.