Scripts will not run in windows 10
Hello,
.
I created a script to remove and install a network printer. It runs on local PC but not in script. I see it places the VBS in \kbots_cache\packages\kbots folder but will not run.
We are running both windows 10 X64 & x86
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
SMal.tmcc
5 years ago
Posted by:
scdavissmith
5 years ago
Hi Kdebiasse,
Here is the script that has worked for me for network printers.
----------------------------------
rundll32 printui.dll,PrintUIEntry /ga /n\\<printserver>\<printqueuename> /q
net stop spooler
net start spooler
----------------------------------
set <printserver> to your print server name and <printqueuename> to your print queue name.
Good luck!
Comments: