Re: Win 7 prnport.vbs Error
I get as a message for prnport.vbs unfortunately: the connection can not be created, Access Denied 0x80041003 prnmngr.vbs at it then states printer could not be added, error 0x80041003, the parameter is invalid. Below is the link which provides more detail on the paramater of the command line. May be due to some invalid parameter you are getting the issue.
Prnport.vbs
Re: Win 7 prnport.vbs Error
You can get a bit more information on using prnport in the below link. The link shows up information on the complete syntax and options to use the same. So I will recommend you to checkout the same once. Also there are some samples available on the web through which you can build up the script properly and get a appropriate output from the same. Just download them and build your script around the same.
Prnport.vbs
Re: Win 7 prnport.vbs Error
Try to first check whether spooler service is working fine or not. Try to stop it and run once again. This will surely resolve the issue. I got a similar issue on a test script. It was not working fine, but when I restarted the spooler service it worked and there is no issue with the same. Working on a ready to use script is more better because there you don't require to build up everything. You just have to modify and run the same.