Open SAlex007 opened 4 years ago
@SAlex007 Im seeing the same error, did you ever get this one solved?
Did you assign the Read Only Analyst role to the user you created for the Admin Service?
I did indeed.
What happens when you take the. Invoke-CMApplyDriverPackage.ps1 and manually run commands in debugging mode?
The commands you need are at the bottom. You can test this from any machine.
https://msendpointmgr.com/modern-driver-management/
The ApplyDriverPackage.log will be in the "c:\windows\Temp" folder.
When I run the debug command nothing happens. I checked c:\Windows\temp and I don't see a driver package.
It's in your screenshot. Open the ApplyDriverPackage.log in the temp folder.
Wow. I completely overlooked that. Here's the log. ApplyDriverPackage.log
This really looks like account permissions. Can you verify the AD user you created has the correct roles etc in ConfigMGR?
I used my domain admin account and my new service account. Both are SCCM admins.
What are the switches you are using in the task sequence? Be sure to coverup your password and server name when you provide them.
That looks good. Do you have two sites or something? I noticed that your packages refer to two different site codes. Have you setup permissions for both sites?
I only have 1 site, We got a new server a year or two ago. When I set it up I did a site migration from the old site to the new one. P01 is the current site. All of the packages that I migrated came over with the original site code.
Ok, that makes sense. Are all of these packages were created with the new driver autmation tool 6.4.9? You are on what version of ConfigMgr?
The DAT tool says version 6.4.9
Configmanager is on version 2006
I checked to make sure The SMS_REST_Provider service is running and I am able to browse to the url in chrome.
Can you browse to these without issues? If you can browse to the second link, perform a manual search for one of the devices failing in your applydriverpackage.log file.
https://server.fqdn/AdminService/wmi/ https://server.fqdn/AdminService/wmi/SMS_Package?$filter=contains(Name,%27Drivers%27)
Yes, I can get to both URL's and when I do a page find for "Optiplex 7010" I am able to locate several references and packages. I would send a screencap, but, my server name appears a lot on this page.
Here is a small slice
Nah. You don't have to send a screenshot. I believe you. I had this exact same problem though. It ended up being I assigned the wrong role to the user. I had a read-only Analyst and a read-only Reporting analyst role I manually setup. I incorrectly assigned the one I manually created lol.
Here is the package referenced above. IT is distributed to all my DP's. I browsed to the source folder as well to make sure the drivers were present and they are.
I am honestly out of ideas. Maybe someone smarter could join in lol.
Thanks for the help, at least I'm not the only one stumped.
I know this sounds stupid, but could you assign the Read-Only Analyst role to your MDMUser? Then, just run that .\invoke with the debug commands.
No difference.
I think I may have fixed this. Check out this thread https://github.com/MSEndpointMgr/ModernDriverManagement/issues/35
Looks like I have an old version of the script, which is weird because I got it from https://msendpointmgr.com/modern-driver-management/
I was able to use the script in debug mode. Im going to try an OSD and see what happens.
Success. Thanks for all the help @chaosisbliss
Fantasitc! Hope you at least learned something from everything I threw at you lol.
I installed and configured Driver automation tool, it can download drivers and create sccm packages. AdminService seems to be up and running. I believe I setup the task sequence correctly too but this is what I'm getting in the log when run the TS
Really appreciate any advice
[ApplyDriverPackage]: Apply Driver Package process initiated ApplyDriverPackage 16/10/2020 3:00:15 PM 7360 (0x1CC0)