- Windows 11 now supports custom user folder names during Out-of-Box Experience (OOBE).
- Users can define the folder name directly in the setup wizard or via Command Prompt.
- Eliminates the default behavior of using part of your Microsoft account email.
On Windows 11, you can now choose the name of your user profile folder directly during the Out-of-box Experience (OOBE), and in this guide, I’ll show you how to complete this configuration.
Previously, when setting up a new device, the system would automatically generate the profile folder name using part of your Microsoft account email address. This folder, located inside the “Users” directory, stores all your default locations, such as Desktop, Downloads, and Pictures. While convenient, this behavior often resulted in shortened or unintended folder names that weren’t ideal.
Over time, users relied on different workarounds to control this name. For example, when setting up Windows 11 with a local account, you could define a custom folder name. However, Microsoft has gradually removed or blocked most of these bypass methods during setup. Other approaches, such as creating a secondary account after installation or modifying the Registry, are still possible but add complexity and potential risk.
The company initially introduced a command-line workaround in recent preview builds to manually define the folder name during setup. Now, starting with Windows 11 build 26300.8068 in the Dev Channel, the experience has been significantly improved. You can specify a custom name for your user folder directly from the Device Name page during setup, without relying on commands or hacks.
The option is only available during the initial setup. If you skip this step, the operating system will proceed with the default naming behavior and continue the installation as usual.
In this guide, I’ll outline the steps to set a custom folder name during the Out-of-box Experience on Windows 11.
- Configure custom Windows 11 profile folder name using wizard
- Configure custom Windows 11 profile folder name using commands
Configure custom Windows 11 profile folder name using wizard
To choose a custom name for your user folder through the setup experience, follow these steps:
-
Choose your region setting on the first page of the out-of-the-box experience (OOBE) after the installation.
-
Click the Yes button.
-
Select your keyboard layout setting.
-
Click the Yes button.
-
Click the Skip button if you do not need to configure a second layout.
-
The computer will automatically connect to the network using an Ethernet connection. You must set up the connection manually on a wireless connection (a security key may be required).
-
Confirm the custom user folder name for your computer on the “New your device” page.

-
Click the Next button.
-
Continue with the on-screen directions to complete the initial setup.
After you complete the steps, Windows 11 will apply the custom name for your account. You can confirm the folder name for your profile under the C:\Users path.
Configure custom Windows 11 profile folder name using commands
To assign a custom name to your profile user folder during the Out-of-box Experience on Windows 11, follow these steps:
-
Open Command Prompt using the “Shift + F10” keyboard shortcut on the “Unlock your Microsoft” sign-in page.
-
Type the following command to open the OOBE directory and press Enter:
cd oobe
-
Type the following command to assign the new name for the account folder and press Enter:
SetDefaultUserFolder.cmd YOUR-FOLDER-NAME
In the command, replace “YOUR-FOLDER-NAME” with the actual name you want to use. For example,
SetDefaultUserFolder.cmd Pureinfotech.
-
Confirm the name is valid and the process has completed successfully.

-
Click the Close button to exit Command Prompt.
-
Click the Sign-in button.
-
Continue with the on-screen directions to complete the setup.
Once you complete the steps, the system will apply the name you want. You can confirm the folder name on C:\Users.
It’s important to note that this feature can only be accessed through the Command Prompt. In the feature, Microsoft may end up adding a screen in the setup to avoid commands.
FAQs about setting the user folder name
Here’s a list of frequently asked questions (FAQs) and answers regarding the option to configure a custom user folder name.
Can I change the user folder name during Windows 11 setup?
Yes, Windows 11 now lets you set a custom user folder name during the Out-of-box Experience (OOBE). In newer preview builds, you can enter your preferred name directly on the Device Name page, eliminating the need for command-line workarounds or post-installation changes.
What is the user profile folder on Windows 11?
The user profile folder in Windows 11 is the directory located in C:\Users that stores your personal files and settings. It includes default folders like Desktop, Downloads, and Pictures, and its name is typically based on your account name during setup.
Why does Windows 11 use part of my email for the folder name?
Windows 11 automatically uses part of your Microsoft account email address to generate the user folder name during setup. This approach simplifies account creation but often results in shortened or unclear folder names, which many users find less practical for file organization.
Can I change the user folder name after installing Windows 11?
Yes, but it’s not recommended for most users. Changing the user folder name after installation requires creating a new account or modifying the Registry, both of which can introduce errors or break system configurations if not performed carefully.
What is the command to set a custom user folder name in Windows 11?
You can use the SetDefaultUserFolder.cmd command during OOBE to assign a custom folder name. Open Command Prompt with “Shift + F10,” navigate to the OOBE folder, and run the command with your desired name before completing setup.
Is the custom folder name option available after setup is complete?
No, the option to define a custom user folder name is available only during initial setup. If you skip this step, Windows 11 will automatically assign a default name, and changing it later requires more advanced and potentially risky methods.
What’s the difference between using the setup option and the command method?
The setup option lets you enter a custom folder name directly in the interface, making it simple and user-friendly. The command method requires using Command Prompt during setup, which offers more control but is less intuitive for most users.
Does changing the user folder name affect installed apps or system performance?
No, setting a custom user folder name during setup does not impact performance or app functionality. However, renaming the folder after installation can break app paths and configurations, which is why defining it correctly during OOBE is the safest approach.
Can I use this feature when setting up Windows 11 offline?
Yes, you can set a custom user folder name even when setting up Windows 11 offline. The option is available during OOBE regardless of internet connection, although some setup screens may differ depending on whether you use a Microsoft account or local configuration.