Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DriverAutomationTool.ps1 #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmcwatty
Copy link

@jmcwatty jmcwatty commented Jan 7, 2021

#162
#160
#145
#138
#122

Fixed issue where Dell models with more than one version of of the cab file would cause the download to fail. This was due to the path for all of the cab files for that model and OS being added to the download path.

Example:
ConfigMgr: Downloading from URL: https://downloads.dell.com/FOLDER06414474M/1/3550-win10-A02-08G4V.CAB FOLDER06607260M/1/3550-win10-A03-DJGM7.CAB

Fixed issue where Dell models with more than one version of of the cab file would cause the download to fail.  This was due to the path for all of the cab files for that model and OS being added to the download path.

Example:
ConfigMgr: Downloading from URL: https://downloads.dell.com/FOLDER06414474M/1/3550-win10-A02-08G4V.CAB FOLDER06607260M/1/3550-win10-A03-DJGM7.CAB
@DewayneHyatt
Copy link

DewayneHyatt commented Jan 8, 2021

@jmcwatty I am still having the same issue with this version. Attempted to download Latitude 5511 drivers:

======== Dell ConfigMgr Latitude 5511 DRIVER PROCESSING STARTED ======== 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: Latest driver revision found - A02 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: Checking ConfigMgr for driver packages matching - Drivers - Dell Latitude 5511 - Windows 10 x64 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: New driver package detected - Processing 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: Creating Latitude 5511 download folder 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: Downloading 5511-win10-A02-TKP8D.CAB 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: Downloading from URL: https://downloads.dell.com/FOLDER06520426M/1/5511-win10-A01-275V1.CAB FOLDER06605773M/1/5511-win10-A02-TKP8D.CAB 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: Reported file byte size size: 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: Downloaded file byte size: 0 1/1/1601 12:00:00 AM 0 (0x0000)
ConfigMgr: 5511-win10-A02-TKP8D.CAB file download failed 1/1/1601 12:00:00 AM 0 (0x0000)
======== Dell ConfigMgr Latitude 5511 DRIVER PROCESSING FINISHED ======== 1/1/1601 12:00:00 AM 0 (0x0000)

@jmcwatty
Copy link
Author

jmcwatty commented Jan 8, 2021

@DewayneHyatt I just ran it with that model and it worked correctly. Did you run it using the DriverAutomationTool.ps1 file that I committed? If you are running any other ps1 file or .exe then it will still have the same issue.

======== Dell ConfigMgr Latitude 5511 DRIVER PROCESSING STARTED ========
ConfigMgr: Latest driver revision found - A02
ConfigMgr: Checking ConfigMgr for driver packages matching - Drivers - Dell Latitude 5511 - Windows 10 x64
ConfigMgr: New driver package detected - Processing
ConfigMgr: Creating Latitude 5511 download folder
ConfigMgr: Creating C:\Users\xxxxxxxxx\Downloads\Dell\Latitude 5511\Driver Cab folder
ConfigMgr: Downloading 5511-win10-A02-TKP8D.CAB
ConfigMgr: Downloading from URL: https://downloads.dell.com/FOLDER06605773M/1/5511-win10-A02-TKP8D.CAB
BitsTransfer: Checking BITS background job
BitsTransfer: Downloaded 33.5 MB of 1538.78 MB (2%). Next update in 30 seconds.
BitsTransfer: Downloaded 199 MB of 1538.78 MB (13%). Next update in 30 seconds.
BitsTransfer: Downloaded 316.5 MB of 1538.78 MB (21%). Next update in 30 seconds.
BitsTransfer: Downloaded 428 MB of 1538.78 MB (28%). Next update in 30 seconds.
BitsTransfer: Downloaded 578 MB of 1538.78 MB (38%). Next update in 30 seconds.
BitsTransfer: Downloaded 740.75 MB of 1538.78 MB (48%). Next update in 30 seconds.
BitsTransfer: Downloaded 879 MB of 1538.78 MB (57%). Next update in 30 seconds.
BitsTransfer: Downloaded 1017.75 MB of 1538.78 MB (66%). Next update in 30 seconds.
BitsTransfer: Downloaded 1139.25 MB of 1538.78 MB (74%). Next update in 30 seconds.
BitsTransfer: Downloaded 1307.75 MB of 1538.78 MB (85%). Next update in 30 seconds.
BitsTransfer: Downloaded 1473.5 MB of 1538.78 MB (96%). Next update in 30 seconds.
ConfigMgr: Reported file byte size size: 1613529898
ConfigMgr: Downloaded file byte size: 1613529898
ConfigMgr: 5511-win10-A02-TKP8D.CAB - File exists processing driver package
ConfigMgr: 5511-win10-A02-TKP8D.CAB - File size verified

@DewayneHyatt
Copy link

My apologies, I was still using the exe shortcut out of habit. I ran the updated .ps1 directly and was able to pull down the 5511 drivers. Thanks for your work on this!

@jmcwatty
Copy link
Author

jmcwatty commented Jan 8, 2021

No worries! Glad it worked for you!!

@strict68
Copy link

@jmcwatty I have yet to try this patch however I think the issue with Dell goes deeper. It would seem the latest driver packs are not downloading via the tool (5400 is downloading A03 when A08 the latest). It seems Dell has changed their downloads page to redirect to their support page, and I suspect this change is causing issues for this tool. Please confirm. Both http://downloads.dell.com and http://dl.dell.com now redirect to https://www.dell.com/support/home/en-us

@strict68
Copy link

strict68 commented Jan 15, 2021

@maurice-daly @jmcwatty Any comment regarding the URL redirect Dell recently implemented? Both http://downloads.dell.com and http://dl.dell.com now redirect to https://www.dell.com/support/home/en-us. I am wondering if this recent change is causing some of the recent Issues regarding Dell driver downloads?

https://www.dell.com/support/kbdoc/en-us/000123981/downloads-dell-com-web-html-pages-retiring

@jmcwatty
Copy link
Author

@strict68 I would give the DriverAutomationTool.ps1 that I updated a try. It resolved all of the issues that I was having with downloading Dell drivers.

@maurice-daly
Copy link
Owner

For now if you use the 6.5.0 beta build it should help with several issues including Lenovo downloads also. I’ll have a production 6.5.1 build out later next week.

@jmcwatty
Copy link
Author

@maurice-daly I was having the issue with version 6.4.9 and the 6.5.0 Beta client.

@maurice-daly
Copy link
Owner

Could you please let me know what models you are having issues with?

@jmcwatty
Copy link
Author

@maurice-daly The Dell Precision 3550 and the 3551 are the ones that I have done all of my testing with.

@DewayneHyatt
Copy link

DewayneHyatt commented Jan 19, 2021 via email

@EvilGrinUK
Copy link

I have ran into this problem with the 9410 as well.

======== Dell ConfigMgr Latitude 9410 DRIVER PROCESSING STARTED ========	DriverAutomationTool	22/01/2021 13:53:37	18936 (0x49F8)
ConfigMgr: Latest driver revision found - A03	DriverAutomationTool	22/01/2021 13:53:37	18936 (0x49F8)
ConfigMgr: New driver package detected - Processing	DriverAutomationTool	22/01/2021 13:53:37	18936 (0x49F8)
ConfigMgr: Creating Latitude 9410 download folder	DriverAutomationTool	22/01/2021 13:53:37	18936 (0x49F8)
ConfigMgr: Creating \\uk\dfs\SCCMDeployments\Drivers\DAT Downloads\Dell\Latitude 9410\Driver Cab folder 	DriverAutomationTool	22/01/2021 13:53:37	18936 (0x49F8)
ConfigMgr: Downloading 9410-win10-A03-1T6JR.CAB	DriverAutomationTool	22/01/2021 13:53:37	18936 (0x49F8)
ConfigMgr: Downloading from URL: https://downloads.dell.com/FOLDER06413109M/1/9410-win10-A02-GY6DX.CAB FOLDER06743313M/1/9410-win10-A03-1T6JR.CAB	DriverAutomationTool	22/01/2021 13:53:37	18936 (0x49F8)
ConfigMgr: Reported file byte size size: 	DriverAutomationTool	22/01/2021 13:53:45	18936 (0x49F8)
ConfigMgr: Downloaded file byte size:  0	DriverAutomationTool	22/01/2021 13:53:45	18936 (0x49F8)
ConfigMgr: 9410-win10-A03-1T6JR.CAB file download failed	DriverAutomationTool	22/01/2021 13:53:45	18936 (0x49F8)
======== Dell ConfigMgr Latitude 9410 DRIVER PROCESSING FINISHED ========	DriverAutomationTool	22/01/2021 13:53:45	18936 (0x49F8)

Using the PS script from this pull request resolves the download error.


======== Dell ConfigMgr Latitude 9410 DRIVER PROCESSING STARTED ========	DriverAutomationTool	22/01/2021 14:05:31	21952 (0x55C0)
ConfigMgr: Latest driver revision found - A03	DriverAutomationTool	22/01/2021 14:05:31	21952 (0x55C0)
ConfigMgr: New driver package detected - Processing	DriverAutomationTool	22/01/2021 14:05:31	21952 (0x55C0)
ConfigMgr: Creating Latitude 9410 download folder	DriverAutomationTool	22/01/2021 14:05:31	21952 (0x55C0)
ConfigMgr: Creating \\uk\dfs\SCCMDeployments\Drivers\DAT Downloads\Dell\Latitude 9410\Driver Cab folder 	DriverAutomationTool	22/01/2021 14:05:31	21952 (0x55C0)
ConfigMgr: Downloading 9410-win10-A03-1T6JR.CAB	DriverAutomationTool	22/01/2021 14:05:31	21952 (0x55C0)
ConfigMgr: Downloading from URL: https://downloads.dell.com/FOLDER06743313M/1/9410-win10-A03-1T6JR.CAB	DriverAutomationTool	22/01/2021 14:05:31	21952 (0x55C0)
BitsTransfer: Checking BITS background job	DriverAutomationTool	22/01/2021 14:05:37	21952 (0x55C0)
BitsTransfer: Downloaded 175 MB of 1088.73 MB (16%). Next update in 30 seconds.	DriverAutomationTool	22/01/2021 14:05:37	21952 (0x55C0)
ConfigMgr: Reported file byte size size: 1141615460	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: Downloaded file byte size:  1141615460	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: 9410-win10-A03-1T6JR.CAB - File exists processing driver package	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: 9410-win10-A03-1T6JR.CAB - File size verified	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
==================== ConfigMgr DRIVER EXTRACT ====================	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: Expanding driver CAB source file: 9410-win10-A03-1T6JR.CAB	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: Driver CAB destination directory: \\uk\dfs\SCCMDeployments\Drivers\DAT Downloads\Dell\Latitude 9410\Windows10-A03	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: Extracting Dell drivers to \\uk\dfs\SCCMDeployments\Drivers\DAT Downloads\Dell\Latitude 9410\Windows10-A03	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: Waiting for extract process to complete..  Next check in 30 seconds	DriverAutomationTool	22/01/2021 14:06:07	21952 (0x55C0)
ConfigMgr: Waiting for extract process to complete..  Next check in 30 seconds	DriverAutomationTool	22/01/2021 14:06:37	21952 (0x55C0)
ConfigMgr: Checking for extracted drivers	DriverAutomationTool	22/01/2021 14:07:07	21952 (0x55C0)
ConfigMgr: Import into is ConfigMgr - Driver Pkg	DriverAutomationTool	22/01/2021 14:07:07	21952 (0x55C0)
ConfigMgr: Driver count in path \\uk\dfs\SCCMDeployments\Drivers\DAT Downloads\Dell\Latitude 9410\Windows10-A03 - 161 	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
==================== ConfigMgr DRIVER IMPORT ====================	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
ConfigMgr: Creating driver package Dell Latitude 9410 - Windows 10 x64	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
ConfigMgr: Searching for driver INF files in \\uk\dfs\SCCMDeployments\Drivers\DAT Downloads\Dell\Latitude 9410\Windows10-A03	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
ConfigMgr: Source directory \\uk\dfs\SCCMDeployments\Drivers\DAT Downloads\Dell\Latitude 9410\Windows10-A03	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
ConfigMgr: Destination directory \\uk\dfs\SCCMDeployments\Drivers\DAT Packages\Dell\Latitude 9410-Windows10-x64-A03\DriverPkg\	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
ConfigMgr: Creating Package for Dell Latitude 9410 (Version A03)	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
ConfigMgr: Creating category Dell-Latitude 9410-Windows 10-A03	DriverAutomationTool	22/01/2021 14:07:08	21952 (0x55C0)
ConfigMgr: Creating driver package for Dell Latitude 9410 (Version A03)	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
ConfigMgr: Driver package name is Dell Latitude 9410 - Windows 10 x64	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
ConfigMgr: Path to drivers is \\uk\dfs\SCCMDeployments\Drivers\DAT Packages\Dell\Latitude 9410-Windows10-x64-A03\DriverPkg\	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
ConfigMgr: Creating driver package	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
======== Errors(s) Occurred ========	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
Error: An object with the specified name already exists. 	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
 	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
ConfigMgr: Running driver import process (this might take several minutes)	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
======== Errors(s) Occurred ========	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
Error: Errors occurred while creating driver package	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
 	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)
======== Dell ConfigMgr Latitude 9410 DRIVER PROCESSING FINISHED ========	DriverAutomationTool	22/01/2021 14:07:09	21952 (0x55C0)

@ljubo1913
Copy link

For now if you use the 6.5.0 beta build it should help with several issues including Lenovo downloads also. I’ll have a production 6.5.1 build out later next week.

Hi, do you know when the 6.5.1 version will be released. We are waiting for the new version with 20h2.

@anaputnam
Copy link

When will support for Windows 10 20H2 be added?
Thank you!

@Maverickthenoob
Copy link

@maurice-daly

Hi Maurice,

I know you have many things on the go right now and only so much time to work on stuff these days. I was just wondering when we could expect the 6.5.1 build. I'm a huge fan of this entire suite of tools, and have recently implemented (once again) the full ConfigMgr toolset for our new parent company after an acquisition. I can not say how much I appreciate the work you've put into this and how much time you save me on a monthly basis. With that said, there is a real desire to move to 20H2 in my org, and I've noticed this issue with the cabs not selecting the right version. Is this something that is likely to be possible for you to resolve in the near-term?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants