How to deploy Windows 11 22H2 (Microsoft Deployment Toolkit and Windows Deployment Services)
Vložit
- čas přidán 22. 08. 2024
- Learn how to deploy Windows 11 22H2 over the network using both the Microsoft Deployment Toolkit (MDT) and Windows Deployment Service (WDS). In this example, I go over the process of installing both Windows Deployment Services (WDS) and Microsoft Deployment Toolkit (MDT), configuring MDT using the Deployment Workbench, by adding operating systems, applications, and creating a task sequence to install Windows 11. I also showed how to configure the deployment share rules to reduce the number of steps in the deployment process, how to generate a MDT boot wim, and how to import that boot wim into WDS.
View the blog post here: www.dannymoran...
Hi, I’m Danny, a London based IT consultant and sporadic blogger. You can view all my blog posts at: www.dannymoran...
So far, you're guide is winning compared to others I've seen.
Great work!
Hope you found it useful!
Thanks for watching!
I cannot thank you enough for this content.
I started reading the TechNotes and was like wtf - it seemed overly complex for what I wanted to do. Then looked at other retail options which all lock you into subscriptions per client.. so I had come to terms with the fact that we were going roll out 250 PC's one flash drive at a time...
Then watched this while having my morning coffee... 25 mins invested saved me a weekend. YOU are my HERO!
Glad you found it useful! I tried to keep the guide as basic and as easy as possible as I had noticed a lot of the other guides go into detail which isn't really needed for an initial deployment.
Thanks for watching, Shiraz!
@@danny_moranwhen i added a application and try to browse to the folder in downloads my downloads folder is empty even tho it’s not any help??
Can confirm this method works for W11 23H2. Thanks Danny!
Thanks for watching!
Danny, Thanks for all your help. I have been wanting to learn how to install windows via PXE to get away from the USB medicat drives i got. This was awesome and i appreciate your knowledge!
Thanks for watching!
Thank you for the great tutorial! I like that it's not too fast, you can follow up; easily pause if you want etc.
Thanks for watching!
OMG! I've been looking for a video like that for so long. The only thing missing is how to setup user database for my homelab so I can deploy 1 image and add or remove user as I want!! Great video! This deserve a follow for sure!!
Thanks for watching!
Thank you for this video! :) I was able to deploy this successfully after some testing on vms. You're the man!
Recommendations for people having login issues at the MDT Windows installation screen: Check DNS (this was my issue) and make sure you or the AD accounts you use have proper access to the deployment share folder.
Glad it helped! Thanks for watching!
Very straight forward. Not a bunch of flash & trash, good on you!
Thanks for watching!
Thank you! Great video. Now to learn how to build custom images and strip all the bloatware out.
Thanks for watching!
Thank You! This is the best!
Thank you for this.🙂
Thanks for watching!
its crystal clear soon i will deploy in my environment
Thanks for watching!
What a great video. So clear and helpful. Thankyou
Thanks for watching!
Outstanding guide. Thank you!
Thanks for watching!
Thank you a lot for this video !
Thanks for watching!
Thanks for your efforts 👌
Good video... keep it up 😎
Thanks for watching! Hope you found it useful!
This guide worked perfectly...thanks
Thanks for watching!
Thank you 🎉🎉🎉 it work, good steps, please to put video description in frensh. Bye
Thanks for watching! I'm in the process of updating my website and one of the new features is being able to translate the guides into different languages. I'm not sure when this will be completed yet though.
Your tutorial video is excellent, it has helped me greatly with setting up and deploying computers with Windows OS. I'm really grateful to you and I'd like to ask if I can add Photoshop or 3ds Max to the MDT application package for quick installation. I'm facing an issue where I don't have the *.msi files.
I don't have a guide on this, however, I would be surprised if someone else hasn't already made a guide on how to do it and put it online somewhere. I'd try and do an internet search to see if you can find an existing guide somewhere.
Thanks for watching!
Hi Danny, Thanks for this. Life saver. Quick question tho. How do you add the new .wim file to the iso again?
Sorry, I'm not sure what you mean by this.
Thanks for watching!
I ran into an issue and found a way to resolve it, if you get any issues relating to === Making sure the deployment share has the latest x86 tools ===
=== Processing LiteTouchPE (x86) boot image ===
Head to C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64 and copy it, then in the same folder paste it and rename the folder to x86 and it will look like this C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86.
This will mean it will check it's there despite not being needed, it's just that MDT expects to see it there despite MS no longer including 32-bit.
Thanks for commenting this.
I also have a guide on the fix: czcams.com/video/1OqW3qh1BUg/video.html
Thanks for watching!
I followed this step by step and i dont know if there is something i am missing but i was not able to boot into the deployment share from the virtual machine that i had created. i got a network adapter error "a boot image was not found"
Hi Caleb,
There could be a couple of things that might cause this:
1. Check that the Windows Deployment Service is running. (Open the Windows Deployment Services console, right click the server, go to all tasks, and then restart.)
2. Check that your Win11 virtual machine is on the same network as your WDS server. (If it's on the same VM host, check they are using the same virtual network card.)
3. Check DHCP is working correctly and handing out IP addresses.
4. Also, make sure that your Win11 VM has secure boot enabled. (For hyper-v, turn the Win11 VM off, right click it and press settings. Under security, tick enable secure boot.)
Those are the first things that come to mind. Hopefully, one of those will get it working for you.
Thanks for watching!
Danny - great video!! I am actually following it to utilize within our organization. One question I have is, how do I handle two different boot images? We currently use windows 10 and windows 11. I have the custom wim files created using sysprep.
Do i need two different boot images? One for 10 and one for 11?
You can just use the one boot image for both Windows 10 and Windows 11.
Just import the wim files into MDT and then create two task sequences, one for Windows 10 and one for Windows 11. When you then boot from the MDT litetouch boot wim, it will give you the option to deploy either Windows 10 or Windows 11.
Thanks for watching!
Good Video Sir! Thanks a Lot!
Thanks for watching!
@@danny_moran Thanks for taking the time to make this video Sir! ✌🏾
Hi Danny; This was very helpful, Many thanks. I do have a question though, can I create one task sequence where I can select between multiple custom OS images???
No, you need to create multiple task sequences for that.
Thanks for watching!
@@danny_moran Aha, but if I did so, do I have to create a separate boot Image for each?
No, you boot from the same boot image and then you can just select the different task sequence.
Kind Sr., You are the shit. Thank you!
Thanks for watching!
Dan can I ask your opinion. I sell a lot of Gaming, Workstation etc PC's on as a side hustle and also work at a University as a Desktop Support Technician. I handle a lot of our imaging but my buddy actually handles creating and customizing our images we have for Staff Machine and Student Labs. I want to learn to do that but should I do a Capture or a clean install for my home lab? I would like to learn how enterprise companies and small businesses do it. If you have time to answer this question it would be appreciated. Thanks in advance.
You should speak with the person who creates your images and ask them if they can show you what the process is. That would probably give you the best experience with and exposure to the image deployment process in a production environment.
In terms of clean install vs. image, I prefer a clean install followed by scripted application installation. This method is easier to keep up to date, as when something needs updating, all you need to do is update the component that requires an update, and you're done. You don't have to fully rebuild the image.
As for small businesses vs. enterprises, I think it's what the engineers who are setting up the solution most prefer. I almost exclusively do instals and rarely do images. I don't recall doing a production image for either Windows 10 or Windows 11. The last production images I made were for Windows 7 and Windows 8.1.
As long as the method you are using works for your situation, there is no right or wrong way.
After booting and inputting the usernsme, password and machine domain name it keeps botting to command prompt rsyher proceeding to the task sequence
It sounds like there is a stuck failed deployment and you will need to manually format the drive of the device you are trying to deploy.
In the command prompt, run the following commands on the machine you are trying to deploy:
diskpart
list disk
select disk 1
clean
Note: replace 1 with the number of the OS drive that gets returned from the list disk command.
Thanks for watching!
Hi Did you change any DHCP settings in your router?
And does it work without changing any DHCP settings in the router?
DHCP was being handled by the domain controller. No additional DHCP options were added.
So can we use wds with the router DHCP
Yes, you can use WDS using the router as the DHCP server.
If your clients are unable to find the WDS PXE server, you might need to setup IP helpers or DHCP options on your router to point the clients to the correct location.
ok thanks
Beautiful guide. Do you know how to add multiple versions of W11 to the boot option? Adding more task sequences seemed the way Microsoft set it up but the installer will crash for me if I have multiple task sequences like Windows 11 Enterprise/Home/Pro etc.
If you want to add multiple versions, you just need to import the other operating systems into the os folder, and then create new task sequences.
I'm not sure why it would be crashing, but that is the way to do it.
Thanks for watching!
Thanks for a very educational video. Would you look into doing a video for the entire SCCM install/setup and deploy Win 10 or 11 image? Thank you!
SCCM is on my list, but I don't have a timeframe for when it will get done, unfortunately.
Thanks for watching!
Thank you for the video. please advise at 8:46 time how do i write command for my application , I am trying to install Lenovo Vantage application for the laptop. and it has .exe file and not .msi . pls help
Sorry, I'm not sure what the command will be.
If you search for the silent install commands for the application, you'll probably find a guide on the correct commands to use.
Thanks for watching!
Hi Danny , excellent video ,clear and concise as usual .
Q. You deploy your wim file in a virtual environment using HyperV , is there a possibility that you could put together a video on that at some stage 🤔?
I have planned some guides on creating hyper-v networks and isolated testing environments, but I haven't gotten around to recording them yet.
Hopefully should have some additional time soon.
Thanks for watching!
do you know any ay to automate the deployment like you have but encrypt the admin password or provide a more secure way to join the domain?
I would recommend setting up a service account that has minimal permissions and only enables adding devices to the domain.
Thanks for watching!
Hello. What will be the command line for the new Microsoft team’s MSIX file. I wanted to add the new team MSIX file but unable to find the command line.
I'm not sure. I've not tried to script this application.
Thanks for watching!
Is it compulsory to edit the rules in MDT Deployment Share? or we leave defaults ?
You don't have to make changes to the rules. The rules just make the deployments easier as you can auto complete some of the informaiton.
Thanks for watching!
Where did you boot into a PC from? I can't seem to find anything. Hyper V isn't working nor VM Ware. Thanks!
I had a second virtual machine setup in my Hyper-V that was connected to the same virtual switch.
Thanks for watching!
I wondered. what is the best for all of your exercises? I see you use a lot of different servers. I kust have DC1 DC2 in replica. and S1 en S2 en 1CL. If you ar not in to Domaincontroller is it just ok to test on server 1 for example? Just don't want to have too much virtual boxes running.
For a lab, you can run all of the Windows Server roles and features on a single virtual machine.
In a production environment, you would split everything out into their own servers.
Thanks for watching!
On point! Only missisng is what did you use for 7zip. EXE, MSI, extracted folder?
I used the 7zip msi installer.
Thanks for watching!
Thanks for the great tutorial, you've shed some light into this topic for me, which alot of tutorials couldn't.
A question I have is, can I install Windows 10 with the Windows 11 ADK? Or does every OS need it's own specific ADK?
Yes, you can install Windows 10 with the same ADK.
All you need to do is add the Windows 10 install files to the deployment share and create a new task sequence and select the Windows 10 files.
Thanks for watching!
@@danny_moran Thank you man !
Hi Danny,
Thank you so much for your content is really helpful.
Do you know if I can deploy windows 10 and Windows 11 with the same MDT or I need keep in different servers?
I haven't found any video o information about it.
Thank you in advance.
Yes, you can deploy Windows 10 and Windows 11 using the same deployment share.
All you need to do is add the Windows 10 install.wim file to the deployment share images and then create a new task sequence and select the Windows 10 install files.
Thanks for watching!
Getting error while adding boot image in deployment services "The service did not respond to the start or control request in a timely fashion"
what to do?
Have you tried restarting the WDS service, or even the server? Sometimes the service stops responding.
Thanks for watching!
Thank you
Can you change it afterwards when its crashing because of the x86 folder that is missing?
Yes, you can change the settings later.
I have a guide on fixing the MDT crash: czcams.com/video/1OqW3qh1BUg/video.html
Thanks for watching!
at 13:51 sec is where I get stuck. it goes to that white screen where you see the words at the top right and then just sits there. I am trying to load windows 11 on using server 2019 (I think) Is there anyone who has this issue? if so if you have a solution could you tell me please
I don't recall seeing it get stuck at that stage before. Maybe try restarting the WDS and MDT server.
Danny, when I get to 12:41 I notice that my file type is a wim archive and not a wim file. Is this a problem, because I'm wondering if I did something wrong by chance?
Is it still called LiteTouchPE_x64.wim and does it have a .wim file extension? It could just be how your operating system is naming .wim files.
If it has a .wim file extension, it should be fine.
Thanks for watching!
After booting into the litetouch image, i input the share domain access account, but the screen hangs with the windows deploytment toolkit logo. How can i resolved it?
Does the user account that you entered have permissions to access the MDT share?
Thanks for watching!
After booting from the network, my computer throws the error "A connection to the deployment share couple not be made. The following network device did not have a driver installed. PCI\VEN_8086DEV_0DC5&SUBSYS_0C05102&&REV_01". Any ideas how to fix this?
Sounds like you need to import the network card drivers into the Out-of-box Drivers folder in the MDT deployment share.
Once you've imported the network card drivers, you will need to update the deployment share, and then import the newly regenerated WIM file into WDS.
Thanks for watching!
by the ways, I follow your step but finally, it does not join domain automatic. have skipped some step or code?
The machine should automatically get joined to the domain.
After booting into the litetouch wim, are you telling it to join the device to the domain? Also, does the account you are using the deploy the workstation have permission to join the device to the domain?
Thanks for the good tutorial, MDT seems to provide a granular setup with a task sequence method.
In contrast, how does this compare to traditional cloning? Could you briefly discuss the pros and cons of each?
I generally try and avoid cloning a machine as it's harder to make changes to the template without doing a full rebuild of the original image.
Using a task sequence, you can add or remove steps easily to keep the deployment up to date.
If you do a web search for "thin or thick reference deployment image", you should find some good resources covering covering the pros and cons.
@@danny_moran Thanks, your tips have helped me learn more about thin/thick deploy comparisons!
MDT features are appealing, but is it hard to keep up with managing this? Let's say if you have hundreds of PCs to manage, which is better compared to cloning them regularly with CloneZilla's Netboot deployment?
The reason I asked again is, software update management requires every single update of each software. Also, it needs silent installing, which seems a little hard for me.
I wouldn't really say one was better than the other - they both have pros and cons.
Silent installs of software are generally quite easy, as you'll probably find people who have already done it before you and posted the correct commands and switches required online. You just need to do a bit of searching to find them.
Keeping the files up-to-date is actually quite easy, as most of the time the install command stays the same, and it's just a case of replacing the installer file with the new, updated one on the MDT server.
For keeping the software up-to-date after the machine has been deployed, you should look into some kind of RMM or package manager that you can deploy, which will help you keep your IT estate up-to-date.
MDT is used to deploy the machine initially, but after it has been deployed, you would use other software to manage the workstation going forward.
@@danny_moran Thanks Danny! Your explanation brought me one step closer to a complete understanding of how MDT works.
It seems that the advantage of MDT is its flexibility and detailed configuration.
Since it is server based, it also has the advantage of being centralized, rather than individually managed cloning.
Keep posting good videos!
hello danny, thank you for the great work. i have thoroughly followed your vid but at the time the hardware boots to winPE, at the part where it shows MDT's default wallpaper the screen turns black and restarts automatically. all tools used is the same as the one you used in the video.
Based on your description, I don't think I've encountered this issue.
Is the black screen a CMD window?
Outstanding video 👍
Thank you very much! Thanks for watching, Marty!
at 7:37 the part you import the operating system. I have a windows 11 iso multi edition. It's auto selecting home how do i choose pro?
I think it's just picking up the name of the first image on the iso file and giving that the destination name.
If you continue through the import wizard, it should also import all versions that are stored within your iso file. From memory, at one of the next stages it should give you a list of what is on the iso and let you tick which ones you want to import.
Thanks for watching!
Thanks for the video, ive created a VM with server and setup the network boot files etc. now I've moved my hyper v VM to another machine to run the PXE server from it... plugging in a laptop direct to the machine its not finding the pxe boot on IPv4. how do I setup both machines to see each other and to book direct from a ethernet attached?
It sounds like you are plugging the laptop directly into the pxe server? You need to plug both the laptop and the server into a network switch for them to be able to communicate.
Thanks for watching!
How to configure WDS for ubuntu? I have to install ubuntu in 50 PCs. Could you plz help me.
I've never tried deploying Ubuntu, unfortunately. There are probably guides online covering how to do this, you will just have to try and find them.
Can you copy the existing Win10 Task Sequence into the Win11 folder Task Sequence? Obviously making necessary custom changes to the copied one (ie re-pointing 'Install OS' step to a Win11 OS).
I can't think of a reason that wouldn't work, however, I've never tried it myself.
You can always try, it won't cause any issues to the deployment share if it doesn't work, and you can just delete the task sequence to revert any changes.
Thanks for watching!
Any good for home PCs? I am obviously not on a domain, it is for a work project.
No, this doesn't work for Home editions of Windows.
Thanks for watching!
when using this process to image a computer, is there a way to keep the license key for Windows from the previous windows version that was originally on the computer?
Most new computers have their licence key stored in the bios so should auto-activate using that built-in key as long as it's the same version of Windows. If it doesn't auto-activate, you may have to look into a script that pulls out the bios key and then activates Windows using that key.
Thanks for watching!
In the bootstrap version how do you setup for a standalone server without Active Directory? Also share a script without domain sections if possible?
I've never setup a standalone version, unfortunately.
You'll probably have to try and find a standalone setup guide.
Thanks for watching!
i do have one question.
Is it possinble to automate the deployment based on mac adresses?
what i'm lookin for is to deploy custom os based on one master devices that we capture and then deploy that to some pcs.
Run a custom PE before to change bios settings.
i would like the endresult to be connect a pc to the network boot and it will install automaticly based on the mac adress of the device
You can configure MDT to look for the MAC address of the connecting workstation and then run specific task sequences/scripts.
I don't have any guides on this, but, you should be able to find some using Google.
Thanks for watching!
@@danny_moran thanks for the quick reply and good tutorial
i have found the errors due to x86 winpe missing.. where did you find I should use win10 2004? I can t believe I had to watch a video to discover yet another trick on unsupported win deployments..
The newer versions of the winpe don't include the x86 files, so you either have to use an older version or copy the x64 files to the x86 folder. I have a guide on how to do this: czcams.com/video/1OqW3qh1BUg/video.html
I don't recall there being any official Microsoft documentation on how to get around this, it's just things people have figured out how to get around.
Thanks for watching!
I get stuck after putting in the credentials username / password /domain, it just sits there on that white screen. can someone help me?
I don't recall seeing it get stuck at that stage before. Maybe try restarting the WDS and MDT server.
Are you sure the username, password, and domain are valid and correct?
@@danny_moran i figuredit out, thanks, turns out my permissions were not set to everyone.
Glad you've got it working in the end.
Can you do a video about drivers in MDT? MDT doesn't save me much time when I need to install all drivers manually anyway
Driver management is on my list of guides to create, but I haven't gotten around to making it just yet, unfortunately.
Here is a guide on how to manage drivers within MDT: www.deploymentresearch.com/mdt-2013-lite-touch-driver-management/
Thanks for watching!
Hi Danny ,
thanks for the content , but im still have question about the application part with the correct parameter (silent installation), I have to install quite some numbers application for Win 11 image.
I noticed that installer ( .exe) not using same parameter , is that any way can verify what kind parameter suit for the application.
.msi is worked with msiexec and /qn.
Thanks.
When scripting software installs, the best thing to do is to use the msi installer.
In a lot of cases, the software provider will provide both an .exe and a .msi file. They will usually provide the available switches that can be used in the documentation.
There isn't always consistency as some use /q /quiet /qn /silent /s or whatever they decide to use.
If you install 7-zip, you can sometimes extract a .exe and within the extracted files there is often a .msi file which you can use.
You'll probably also find that most software you are looking to install has been figured out by someone else and posted online. I usually just do a quick search and can often find the correct install commands pretty quickly.
Thanks for watching!
hi danny im still noob in this mdt , do you have a video to setup this one in stand alone server? I only have one desktop installed ms server 2016, what I want to is to connect it to one switch with the laptops and pc! thanks for your help..
I don't have a guide on the standalone configuration, unfortunately, as it's not something I've used. I have always had it integrated with Active Directory.
Thanks for watching!
How about capturing a custom windows 11 to deploy the image?
I have a guide on how to capture custom images: czcams.com/video/9WSF9q4flUQ/video.html
Thanks for watching!
Hello,
Is there any way to contact you? I have a question regarding internal documentation.
With kind regards
Feel free to leave any questions on these videos and I can try and assist the best I can.
Thanks for watching!
Hi mate, thanks for the tutorial. I followed this step by step and its was easy and intuitive.
But I have a problem running the MDT:
After pressing ENTER to access network boot service, the "Microsoft Deployment Toolkit" tab opens and after a few seconds a cmd opens with the system32 folder open.
Do you know what could be the problem that does not allow me to open the wizard?
Thanks!!
Are you deploying to a physical device or a virtual machine?
It sounds like it's not picking up the network card driver for the device.
To import the network card drivers, copy the network card drivers to your server and then extract them, right click the 'Out-of-Box Drivers' folder in your deployment share and select 'Import Drivers', and then follow the Import Driver Wizard.
Once the drivers have been imported, right click the deployment share and then update the deployment share. When the deployment share has been updated, import the new iso file it creates into WDS by right clicking the existing boot wim within WDS and pressing replace.
Once you've done that, try and network boot from the device again.
Thanks for watching!
hello mate, can you make a Video - how to depoly the windows update package when depoly the clean install, or any trick to do this? i downloaded from microsoft catalog, and import to package, but don't know how to include to the image/build
Usually, I just sort the updates once the device has been deployed and then it connects to the WSUS server and gets any required updates. I haven't used the update packages for a long time.
I will add this to my list of videos to create, but not sure when this will get done.
Thanks for watching!
Hi Danny, following your video, I successfully deploy windows11 system. Your video is really useful.
But I have a question here... After deploying, our system can't use "Reset this pc" this function. Is there any way to resolve it?
Is there a reason you are using this feature rather than just deploying a new image to the workstation?
Are you getting any error messages? I don't recall using this feature so I'm unsure why it wouldn't work.
Thanks for watching!
Not sure on why it’s not available. But consider that the use case for resetting a PC in the context of OSD is a PC OEM preinstalled Windows, and using a task sequence to reset it. This video is addressing a different use case for OSD, the bare metal install. Thats my understanding.
Hi, thanks a lot,
I already have Win 10 image on my WDS can i add Win 11 image on the same Server ?
Yes, you can do Windows 11 and Windows 10 from the same MDT/WDS instance.
Thanks for watching!
Hello Danny. I've followed your guide but im getting this error when trying to Update DeploymentShare.
DISM /Set-TargetPath failed, rc = 1.
DISM was unable to set the system root (target path) for the Windows PE image, so the update process cannot continue.
I've tried multiple things to resolve that like giving permissions to my Admin user even if its admin.
Nothing worked though.
Did you install both the Windows ADK and the PE Add-on for the ADK?
@@danny_moran Unbelievable! Sorry for this but you were right. I probably missed to install this. It seems that is working as expected now. All the best and again thanks for sharing.
Glad you got it working!
Good tutorial 🤍
Thanks for watching. Hope it comes in useful!
Can you confirm if this guide is still valid and Microsoft seems to imply they no longer support Windows 11 I'm MDT
Yes, this still works.
Microsoft still support installing Windows 11 using MDT, however, they no longer support installing Windows 11 only using only WDS.
Thanks for watching!
so it is supported now? Is so confusing.
Deploying Windows 11 using MDT is supported.
Thanks for watching!
It cant find mdt through the network
Is DHCP setup and working correctly? If the network boot doesn't find the WDS server, it's usually due to DHCP.
Thanks for watching!
After extracting the install.vim how we can use it means to have past in where we have mounted the iso file or can directly add to the deployment directory please guide.
I have extracted the istall.vim file directly in C:\ drive but getting the same error kindly fix the error first.
When importing the operating system, select the second option which is "custom image file" and then you can select your exported install.wim file.
Thanks for watching!
Thank you for your guidance.I have copied all the iso mounted folder and then replaced install.esd with .vim this way also works
Is Windows Server 2022 a requirement or can we use Windows Server 2019 too?
This will work on Windows Server 2022, 2019, and 2016.
Thanks for watching!
qui ce que tu as ajouté dans applications (est ce que c'est le logiciel de 7zip)?
The software example that was used was 7zip.
Thanks for watching!
I have followed these instructions, which are super easy and great info, but after creating my image and running the vbs script it reboots and i get this error message?
"A connection to the deployment share (\\deployment share server\deploymentshareCapture$) could not be made. the following networking device did not have a driver installed. PCI\VEN_8086&Dev_1A1C&SUBSYS_0AC71028&REV_11"
which i cannot find that exact driver anywhere. no such luck. Can you advise?
Looks like the built-in default network card driver pack can't handle that network card.
You should be able to go onto the PC manufacturers website and download the network card driver for the workstation model. If it's a custom built machine, you will likely have to find the make and model of the motherboard and then go to their support website.
Once you have the driver, import it into the Out-of-Box Drivers folder of the deployment share, and then regenerate the deployment share by right clicking the deployment share and pressing update deployment share.
@@danny_moran good morning! thank you so much for the quick reply and suggestion. when I tried this, the pc i am trying to image loses a lot of drivers while running the sysprep from lite vbs script. Therefore it also loses connection to my deployment server. Any other suggestions I can try? Appreciate your help on this.
Usually, when I create reference images, I install Windows 10/11 on a virtual machine rather than a physical workstation. When I've finished making the image, I just sysprep the vm.
This usually avoids any driver images while trying to create the image, as well as any potential driver issues when the image gets redeployed.
Are you able to install Windows 10 or 11 as a virtual machine and do it that way?
Hey friend. Good video. Please answer me: this system work with companys that use Microsoft Intune/Autopilot system? It become a generic Windows image (such as a media creation tool) to a personalized Windows to the company uses. So I want to configure only Windows 11 gsneric to deploy via PXE
I can't see why you couldn't deploy the image using MDT and then enroll the device to Intune.
Thanks for watching!
@@danny_moran thanks. Some things I skipped, like 7zip, let see if it will work well
@@danny_moran the deploying worked, but with this way, is not compatible with Intune system. The MDT force me to create a user, choose a domain, give a name of the machine, but none of this I want to set. O want that Windows 11 guide the user do OOBE screen to make the user log in with his e-mail and password, then the Intune will enter in action. Could you help me?
I'm not sure if you will be able to do this with MDT if what you have tried doesn't work.
You might be able to do this by just deploying Windows 11 using WDS without MDT: czcams.com/video/PDkX_btfZ_E/video.html
@@danny_moran I already tried this, but appear a message saying that WDS with Win 11 is deprecated 🫠
I CANNOT BOOT MY LITE TOUCH , you DID NOT SHOW IT IN THE VIDEO , you did in background, any hellllp
To boot into the litetouch, you just need to network boot from the device you want to deploy to.
Usually, pressing F12 as soon as you power the device on will get it to attempt a network boot.
Thanks for watching!
I'm lost at user name ,password and domain what to write
The domain is your local active directory domain name, and the username and password is an account that has permissions to access the DeploymentShare share on the MDT server.
why does nobody mention that making a bootable usb drive with windows, wont work with importing......had been busy for 5 freakin hrs!!!!
What error are you getting? A bootable usb drive should work fine for importing.
Can't you just import the same iso file that you used to make the bootable usb drive?
@@danny_moran Hej Danny thanks for your reply, that it could not get access to some source directory or file, while it did have the boot.wim and install.wim, i think its a rufus thing.....i then mounted the iso's with daemon-tools and with that i have no errors at all. i now have my mdt almost running thank god, even imported my own program, i hope it will boot the program after the win install is done and reboots to windows, then boots my app. do you have by any chance, a video on how to import and start a program after windows has booted??? i made my own custom installer for my boss his company, i want it to boot at startup
Hi, how did you add the .wim file to an .iso file?
The install.wim file is included within the .iso file.
If you mount the iso file to your computer/server, and look inside the sources folder, it should be in there.
You might have an install.esd file in there, which in that case you will need to extract the install.wim file out of the install.esd file.
I have a guide on extracting wim files from esd files: czcams.com/video/ZBSQYIttwP0/video.html
Thanks for watching!
how do i get windows 11 ini mdt no wim esd file
This video will show you how to extract the wim file out of an esd file: czcams.com/video/ZBSQYIttwP0/video.html
@@danny_moran it won't work for me
Hi Danny
Great guide, thanks for putting in the effort!
I used it with Hyper-V and Windows 10 (with ADK for Win10).
However, I'm stumped when it comes to AD joining the computer.
I'm confident that the rules are updated accordingly, and the OU structure is legit.
I even added:
DomainAdmin=Administrator
DomainAdminDomain=[MyDomain]
DomainAdminPassword=Passw0rd
But it still won't domain join the VM.
It ends the task sequence with a warning stating that it reached its maximum number of attempts to domain join.
The logs didn't do much to help me, I'm afraid.
Do you have any tips on how to fix this?
I made a brainfart .. tried to domain join a VM with Windows 10 Home *facepalm*
Now I'm installing Win10 Pro, but Hyper-V is just hanging at the "Getting Ready" screen (not Windows - it's the Hyper-V loading screen).
Usually this warning is caused by either incorrect credentials to add a machine to the domain/OU or an incorrect OU link.
Does the user account you have listed to add the machine to the domain have permissions over the OU it is trying to add the object to?
Have a look at my CustomSettings.ini and Bootstrap.ini here: www.dannymoran.com/deploy-windows-11-with-mdt-and-wds/#deployment-share-properties
Make sure you are using the correct variable names as the ones in your comment are not the ones i use. For example, DomainAdmin should be UserID
Once you have made changes to your CustomSettings.ini and Bootstrap.ini, right click your deployment share and update it (make sure to do a complete regeneration, not just an optimise). Once the new LiteTouchPE_x64.wim file has been regenerated, import that newly updated file into WDS and try running the deployment again.
Yeah, using a home version of Windows would give that error as well.
In your Hyper-V Connection Viewer window, press View and then un-tick enhanced session. Sometimes, using an enhanced session can cause this to get stuck at the getting ready stage.
@@danny_moran Hi Danny
Thanks for the reply!
Isn't UserID the syntax for the bootstrap.ini, while it's supposed to be DomainAdmin in rules.ini? That's at least what I gather from Microsoft's documentation, and it also autofills the boxes with the corresponding information.
I might have overlooked the step where I need to import to WDS after updating in MDT.
I'll give it a try. :-)
Yes, the UserID, UserDomain, and UserPassword are for the bootstrap.ini - i don't recall ever using or setting the DomainAdmin, DomainAdminDomain, or DomainAdminPassword settings within the rules. I've just re-watched the guide and I didn't set them and it still joined to the domain just fine.
Maybe try removing DomainAdmin, DomainAdminDomain, and DomainAdminPassword - and just use UserID, UserDomain, and UserPassword in the bootstrap.ini
Once you've made the change, you will need to fully regenerate the boot image by updating the deployment share, and then re-importing the updated LiteTouchPE_x64.wim into WDS.
Using windows 10 ADK is ok for windows 11 22h2 really ???
You should use the Windows 11 ADK, but you can use the Windows 10 PE add-on.
Or you can use both of the latest versions of the ADK and the PE add-on and apply this fix: czcams.com/video/1OqW3qh1BUg/video.html
Thanks for watching!
@@danny_moran Thanks but I'm facing to a different issue, the script crash issue related to the last win11 ADK, that's why I'm not sure if it's a good idea to use full Win11 adk and addon
I think this should fix your issue: learn.microsoft.com/en-us/mem/configmgr/mdt/known-issues#hta-applications-report-script-error-after-upgrading-to-adk-for-windows-11-version-22h2
You save my day ! Thanks@@danny_moran
SUBSCRIBE.~!!! 🥰🥰
Thanks for watching!
I keep getting failure 5616 verify bcdbootex. Following your guide to a t. What am I doing wrong?
Hopefully, this guide should fix your issue: czcams.com/video/W4Xfen6Slrk/video.html
Thanks for watching!
Found a script on the web that worked. Something to do with UEFI and partitioning
Glad you got it working!
Hello, thanks so much for these instructions. So easy to follow. I followed your steps to the letter; however, when I go to properties of the Task Sequence and select "Edit Unattend.xml", I get an error:
"Performing the operation "generate" of target "Catalog".
Starting: "C:\Program Files\Microsoft Deployment Toolkit\Bin\Microsoft.BDD.Catalog40.exe"
The system could not find the file specified at Microsoft.BDD.Catolog.Program.DoCatalog()
Non-zero return code from catalog utility, rc = -532462766
Then when selecting finish, it gives the following error window: "Unable to edit the unattend.xml for this OS because no catalog could be located or generated."
My imported OS is a capture of a Win11 11H2 Enterprise VM which I used the default litetouch.vbs script to generate the captured .wim file from my deployment share setup for capture like in your other tutorial video.
I've search all over for what the fix could be and cannot find it other than it looks like the system is unable to launch the catalog. It seems to be missing or for the wrong version of Windows. Not sure if you know how to maybe fix this.
Not had this error myself, unfortunately. A quick search online shows other people having this issue and looks like they are all suggesting different fixes.
What version of the ADK are you using?
@@danny_moran Hmmm, okay. Thought I'd check and thanks very much for your quick reply.
I am using the ADK for Windows 11 and the PE addon for W10 2004 as per your instructions.
I did forget to tell you. We have been creating images like this for several years by installing MDT and ADK on a Windows workstation. Usually the workstation Windows version matches the version of the custom image I am trying to create. It has always worked really well, no issues.
This time, I am trying to create a custom Windows 11 Ent 22H2 image on a Windows 10 Ent 22H2 box. I wonder if that has anything to do with it.
@@danny_moranI was able to figure out a work around. I opened the Windows System Image Manager outside of Deployment Tools and opened the reference image in question from the deployment share. I then opened the Unattend.xml from the deployment share as well. WSIM then recognized there was no catalog and asked if it should create one, so I said yes. After the catalog was created I could do what I needed to do in WSIM and saved the changes to unattend.xml.
After that it was smooth sailing. I updated the deployment share and then updated the Media which generates the offline image install (ISO).
Hope this helps anyone in the same boat as me.
Thanks again for the tutorial. You're the best.
First Nice Thanks!
but have error in lan Status: 0xc0000001
Info : A requiered device isn't connected or can't be accessed.
you can help me
What operating system is your WDS server? Also, is it fully updated using Windows Update?