NicklasAhlberg / RockMyPrinters

17 stars 1 forks source link

Possibility for a user install instead of a system install? #9

Open ascheel210 opened 2 weeks ago

ascheel210 commented 2 weeks ago

Hi. We want to use this application to import our various printers in the school district to Intune for shared lab devices. All of our printers are print queues, making them all user based. Is there a way to use Rock My Printers to do user installs instead of system installs?

NicklasAhlberg commented 2 weeks ago

Hi, Rock my Printers will install the printer in user context. This is done by a function within Powershell App Deployment Toolkit called "Execute-ProcessAsUser". You can read more about it here: https://psappdeploytoolkit.com/docs/reference/functions/Execute-ProcessAsUser/

ascheel210 commented 2 weeks ago

What we want to do is Intune shared devices and during the OOBE also add the printer, or if needed have it install when the user logs in for the first time. Is that possible? I just logged in as user A and installed a printer that I added to Intune. I then logged out and logged in as user B and that printer was not there.

NicklasAhlberg commented 2 weeks ago

That makes sense. I have received the same feedback before. Shared devices is currently not supported - what would be a good solution to do achieve this?

One solution would be to create a scheduled task to catch any new users to install the printer. Let me know what you think.

ascheel210 commented 2 weeks ago

Would making the app an user installed app instead of a system based install mess with anything? From a user of Rock My Printers standard point maybe just a switch or something in the config file to say which would be wanted.

A scheduled task would also probably work as well. I'm guessing it would just execute the script.ps1 that's in C:\users\UserName\RockMyPrinter. That could run into an issue of if you have more than 1 printer then the 2nd would overwrite the script for the 1st, so maybe naming the script to the name of the app/printer would be a good idea.

Ideally, we would be able to install the printer during OOBE and never have to worry about it again. A scheduled task would also be good as well, since that would mimic what currently happens with our domain computes and adding printers via GPO.

ekpat commented 5 days ago

Hello @NicklasAhlberg, I'm also looking for a solution to install printers on shared devices.

A scheduled task may be a good solution. You may want to look into this script that connects the printer at logon or network change.