Remove drive letter from partition during Windows 7 unattend.

Answered Remove drive letter from partition during Windows 7 unattend.

  • Monday, January 28, 2013 5:17 PM
     
     

    Hi.

    I have two partitions created during Windows 7 unattend.

    • One is for the Windows installation.
    • The other is to be a hidden partition that I don't want a drive letter assigned to (I don't want it "visible" in explorer from Windows 7).

    How can I accomplish this?

    I have tried DISKPART as a runsynchronous command (which removes the letter during setup), but the drive letter returns and is visible when setup completes.

    • Edited by MrBeatnik Tuesday, January 29, 2013 11:58 AM
    •  

All Replies

  • Tuesday, January 29, 2013 11:59 AM
     
     

    I have altered the question slightly :)

    Any help would be appreciated - I can't seem to remove the drive letter before setup completes.

  • Tuesday, January 29, 2013 2:09 PM
     
     Answered

    Was easier than I thought.

    I just omitted the <letter> tag from the unattend, even though the documentation says "If you do not specify a letter, this setting defaults to the first available letter".

    http://technet.microsoft.com/en-us/library/cc766360(v=ws.10).aspx

    • Marked As Answer by MrBeatnik Tuesday, January 29, 2013 2:09 PM
    •