How to set the location of user profile as drive D by default.

Ka Ho Cheng 285 Reputation points
2024-06-07T04:12:45.2133333+00:00

We are creating the Windows image though MDT for purchased over 500 qty desktop PCs.

It is requested, the Windows should be installed in drive C however all user profiles (including desktop & My document) should be located in drive D.

I understand that the configuration should be applied when the image creation so that all profiles can be applied to drive D.

May I know how to configuration when using MDT to create Windows 10 image?

2nd, how to apply to Windows 11 when I using Windows 10 to in-place upgrade to Windows 11?

Thanks.

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,949 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,954 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hania Lian 17,771 Reputation points Microsoft Vendor
    2024-06-07T05:37:50.7833333+00:00

    Hello,

    To configure the user profiles to be located on drive D during the Windows image creation process using MDT, you can follow these steps:

    1. Open the MDT Deployment Workbench and navigate to the task sequence that you want to modify.
    2. Right-click on the task sequence and select "Properties".
    3. Click on the "Task Sequence" tab and scroll down to the "Custom Tasks" section.
    4. Click on "Add" and select "New Group".
    5. Name the group "Move User Profiles to Drive D".
    6. Click on "Add" again and select "New Task".
    7. Name the task "Move User Profiles to Drive D".
    8. In the "Command Line" field, enter the following command: xcopy /s /e /h /k /o /x %systemdrive%\Users\*.* D:\Users\
    9. Click "OK" to save the task.
    10. Click "OK" to save the task sequence properties.

    This will copy all user profiles from the default location on drive C to the new location on drive D during the deployment process.

    As for upgrading to Windows 11, the process should be similar to upgrading to a new version of Windows 10. You can use the same task sequence in MDT to perform the upgrade, and the user profile configuration should still apply. However, it's always a good idea to test the upgrade process in a lab environment before deploying it to production systems.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.