Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website.
We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience. Necessary Necessary. Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website.
These cookies do not store any personal information. Non-necessary Non-necessary. Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. To do this we can install the printer on a computer and then go into Printer properties and the Advanced tab to locate the name of the driver.
We then just need to find the. Here, we will use the hpcuc. Download and open the example. You can use UNC paths or mapped network drives, too e. Finally, the third line uses rundll32 and printui. Finally, rename the example. I always suggest testing on a non-production machine, if possible.
Your batch file can have as many printers as you want in it. My typical batch files have anywhere from four to 24 printers. Additional automations can include copying the driver folder in the script by using xcopy or robocopy. This also can be used with app deployment suites like SCCM or Zenworks to push printer installations in corporate environments. Maybe there is a solution with the Task Scheduler? That should run whatever replaces powerShellScript.
Another option is to launch the script once using a service as soon as it's started, but I don't have experience with that. This might not work depending on how the file is launched. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Run batch file when startup on Windows Server Ask Question.
Asked 10 years, 2 months ago. Active 8 years, 1 month ago. Viewed 5k times. Improve this question.
0コメント