question

PaulBailey-7821 avatar image
0 Votes"
PaulBailey-7821 asked BrechtMo-4790 edited

Microsoft Deployment Toolkit | Cannot Connect to Deployment Share

When I do a PXE boot and choose the Lite Touch Windows PE (x64) boot image option I receive the following wizard error. 'A connection to the deployment share (\\servername\deploymentshare$) could not be made. Connection OK. Possible cause: Invalid Credentials.

I did have MDT working successfully at one time. I assume the issue is due to a password change we made on a local account. I am trying to figure out where to update the credentials.

I updated the username and password in the Rules section of the Deployment Workbench > Task Sequences. That did not help. I updated the credentials under the BootStrap.ini file at the same location without any luck.

Where can I update the credentials?

mem-mdt
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BrechtMo-4790 avatar image
1 Vote"
BrechtMo-4790 answered BrechtMo-4790 edited

I encountered the same error even though nothing changed in our environment.

Using F8 during the MDT wizard and manually trying to map the MDT network drive using "net use" got me a more precise error pointing me in the right direction.

In my case it was the bios clock which was wrong, causing the authentication to fail.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered

Hi,

Thanks for your reply.

Have you updated deployment share after you changed bootstrap.ini file as AllenLiu suggest? Please click deployment_share, and then in the Actions pane, click Update Deployment Share (where deployment_share is the name of the deployment share you want to update).

Generally, we need to update the deployment share any time we make changes that affect the boot image. That would include:

  • New or modified mass storage and network drivers that need to be injected into the boot image.

  • Changes to the boot image settings (e.g. adding fonts, changing the RAMdisk size)

  • Changes to the bootstrap.ini file

  • Changes to any of the files in an "extra" folder

The update process has been optimized to do as little as possible, so it knows what changes need to be made. If there were no changes, it should finish very quickly.

Best regards,
Simon


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PaulBailey-7821 avatar image
0 Votes"
PaulBailey-7821 answered

I did try that with a domain user and still receive the Invalid credentials message. This is what I have in the bootstrap.ini file:

[Settings]
Priority=Default

[Default]
UserDomain=mydomain.org
UserID=DomainUser
UserPassword=P@ssw0rd
DeployRoot=\\SERVER\DeploymentShare$

This user does have permissions to the deployment share. Do I need to copy the Lite Touch Windows PE boot image to a particular location? I see that the wizard is supposed to copy the file to the deployment share..

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AllenLiu-MSFT avatar image
0 Votes"
AllenLiu-MSFT answered AllenLiu-MSFT edited

Hi, @PaulBailey-7821
Thank you for posting in Microsoft Q&A forum.
The credentials under the BootStrap.ini file is is written to the Lite Touch Windows PE boot image when we update deployment share. So after you update the credentials under the BootStrap.ini file, did you update deployment share again to generate the new boot image? And update the new boot image in WDS before you do a PXE boot.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.