Forum Discussion
ABill1
Oct 12, 2023Iron Contributor
deploying printer via intune
Hello everyone, I'm in need of assistance with the following script I'm currently using: powershell # Replace the placeholders with your details $inf_path = ".\driver\KOBxxK__01.inf" $drive...
- Oct 16, 2023Seems ok if you copy all the files in a folder on a test machine (Or Windows Sandbox) and run install.cmd as Administrator... Does that work?
Oct 14, 2023
1. I would make sure (if you are going to package this in a win32app) that you are using sysnative..
2. add /install after the /add-driver (as shown below)
3. you don't need to specify the inf path if you already installed it.
https://call4cloud.nl/2021/07/what-about-printer-drivers/
###################
#Staging Drivers #
###################
C:\Windows\SysNative\pnputil.exe /add-driver "$psscriptroot\Drivers\eSf6u.inf" /install
#######################
#Installing Drivers #
#######################
Add-PrinterDriver -Name $drivername