Skip to content

Error with Drivers #194

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

Open
rmiller-ch opened this issue Nov 5, 2024 · 13 comments
Open

Error with Drivers #194

rmiller-ch opened this issue Nov 5, 2024 · 13 comments

Comments

@rmiller-ch
Copy link

rmiller-ch commented Nov 5, 2024

I am new to PSD and either I am missing something in the documentation but I have questions about driver support. My example is I downloaded the drivers from Dells website for a Precision 3460 SFF (cab file). I have created a folder structure in MDT under Out-of-Box drivers as follows Dell \ Precision 3460 \ Windows 11 and imported the drivers into said folder. I then ran the New-PSDDriverPackage.ps1 script and it created a WIM file name Dell-Precision_3460-Windows_11.wim which I thought was the total driver method, but I could be wrong. When the task sequence starts installing windows, it finds 0 driver packages, but I think it's looking for Windows_11-Precision_3460.wim (think I saw that in a log file somewhere). Do I need to create a selection profile and modify my task sequence to use it or does that matter anymore. As it stands now, its not finding the WIM file with the drivers? If that were to fail, what are the fallback options and how do they work?

@MDA400
Copy link

MDA400 commented Nov 5, 2024

Running into this issue as well on the latest build at the time of this post (0.2.3.0). Put the drivers into a folder in Out-Of-Box Drivers that is named exactly what the model shows in the PSDWizard ( 20NX0036US for example) Then ran the New-PSDDriverPackage.ps1 script. Trying next with just the driver files straight into the folder that is named the model of the device im imaging (no subfolders).

The output of New-PSDDriverPackage.ps1 does create a "Windows_11-20NX0036US" folder which one would think match the "Set DriverPath" value of Windows 11 \ %ModelAlias%

@rmiller-ch
Copy link
Author

I created a "Windows 11" folder under Out-of-Box Drivers in MDT with a subfolder of "Precision 3460" and imported all the Dell Precision 3460 drivers. I am now running the New-PSDDriverPackage.ps1 script and will see what happens. More to come. Thanks for the tip.

@MDA400
Copy link

MDA400 commented Nov 5, 2024

Have a look at this post about modelalias use with configmgr - https://www.deploymentresearch.com/using-modelalias-for-configmgr-driver-management/

Its likely how its being used. There are lines in the ZTIGather.xml file (scripts folder) that explain where it is searching for these files:

property id="DriverPath" type="string" overwrite="false" description="Folder under PSDResources\DriverPackages where Drivers exists"

property id="GenericDriverPath" type="string" overwrite="false" description="Folder under PSDResources\DriverPackages where Generic Drivers exists"

property id="FallBackDriverPath" type="string" overwrite="false" description="Folder under PSDResources\DriverPackages where Fallback Drivers exists"

To get the Model Alias name if you don't know it, you need to run and read the resulting ZTIGather.log:
MDT deployment on the endpoint – when the Wizard launches, go to the gather log.

@rmiller-ch
Copy link
Author

I also noticed in the Task Sequences I created using the PSD Standard Client Task Sequence, you can set those items manually I guess as they appear as options. There is an Inject Drivers task but I left it alone and the PSDWizard found the driver wim labeled "Windows_11-Precision_3460.wim" as I created it in the MDT Out-of-Box Drivers area. It does not seem to follow the naming convention that I thought I read about total driver control, but I could be misunderstanding something. I am formatting now, hopefully it works, but the machine I am create has a raid controller (Intel RST) and it always fails for me.

@rmiller-ch
Copy link
Author

rmiller-ch commented Nov 5, 2024

Well it seems to find the drivers, but now all computers I try imaging just sit at the Getting Ready screen after the PSDWizard runs once. Not sure why that is happening. Ugh. I mean I am trying to install Windows 11 Enterprise 24H2, but I cannot imagine that's the issue, I will go to 23H2 if I have any better luck on this part.

@MDA400
Copy link

MDA400 commented Nov 5, 2024

Yeah, documentation is a little out of date (references names of old scripts for example). Got it working by changing Windows 11 \ %ModelAlias% to just Windows 11 \ %Model% for the "Set DriverPath" step in the task sequence.

Wish i could get past the WinPE step myself, having an issue where the "Make The OS Volume Bootable" step is throwing an application error (0xe0434352) after my custom 23H2 image is transferred to the device. The image applies successfully under normal MDT environment. (Edit - this was resolved by removing the folders with large amounts of data in the Scripts folder i had placed for xcopy to transfer during the task sequence)

Off-topic to this thread - As for your "getting ready" stall issue after the WinPE step is done, could be an included driver issue or issues with connectivity to a domain (if you are trying to use domain join in the process). Have had those with normal MDT environment, this link has locations of log files that can be used to identify why it may be stalling.

https://support.microsoft.com/en-us/topic/log-files-that-are-created-when-you-upgrade-to-a-new-version-of-windows-9ec8aa31-0cc1-a0b2-2d98-e9c6714349b9

@rmiller-ch
Copy link
Author

Damn....the moment you said it I knew that's the problem. I had this happen before when I was using regular MDT and the account did not have access to add computers to a certain location, same as today. Fixing that and trying again.

@PScherling
Copy link

Hey, I had the same issue on my first run. I changed the Values in "Set-DriverPath" from %ModelAlias% to %Model% and that solved my issue. Just to confirm your solution :)

@PowerShellCrack
Copy link
Contributor

This may be a good update to our docs. I did update the docs in the CurrentDev branch; it is in Peer review but hopefully it gets moved to the main branch. Here is the updated doc: https://github.com/FriendsOfMDT/PSD/blob/CurrentDev/Documentation/PowerShell%20Deployment%20-%20Installation%20Guide.md
image

I created a Navigation for it as well. but I think we should work on a driver doc too.

@PowerShellCrack
Copy link
Contributor

Well it seems to find the drivers, but now all computers I try imaging just sit at the Getting Ready screen after the PSDWizard runs once. Not sure why that is happening. Ugh. I mean I am trying to install Windows 11 Enterprise 24H2, but I cannot imagine that's the issue, I will go to 23H2 if I have any better luck on this part.

does 23H2 work with same drivers?

@rmiller-ch
Copy link
Author

Well I went on vacation for a few days after I posted this. I will have to test 23H2 when I get back to the office on Tuesday, November 12. I am pretty sure it worked with 24H2, but my problem now lies with domain join credentials. I will know more this week as I ran out of time last week.

@rmiller-ch
Copy link
Author

Just to circle back around. I got everything working with the drivers and Windows 11 (24H2). System is solid, @PowerShellCrack your directions filled in some of my gaps. I appreciate all the help I received.

@PowerShellCrack
Copy link
Contributor

PowerShellCrack commented Feb 11, 2025

@rmiller-ch are you ok with closing this?

@GeoSimos

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

No branches or pull requests

4 participants