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?
It's not case-sensitive. That shouldn't make any difference. Could you post a screenshot of your files in a folder, the installation command in Intune, and the contents of the install.cmd? (It's not install.cmd.txt I hope, I helped somebody else who had that as the filename because he didn't have show extensions enabled in the Windows Explorer)
ABill1
Oct 16, 2023Iron Contributor
- 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?
- 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
- 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 😄