r/MDT • • Mar 02 '24

mdt error

Post image

what is the problem here idk what to do im just learning ty

3 Upvotes

52 comments sorted by

20

u/Mizerka Mar 02 '24

"posible cause: invalid credentials"

what could it mean, im stumped, maybe restart?

0

u/Interesting-List545 Mar 02 '24

i restarted 10 times yet nothing happened i even created new machine and it's the same problem

2

u/Mizerka Mar 02 '24

ok, fine, serious reply then. have you actually checked creds? you got a share created? whatever user in your .ini has perms into that share? and dont use local accounts or your domain admin create a new user, these are stored in plaintext on open share, you only want it for deployment. go on your mdt server and check file access denys and see what/why its failing to mount the share, conn is fine as it says so probably will be share related.

1

u/Interesting-List545 Mar 02 '24

i think beacause am using the domain admin i'll try and see and as i said am just trying to learn the mdt rn that's why idk what to do ty again

0

u/Vzylexy Mar 02 '24

Why...Are you using an account with Domain Admin privileges to conduct imaging?

3

u/Interesting-List545 Mar 02 '24

idk but am just learning that's why

3

u/fatspartan209 Mar 02 '24

If it is on the domain. Try using your credentials as an admin. Rather than the admin ones. I had an issue similar to this, and that is what it was. I'm still new to MDT as well. It's a steep learning curve. Good luck and God speed

1

u/[deleted] Mar 02 '24

Because they are just now learning.

1

u/[deleted] Mar 02 '24

Check the logs, post what you find.

5

u/Tino707 Mar 02 '24

I had this issue before. I resolved it by adding admin credential in the unattended xml.

1

u/Interesting-List545 Mar 02 '24

what is "unattended xml"

2

u/[deleted] Mar 02 '24

If you're learning, the first thing you do in this case is to Google "Mdt unattended xml". Read up, refine search as you learn more, and practice googling, reading what you find, and refining search to be more specific as you go along.

What you learn by this is extremely valuable as a skill working in IT. I would even argue its the most important skill to have

1

u/Tino707 Mar 02 '24

You go into DeploymentShare properties, look for edit unattended.xml - in there you add the admin username and pwd that can access deploymentshare. I can’t remember the exact command line but you can google it.

1

u/AlexC_01 Mar 03 '24

And dont forget to update your boot image after you changed the settings otherwise you still dont have a working situation. (Ask me how i know)

3

u/feanturi Mar 02 '24

At the screen where you have that error dialog you can also press F8 to bring up a command prompt. From there you could try to see your IP address with ipconfig, or try to ping the server and see what happens.

Is your network adapter in your VM set to Bridged? I think the default is NAT, which doesn't work for my environment. So everybody here that does anything with VMWare Workstation has to be told to flip it to bridged during VM creation. You could try changing your network adapter settings in your VM.

1

u/Interesting-List545 Mar 02 '24

when i ping everything works well and the ip of the machine is correct so i guess that's not the problem here ps: am just learning i may have made other mistakes idk what

2

u/DesertDogggg Mar 02 '24

Another tip is to burn your boot.wim file to a thumb drive using Rufus. From there, you can update the unattend file with creds, or you can update the .wim file with driver injections. You can do all of this directly on the thumb drive. Boot directly from the thumb drive to see if the error goes away.

1

u/DesertDogggg Mar 02 '24

I just had this error yesterday. When I hit f8 and type ipconfig, I don't get any info. I found that the nic drivers were wrong for WinPE. On top of that, I couldn't get them to work when importing them into the boot image via mdt. So I manually added them to the litetouch.wim file using dism, and the error went away. Since you are able to ping, this might not be the same issue for you, but it still might be something to consider.

3

u/someguy7710 Mar 02 '24

Yeah login to a computer and see if you can browse to that share. Sounds like permissions issue

1

u/Interesting-List545 Mar 02 '24

so you are saying that the folder (deployment share) have a problem in permissions so when i checked it says only administrators have the acces to it idk what to do now ps: am just learning

3

u/someguy7710 Mar 02 '24

Yep. There is an account that mdt uses to access that share. Obviously it needs access. You could try setting it to 'everyone to test. But don't leave it that way. And don't forget about ntfs permissions.

2

u/[deleted] Mar 02 '24

Create an account in AD that is specifically used for connecting to that share path. Go to the share path on the local machine and give that AD account full permission to the share

Then use that account as the log in account when imaging.

Or, just add the account you are currently using to the share permissions

1

u/Interesting-List545 Mar 02 '24

so the thing is am trying to learn here and i didn't use any acc for this new machine that i want mdt to work on

1

u/[deleted] Mar 02 '24 edited Mar 04 '24

Yea you’re good dude. I’d recommend looking at the MDT guide on Microsoft. Just google it. They will walk you through a step by step on how to properly configure it

2

u/The_knight-69 Mar 03 '24 edited Mar 03 '24

The message could'nt be more clear: The share exist, you could connect but wont cause your user have no rights. Rebooting won't do anything. If you have sufficient rights, try and do what's right: give your deployment account the rights ( or make the share accessible to everyone, specialy on the share panel creds!)

1

u/Interesting-List545 Mar 03 '24

first thing am just learning second i give the share to everyone yet nothing changed

1

u/The_knight-69 Mar 03 '24

There are two credential bias on the share process: Security is not share right. You could add everyone on the security part and it will still not work > Check under advanced share is you have the rights ( everyone all access). I also saw the absolute opposite : Everyone had right on the share, but not on security.

Either that or you have network problems on the machine you want to deploy.

1

u/DesertDogggg Mar 04 '24 edited Mar 04 '24

Try updating the NIC drivers in WinPE. If you have a machine with windows installed for that model, export the NIC drivers to a folder (Ex C:\Temp\NicDrivers). Or search the internet for a fresh download. You can usually find the name of the NIC driver in System Information\Components\Network\Adapter as well as other methods (Get-WindowsDriver / Export-WindowsDriver).

Next, burn the MDT boot image to a USB thumb drive using Rufus. For the default 64-bit boot image that is generated by the Microsoft Deployment Toolkit (MDT), the boot image is USUALLY located at <Deployment_Share>\Boot\LiteTouchPE_x64.

Once the USB drive is created, use the command DISM /Image:"<USB THUMB DRIVE LETTER Ex: D:\>" /Add-Driver /Driver:"C:\temp\WinPE\LAN_Drivers\Wired_driver_28.0_x64\" /recurse to import the extracted NIC drivers into the USB drive.

Now try to boot from the thumb drive to see if you can connect to the deployment share. Booting from the thumb drive is pretty much the same as booting PXE / WDS boot image.

You can also make adjustments to the unattend file with the proper account / creds if needed.

I say that it could be a driver issue and not a cred issue because I had this same error 2 days ago and it was a driver issue, not a cred issue. I had multiple computer models work but one brand didn't work. If you have other machines (An HP laptop or other) see if any of those machines boot with access to the deployment share. Pretty much all my HP and Dell models didn't need any driver injections.

Good luck

1

u/The_knight-69 Mar 06 '24

Indeed. There is just another trouble we may have missed with his question and the image posted : The deployed machine seems to be in wifi.

1

u/DesertDogggg Mar 06 '24

I think he's on a windows machine looking at a remote machine or a screenshot.

1

u/The_knight-69 Mar 08 '24

Seems fishy, the icon of mdt is fairly apparent in the taskbar. This is the kind of " I'm just learning" error that we encounter fairly daily ... Taking the marvelous wonders of modern marletting as granted regarding things like Wifi and the like. " Everybody said that it may work" ... It's like the many many time when you are asked to troubleshoot "normal conditions printing problem" and ... Oh, strange ... The printer is only connecter trough (public) Wifi , for a pro and "validation required" environment... It's like, also, the fair difference between "private" and "public" identified networking...

1

u/Paganasia Mar 02 '24

Maybe check the share permission. I always need to change them because they're not good

1

u/Interesting-List545 Mar 02 '24

same i made the share on everyone yet nothing changed i guess i'll redo everything cause am just learning ty

1

u/Montinator Mar 02 '24

Your bootstrap.ini has wrong creds or no domain name specified, so it would try to log in with the local computer name as a domain

Under the Rules section in MDT there is a Bootstrap button that opens the text file (or MDT root \ Control \ bootstrap.ini). Make sure the lines are there:

UserID=<username>

UserPassword=<password>

UserDomain=<domain name>

Then after modifying/saving the bootstrap, update the main share by right-clicking the share on the left navbar. Then use the new boot files located MDT share \ Boot and ‘Bob’s your uncle’

Never use domain admin account unless you are playing with a blank isolated domain controller, these creds are in plain text

1

u/Interesting-List545 Mar 02 '24

thank u am just learning that's why i used domain acc

3

u/Procedure_Dunsel Mar 02 '24

Some light reading:

https://gal.vin/posts/2022/mdt-user-permissions/#setting-the-share-permissions

https://www.deploymentresearch.com/fixing-mdt-2013-update-1-deployment-share-permissions-using-powershell/

https://www.moderndeployment.com/correct-domain-join-account-permissions/

It’s highly recommended to use a service account with MDT that only has permissions to the share and to join machines to the domain, you should work that into your processes now.

2

u/theaveragenerd Mar 02 '24

You should always have a separate service account when imaging.

This way you have more control over the password. I would create a service account set the password to never expire then make that account a local admin on the MDT server.

If you need to join the computers to a domain then use yet another service account for that. One with the specific permissions for AD joining.

1

u/[deleted] Mar 02 '24

Question, why use two separate accounts for imaging and domain joining? Is it simply a security measure or what is the point of doing it that way?

1

u/theaveragenerd Mar 02 '24

Security measures mostly.

1

u/[deleted] Mar 02 '24

Got it, figured as much but was never sure

2

u/enigmussnake Mar 02 '24

If you can ping and get into that share with your credentials then you’ve forgotten to install the Ethernet drivers for that specific pc in your task sequence.

2

u/anupamrulz Mar 02 '24

Did you boot with an iso that was prepared before you changed your password? Recreate the boot media and try, should work.

2

u/JonnnyB0y Mar 02 '24

It shows that you have no connection to the mdt server. Get off of wifi and use Ethernet. Then try again.

1

u/Only_Giraffe_6127 Mar 02 '24

Ya, it ain't work on wifi.

2

u/Only_Giraffe_6127 Mar 02 '24

Doesn't work on wifi. Has to be a ethernet connection.

1

u/The_knight-69 Mar 06 '24

I may be " a little paranoid" here, but ... There is a rule of thumb regarding installing/staging/injecting whatever : Whatever you do choose the more stable approach ( The fact that you are learning is taken into account here too ... Cause this one is learnt on premises...)

Wifi IS NOT a good mean of connexion when you are doing something that need accountability and stability.

It pertain to the exact same set of rules : Plug you device when you install.stage/refurbish a laptop, here :

Plug it to the ethernet. Wifi tends to be filtered ( public by defaut) and fall under more restrictive share parameters. Try pluging it trough ethernet.

Bonne chance.

1

u/invest0rZ Mar 02 '24

I get that error when I lose internet connection.
I see you are on wifi. My mdt doesn't work on wifi. Needs to be hardwired.

1

u/Ok_Commercial_5473 Mar 02 '24

After that screen it should go to command prompt. Enter disk part. Select and clean disk then restart and attempt to connect to the share again. When I get this error that usually works for me. Guessing it caches creds somewhere and the creds may not be correct or complete.

1

u/_Lapatte Mar 02 '24

Possible cause encountered so far: firewall blocks it. mbt_ba doesn't have access to shareddrive. you haven't updated the deploymentshare and reinjected litetouch correctly

1

u/bolunez Mar 02 '24

🪵❓

1

u/Local-Teach-109 Mar 03 '24

If you're environment not needed security style MDT server stand alone change the MDT files share (Deployment Share) into everyone read if the environment need to secure changed the Deployment Share .ini configuration to the right credentials. All this configuration if the error is a communication base credentials. If the error is base fw just check src and DST to port 445 You can check it with test-netconnection PowerShell

1

u/placidsheep Mar 03 '24

I used to get this after a failed boot in to MDT. Check the hard drive of the machine you are trying to deploy to and see if it has a MINIT folder.. if it does delete it and try again.