r/MDT • u/Interesting-List545 • Mar 02 '24
mdt error
what is the problem here idk what to do im just learning ty
r/MDT • u/Interesting-List545 • Mar 02 '24
what is the problem here idk what to do im just learning ty
r/MDT • u/TheNaturalPhenomenon • Feb 25 '21
I'm pleased to inform all interested parties that a new version of "Cleanup" (1.2.9) is now available for download. This WinPE UI application offers the convenience of easily wiping the primary hard disk before commencing a Lite Touch installation based on Microsoft Deployment Toolkit (MDT), specifically before the LTI Wizard initiates.
This version enhances error handling and detection for both PXE and non-PXE installation scenarios.

Kind of a strange question but does anyone happen to know if there's a way to make WDS/MDT process "dependant" on github?
Specifically, I need to achieve a situation where major part of task sequence is "stored" in github (or makes it dependant on github in any other way) and if WDS/MDT server could not access specific github repository - deployment can't be done.
edit: For those unfamiliar I'll give you example of other automation process that gives me such ability. I have a jenkins server. All the automation scripts I store in github repository. So when this automation runs - jenkins reads my github repository's credentials, "logs in" to github, downloads code and runs it. So by turning this repository private (available only to me) I'm able to disable this automation process from outside of office or datacenter network - because no automation scripts are stored locally - each build downloads code to be able to run it.
I want to achieve similar result with WDS/MDT - to build a "dependance" on github repository where some part of deployment process (as early as possible) would go and either download tasksequence.xml instead of copying it from \mdt\deploymentshare$\whatever or something similar. So deployment (not some particular one but the ability to deploy in general) could be disabled from outside, with no access to specific location network.
TLDR an option to enable/disable deployment availability without access to site network is what I want to achieve
r/MDT • u/[deleted] • May 23 '24
u/mtniehaus can you or anyone else please share the powershell script? iirc it's not VBS but powershell.
Also can't I just run that without MDT? Or is there a dependency on MDT for this script?
r/MDT • u/Dudefoxlive • Sep 04 '25
So I believe that DeployR is going to be released this month (Please correct me if I am wrong). I am excited since Microsoft seems to be actively removing many things that makes MDT work. Whos all going to be moving to DeployR when its released? Just curious whos already moved onto something else and whos going to DeployR.
r/MDT • u/brownbie • Apr 17 '25
I am trying to turn off the firewall during a task sequence to install apps from pdq. I have a very basic task sequence right now that is basically just installing windows and then an unattended script is setting the device up for autopilot.
I am really confused at why the commands and things i am doing do not work as everyone on the internet seems to tell me it should. According to this blog "https://www.pdq.com/blog/mdt-imaging-in-pdq-deploy/" i can just run netsh with advfirewall to disable it. However, advfirewall is not part of netsh and i get command not found. The script in the blog is basically exactly what i am running with no luck.
I feel like the cmd is running in like the winpe context and not the installed os context but i really dont know how to get it to run against the computer i am installing to.
The install portion of my script works great, i am doing it different then they are in the blog because the computer is not joined to the domain at this point (It will be Azure AD joined). I essentially made my own custom api that i call with the computer and the only thing the api does is that one thing.
If i remove the erroneous netsh command, the script runs through and does't error but i get "network path not found" in pdq which i assume is due to firewall.
Task Sequence:

Command that is failing:
netsh advfirewall set allprofiles state off
Edit:
I just realized you might ask "Why arent you installing with intune?". I was, and unfortunately it was not that reliable as we would have some computers that would fail installs for no inexplicable reason. Right now i have this same script which installs everything as the sole intune application it installs. I made the script an intunewin file and did that.
However, we are trying to move away from intune as its not really as great as we thought it would be and mdt while a bit more complex to configure is much more reliable. So right now applications are first on my list to scale back and then we will work on moving configuration profiles back to group policy and hybrid joining devices.
r/MDT • u/KaishhLV • Feb 26 '25
Hello,
Does anyone would like to assist on cleaning out Windows 11 24H2 ? I managed to remove most of programs but now I am stuck with few softs that I have no idea how to remove!
Why I need clean OS because I wanna really spend my time on clean Image and then later on add all important drives and Programs - but first must get rid of all the crap.
I am using Windows 11 -24H2 Ent. I tried already this Removing Applications from Your Windows 11 Image - Before and During Deployment - Deployment Research but not all apps where removed
Could anyone spare his time and skills to help me with this ? I would really appreciate it
r/MDT • u/TSullivanM • Oct 13 '19
Hi all,
I have a snapshot of a computer which is paused in a task sequence and the "Resume Task Sequence"-shortcut is placed on the desktop.
Is it possible to edit or remove some of the steps that will be run when I do the resume before i start it anew?
Because everytime I try to resume it fails on Windows Updates so I dont want to have that step anymore.
r/MDT • u/automation_atw • Mar 05 '20
Hello friends,
I just finished the setup of MDT/WDS in our org and I am really excited to play further with it. Now for next step I want to implement it across multiple sites. And one of the wall I hit is with the application install based on location, is there any way to use DefaultGateway value in TaskSequence step "options" so it installs a particular app for particular site.I was actually able to achieve this using customsettings.ini and defining the apps there as mandatory apps, see below:
[Settings]
Priority=DefaultGateway, NY, SFO, Default
[DefaultGateway]
172.16.203.254=NY
10.30.1.1=SFO
[NY]
MachineObjectOU=OU=NY Workstations,OU=Computers,<redacted>
; ESET NY
;MandatoryApplications001={80a3773d-6579-4e0c-a96f-29c7e4a020ca}
[SFO]
MachineObjectOU=OU=SFO Workstations,OU=Computers,<redacted>
; ESET SFO
;MandatoryApplications001={80a3773d-6579-4e0c-a96f-29f34jkerwa}
[Default]
<redacted>
; Slack
MandatoryApplications001={23a6b7fa-f1b9-47c2-b83e-b46b3b9cb6be}
; Firefox
MandatoryApplications002={a8444ef9-c4b3-4c62-b15f-a193900b4304}
; Edge
MandatoryApplications003={6e40905b-8bea-4134-bc77-37f34f135ecd}However the issue with this is that it install ESET as the very first app and ideally I would like this to be as last step in Task Sequence.So I have two questions:
Is it possible to use DefaultGateway value in TaskSequence Step options, if so what is the "Task Sequence Variable" name for that? Because "DefautGateway" does not work
Is it possible to assign two values to a default gateway and then use those separately to perform tasks, e.g:
[Settings]
Priority=DefaultGateway, NY-OU, SFO-OU, Default, NY-APP, SFO-APP
[DefaultGateway]
172.16.203.254=NY-OU,NY-APP
10.30.1.1=SFO-OU, SFO-APP
[NY-OU]
MachineObjectOU=OU=NY Workstations,OU=Computers,<redacted>
[SFO-OU]
MachineObjectOU=OU=SFO Workstations,OU=Computers,<redacted>
[Default]
<redacted>
; Slack
MandatoryApplications001={23a6b7fa-f1b9-47c2-b83e-b46b3b9cb6be}
; Firefox
MandatoryApplications002={a8444ef9-c4b3-4c62-b15f-a193900b4304}
; Edge
MandatoryApplications003={6e40905b-8bea-4134-bc77-37f34f135ecd}
[NY-APP]
; ESET NY
;MandatoryApplications001={80a3773d-6579-4e0c-a96f-29c7e4a020ca}
[SFO-APP]
; ESET SFO
;MandatoryApplications001={80a3773d-6579-4e0c-a96f-29f34jkerwa}Will this work? I most likely will go with the Task Sequence step but just want to know this one for curiosity sake.Thanks in advance :)
r/MDT • u/lBlazeXl • Nov 06 '18
Is there a way to have MDT just back up the data and profiles of a machine that I targeted for an install and then after the install apply those profiles/data back?
r/MDT • u/Psjthekid • Nov 20 '19
Hi, MSP on site here and I'm losing my mind here with these new laptops and MDT
We got some new Dell 5593 laptops and I'm tearing my hair out trying to deploy Windows 10 to them.
I start the deployment as normal, PC name and additional programs but each and every time I try to deploy its the same error. Storage driver missing. I've tried downloading the intel drivers for this laptop from Dell website, importing the generic NVMe driver stornvme from my own windows 10 installation locally but I still end up with this error.
Please bare in mind Ive been thrown into this, I know barely anything about the environment here and I know even less about MDT so I'll need extra help. I'll post a screenshot of the deployment share which works for every other machine in the business, just not these brand new laptops.
Dism within PE doesn't detect any drives and I'm at a serious loss here as to what i need to do

r/MDT • u/REO_Spoogewagon • Oct 21 '22
Got a new Precision5570 laptop from work to replace my Precision 3561. I noticed a major difference in audio quality once I started using it and the difference is great enough that it even ruins podcast audio. My over ear headphones sound flat and lifeless compared to the power they once had.
I’ve updated drivers, closed background programs, and basically went through all Reddit and YouTube tutorials I could find. I even talked with IT out of desperation.
If anyone has a solution or reason for the sudden poor audio quality please help me out.
r/MDT • u/mache62 • Apr 02 '19
create 2 different instances of MS Office (using the config mngr) so I can apply one to a student image and one to a staff image? If so do you have any tips?
r/MDT • u/Talgonadia • Apr 12 '19
I'm having trouble getting some PCs to encrypt using hardware encryption and not software. It's a business requirement. I purchased some PCs through a reseller stating I needed hardware encryption. The PCs I came with are Samsung MZVLB256HAHQ-000H2 which are a M.2 SSD. I'm not seeing anything on the samsung website stating it's a drive. capable of doing hardware encryption. Did my reseller screw the pooch? For reference I purchased close to 100 units as a build to order. I did not use the term SED (Self Encrypting Drive) i used the term hardware encryption...
Or are these capable of hardware encryption and i'm just not having something done correctly.
r/MDT • u/jtwillenborg • Jan 07 '20
Does anybody know if Microsoft intends on releasing an update this year? I was hoping there would be one this January like there was last January. Seems like they are starting to forget about MDT.
r/MDT • u/SecretTelephone2177 • Jun 20 '22
Helloooo,
I'm want if don't mind to know how can I do about this subject MDT. Someone worked on it and automate mdt like zerotouch install application script etc... So my manager want me to regenerate the same mdt but I don't muster the script (there is xml and vbs to run on it) could you be able to help me to out this matter. Up to me I know how install and configure mdt as well as you can imagine. Now I want to understand how to automate...
r/MDT • u/KyleJackDaniels • Feb 07 '23
Hello,
I work for a company that refurbs old laptops and PC's and we put a copy of windows onto each device we sell.
I'm new to this, however we have a server which i've set up MDT on and i have it so i can install and image and also capture images. However ideally, id like to install and image and once its nearlly finish instead of logging into the Administrators account, to boot into audit mode.
This is so we can install the windows licence, fetch any drivers and then oobe the device ready to ship.
I've had a look only and not quite sure what to do to get this too work. I understand a tiny bit about the task sequences but when putting in the "run command sysprep.exe etc" script it doesn't seem to work. How could i get this to work?
Many thanks in advance.
r/MDT • u/tryandhelpthem • May 07 '19
Hey just overcame an issue with wds and figured i would post it here incase anyone else had the same problem. my PXE clients would fail to boot with an error. was caused by a windows update see: https://support.microsoft.com/en-us/help/4493470/windows-10-update-kb4493470
fix is to run the following command on the server as per microsoft article.
Open an Administrator Command prompt and type the following:
Wdsutil /Set-TransportServer /EnableTftpVariableWindowExtension:No
r/MDT • u/BigLemon8593 • Feb 12 '26
Oi pessoal! Sou iniciante na área de tecnologia e me desculpem pelo assunto leigo, mas estou tentando criar uma imagem, já gerei ela através do DISM, tenho o arquivo install.wim e preciso transformar isso em uma ISO para q eu consiga bootar pelo pendrive, eu consegui fazer uma iso chamada windows_custom.iso a partir dessa imagem, mas acredito que tenha dado algum erro no processo, algum arquivo corrompido, pois quando fui testar, deu erro de instalação do windows, poderiam me auxiliar com isso, ou me dar dicas de como posso fazer isso?
r/MDT • u/yadershrinknill • Apr 29 '20
We somehow ended up with two deployment shares. Both are the same shares (same share name with the same contents in them) but one is pointing to the UNC location and the other is pointing to the physical drive location. Any ideas on how this happened or how to resolve this issue?
r/MDT • u/AdrianR1991 • May 03 '23
Hello,
If you would please post your scripts for pinning items to the taskbar during the imaging process I should be able to edit them enough and take it from there.
I appreciate all of your assistance
Thank you
r/MDT • u/homoHRrep • Jun 07 '19
I'm trying to put a windows 7 sys image on a Windows XP but am having trouble figureing it out
r/MDT • u/Antishock • Oct 28 '19
I'm looking to know if anyone may have step by step instructions they used to setup a server.
This would be different than an actual guide on how to use MDT.
example:
Started with .iso from MS Volume license site.
Installed MDT adk, selected these options.
Imported OS and installed MDT litetouch on Hyper-v server
How I captured image, if I ran into problems and what errors.
Driver install process, local GPO, and User account
Steps I used to auto complete application install.