Change print server script windows 7




















This can be configured by using the new Security tab on the properties sheet for a print server. Any changes made to these default security settings will then be inherited automatically by any new printers added to the print server. Changes to these default security settings do not modify the permissions for any existing printers on the print server.

I need to do this on all the others, but hopefully not by having to manually visit each machine. I can change the driver selection using the following printui syntax:. And this seems to work. But, the problem is that once I've run this command, the very next time I right-click on the printer and select "Printer Properties" I am prompted to re-install the printer driver using the wizard.

Is there a better way or a way around this? There is a behavour that you need care when using cli to install And if you need to uninstall you will need to remove the two printers before going to the second command to uninstall the driver.

I used two drivers that were part of the XP OS itself. This is what I used -. Maybe you may want to check it out again. Probably Win7 has some extra stuff which PrintUI is not doing right? However, one word of caution. When you switch the drivers on the queue in this way, you lose the settings of the old queue.

If this is ok, then going this path would be fine. If anyone is aware of the code to add a network printer via script I would be greatly appreciative. Was this reply helpful? Yes No. Sorry this didn't help. Thanks for your feedback. Will this work universally for other employees though if i were to share it or is the printer server ip address only going to work for myself?

I probably entered something in wrong because I removed the device from my printers to see if it would install itself but it didn't. Thanks again. Hello everyone, At my last job I was privy to a script that allowed a user to click it which installed the network printer we were all using. Get-Date ,. Name ,. Gets new list of printers that are pointed to newserver. Message ,. Main Code-Block. If we get back any mapped printer call ChangePrinter and do it. Leave a Reply Cancel reply Your email address will not be published.



0コメント

  • 1000 / 1000