MSFN Forum: Hide WDS user/domain credentials - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Hide WDS user/domain credentials The credentials are visible in unattend.xml

#1 User is offline   unattendedxml 

  • Group: Members
  • Posts: 6
  • Joined: 11-August 11
  • OS:none specified
  • Country: Country Flag

Posted 11 August 2011 - 05:29 AM

Hi,

when deploying Windows 2008 R2 through WDS, a unattend.xml file is left. This exposes login to the WDS server:

         
<component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">            <WindowsDeploymentServices>                
<Login>                    
<WillShowUI>Never</WillShowUI>                    
<Credentials>                        
<Username>Administrator</Username>                       
 <Domain>domain.local</Domain>                        
<Password>password</Password>                    
</Credentials>                
</Login>               
 <ImageSelection>                   
 <InstallImage>                        
<ImageName>win7</ImageName>                       
 <ImageGroup>win7</ImageGroup>                        
<Filename>win7std.wim</Filename>                    
</InstallImage>                    
<WillShowUI>Never</WillShowUI>                   
 <InstallTo>                        
<DiskID>0</DiskID>                        
<PartitionID>1</PartitionID>                    
</InstallTo>               
 </ImageSelection>            
</WindowsDeploymentServices>





  • Is there an option to hide the WDS server login info?
  • Does the login info have to be an administrator of the WDS server/domain?
  • Even after deleting the unattend.xml in C:\Windows\Panther\ I do not trust the login info to be safe



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,349
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 August 2011 - 07:56 AM

The user account only needs to have read permissions to the server. I know this is also a concern for internal use but while I leave no trace of a username/password on the system you cannot ever be too careful. Even in an enterprise environment, you don't want any curious employees logging in and start clicking buttons.... so here is what I do.

I create an account in AD, and leave it assigned to the Users group. Of course make a password.
Then give it read permissions on any file share or the Reminst folder. It doesn't need anything else.

This way if people get the password it won't matter because that account can't do anything, and it can only access the deployment shares you specify.
You NEVER need the Domain Admin account for anything. Work with users and OUs to handle anything you need to do. Create an account that can only do Domain Joins, create one that can only be used for RDP, etc.

Otherwise, you can try using a FirstLogonCmds that deletes that XML file.

#3 User is offline   unattendedxml 

  • Group: Members
  • Posts: 6
  • Joined: 11-August 11
  • OS:none specified
  • Country: Country Flag

Posted 13 August 2011 - 10:58 AM

Thank you - I have created a user with access to only this share. It works.

I find this user/password in the XML file to be a design flaw.

THANK YOU!

#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 August 2011 - 03:39 PM

View Postunattendedxml, on 13 August 2011 - 10:58 AM, said:

Thank you - I have created a user with access to only this share. It works.

I find this user/password in the XML file to be a design flaw.

THANK YOU!

removes it from installed xml found in Panther folder after install <Password>*SENSITIVE*DATA*DELETED*</Password>
just delete original xml

#5 User is offline   unattendedxml 

  • Group: Members
  • Posts: 6
  • Joined: 11-August 11
  • OS:none specified
  • Country: Country Flag

Posted 16 August 2011 - 03:11 AM

Well the XML does not contain SENSITIVE*DATA*DELETED for this user. Should it be like that? It only hides the domain logon password, if I would use that.

Deleting the XML is part of the solution. However, it is still not save since you can restore the XML after deletion with the help of a couple tools.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy