none
Command Line to attach old VHDX profile container RRS feed

  • Question

  • Hello,

    I try to create a logon script for users that already have a profile container. I would like to copy some files from the old vhdx to the new vhdx. My problem is that I can't attach the old vhdx file to an alternate folder (for example C:\temp\%username%).

    Profilefolder: \\server\share\%username%_%sid%\profile_%username%.vhdx

    Old Profile: \\server\share\%username%\profile_%username%.vhdx

    Now I would like to create a script that connect the old VHDX to take some files from there. How can I connect the old profile to C:\temp\%username%?

    My idea is to connect the old vhdx (without fix drive letter). Then copy the necessary files with xcopy commands. When finished, detach the old VHDX.

    Thanks a lot in advance.

    Cheers,
    Roberto


    • Edited by robpere Tuesday, November 26, 2019 10:55 AM
    Tuesday, November 26, 2019 10:54 AM