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?
ABill1
Oct 16, 2023Iron Contributor
Oct 16, 2023
Seems 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?
- studiohexabitApr 18, 2024Copper Contributor
Harm_Veenstra am I the only one who noticed that port which you are using is already in use 😂😂?
- Apr 18, 2024... yes 😄
- ABill1Oct 16, 2023Iron ContributorSo I tried to run it as admin on local which failed and seems like the install.cmd was currupt some how so I recreated it and locally it worked so I will try packaging it again and trying again.
I will let you know.
Thank you!- Oct 17, 2023If you are going to package it... that app is a win32app... win32 🙂 ..
So you need to make sure you are using the sysnative path to pnputil.
###################
#Staging Drivers #
###################
C:\Windows\SysNative\pnputil.exe /add-driver "$psscriptroot\Drivers\eSf6u.inf" /install- Philn88Oct 24, 2023Copper ContributorI've got the same issue... The pnputil.exe command works fine when running manually through powershell but failed when deploy through Intune packaged as Win32.
In my environment where my Windows 10 devices do not have C:\Windows\SysNative\pnputil.exe. The folder SysNative doesn't exist at all.