I am trying to install a local IP printer through a script with K1000.  We have ran into a roadblock because the script is giving us Access is Denied problems when running from KACE.

However, when I copy the script down to the computer and run it from the same user, the script runs fine.

We have tried to change Windows Runas options to reflect something other than Local System, but when we do that the script refuses to run at all.

I am thinking that we are having problems running the command prompt in an elevated state to run correctly.  What is the correct procedure to complete this task?  I am newer to scripting and the K1000.



Also, if there is a better option to install local IP printers without the use of a print server through KACE I'd be willing to give that a shot as well. 
1 Comment   [ + ] Show Comment

Comments

  • The odd thing about all of this, is that I sent the script out to a computer logged in as administrator and it still failed. When I switch the options in kace to run as logged-in user the script hangs and doesn't complete or actually get sent from the k1000 to the computer, but if I use local system it gets sent almost instantaneously. It's very odd. I will try the Driver Installation Policy method and see what happens.
Please log in to comment

Answers

0
IP printers are a per user/profile thing so you need to run that as logged-in user
Answered 05/21/2015 by: SMal.tmcc
Red Belt

Please log in to comment
0
It appears that you can set the Driver Installation Policy to allow this:  https://social.technet.microsoft.com/Forums/windows/en-US/df21d2c2-c2d4-4107-bfe3-bf8c5a1cd946/install-printer-without-being-administrator

If that works, you should be able to then use a Kscript running as logged in user to install the IP printer.
Answered 05/25/2015 by: jknox
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity