MDT 2013 - password shown in plain text

Is there a way to prevent passwords being shown in plain text in files when using MDT 2013? I found one in unattend.xml on the server  - on the pc it was not shown.

Thanks in advance for any replies.

August 20th, 2015 9:06am

I am guessing you want to change the password of an user account that has its password showing up in the Task Sequence Unattend.xml. To hide the password, simply open the unattend.xml in Windows System Image Manager (You can also open this by going to the "OS Info" tab under Task Sequence Properties and click on "Edit Unattend.xml" tab). Now when the answer file opens up in WSIM, go to the Tools Menu and select "Hide Sensitive Data". Save and close the answer file. When you open up the unattend again, it should have been set to a non plain-text value.
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 1:32pm

Thank you for your answer. The file I found the password in was located in: DeploymentShare\Control\unattend.xml.

I tried your suggestions but the password is still shown in plain text.

August 21st, 2015 8:56am

You mean DeploymentShare\Control\<Task_Sequence_ID>\Unattend.xml file. Can you please confirm the following?Open up the xml in notepad. Just below the password you should see a tag called <PlainText>. Is it set as True or False? Also is this a local or a domain account?

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 9:01am

Yes - the path DeploymentShare\Control\<Task_Sequence_ID>\Unattend.xml is correct and it is a local account.

It is set as <PlainText>true</PlainText>

August 21st, 2015 9:10am

Ok. When you open this in WSIM using the "Edit Unattend.xml button, is "Hide Sensitive data" already selected under the "Tools" menu? If it is don't deselect it. Close the unattend (not WSIM) file and it should prompt you to save. Click OK and check if the value changes. <PlainText> should be set to false. Please confirm.
  • Marked as answer by Micknet Friday, August 21, 2015 9:47 AM
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 9:18am

When I tried opening it earlier using the "Edit Unattend.xml" button I got a message saying "This could take a log time" so I cancelled and used Windows System Image Manager and there was already a tick beside "Hide Sensitive Data" so I saved the file again but the password was still visible.

I'll try opening the file again using the "Edit Unattend.xml" button and I'll wait for it to open.

Thank you for your replies.

August 21st, 2015 9:28am

Ok - I restarted the server and tried opening it using the "Edit Unattend.xml " button and the " Hide Sensitive data" option is selected. I closed the file as you said and the password is no longer in plain text. Thank you very much for your help.
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 9:47am

Glad to be of help :)
August 21st, 2015 10:03am

Is there any setting that will always cause the password to be encrypted?

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 10:17am

How are you adding the Accounts? If you are adding them through WSIM, then that setting will automatically encrypt them.
August 23rd, 2015 8:52am

The account is on the PC that the image is captured from.

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 3:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics