IT Nota

  • Home
  • How To
  • .NET
  • WordPress
  • Contact

Move the Users Directory to a Different Drive in Windows 8

This is a method that’s commonly used in a hybrid SSD–HDD solution, but it can be used in any settings for those who don’t want to store their Users directory in their main C: drive. And I like this solution better as it’s more straightforward than the registry hacks.

This post just shows quick steps on what to do without giving too much the why as it’s already best explained elsewhere that can be followed from the links provided at the bottom of this post.

What to Prepare

  • This should be obvious, but make sure you have either Windows 8 DVD or USB handy where you can boot from in case things go wrong.
  • Your target HDD must be formatted in NTFS.
  • All data backed-up (another obvious one).

Steps

  1. Delete all contents in LocalTemp folder in your C: drive (i.e., C:\Users\itnota\AppData\Local\Temp\*.*). I happened to encounter “Access denied” error while doing the robocopy and the system kept trying to copy one *.tmp file for three hours before I realized what it was trying to do. After cleaning out the whole Temp directory, the whole process took only a few minutes. Make sure you also exit all running applications before cleaning the whole folder.

  2. Boot into Command Line. Press “the Windows logo key”+C or point your mouse to either top-right or bottom-right corner, select Settings, and then click Change PC Settings.

    Windows 8 Settings

  3. Click General, then click Restart now.

    Change PC Settings Windows 8

  4. Once you see the blue screen shown below, click Troubleshoot, Advanced options, then select Command Prompt. (Images were taken from HowToGeek)

    Windows 8  PC Settings Options
    Windows 8 Troubleshoot

  5. The PC should reboot and show a command prompt window. And this is where things can be a bit tricky. You need to figure out which drive letter the SSD (source) and HDD (destination) have and they may not necessarily be the same as what you see in your Windows environment (as seen in File Explorer). So if you open File Explorer (“Windows logo key”+E), your C: drive may not be the C: drive in the command prompt Window. This is what you need to find out and make a note of it.

  6. The easiest way is just doing a dir command on each drive by typing:
    C:

    Then type:

    dir /p
    

    Repeat this for the destination drive. As an example from my own system, here’s what I found:

    DriveFile ExplorerCommand Prompt
    SSD (Source)C:H:
    HDD (Destination)F:G:
  7. Once you get this part figured out, start copying Users directory. I’m going from the example above, you need to substitute the drive letters according to what you find in your system.

    Type:

    robocopy /copyall /mir /xj H:\Users G:\Users

    Make sure there aren’t any errors in the FAILED column.

  8. Delete the Users directory from the SSD.

    rmdir /S /Q H:\Users
  9. The last part is to create a directory junction (soft link) from SSD to the HDD. And here’s another tricky part. While you use the drive letter of the source from the Command Prompt (H:), you cannot use the drive letter of your destination, instead, you have to use the drive letter of your destination from the Windows environment / File Explorer (F:).

    mklink /J H:\Users F:\Users

That’s it. Close the Command Prompt window and click Continue. Your PC should reboot and prompt you to log back in to Windows.

At the end of the process, you should be able to tell if it works. Just check your Users folder on C: drive and compare it with the new destination. The Users folder on C: should look like a shortcut icon, and the real Users folder on the destination (i.e. F:) is a regular folder. If you check the Properties, both should show the same size.

Windows 8 Users Folders Comparison

Troubleshooting

If you’re signed out as soon as you logged in, this might be caused by directory junction was pointed to a wrong drive, make sure you perform the last step right. But at this point, you won’t be able to fix it without rebooting from either Windows 8 DVD or USB.

Once the installation menu shows up, select Repair Your Computer and select Advanced options and Command Prompt. Delete the created junction (Step 8), and re-create it with the correct drive letter (Step 9).

Please share this post if you find it useful.

Known Issues

Certain Windows Security Updates (e.g., KB2781197) cannot be automatically applied after the change. Please refer to Windows 8 Updates After Moving User Profile on how to resolve this.

Further Reading

Move the Users Directory from SSD to HDD in Windows 8
Move the Users Directory in Windows 7

January 4, 2013 Filed Under: How To Tagged With: Windows, Windows 8

Buy me a coffee?

Buy me a coffee If you find any of the articles or demos helpful, please consider supporting my work here, you'll have my big thanks!

Buy me a coffee Support this site
Buy Me a Coffee?

Categories

  • .NET
  • Coding
  • Cybersecurity
  • Database
  • How To
  • Internet
  • Multimedia
  • Photography
  • Programming
  • Resources
  • Review
  • Tips and Tricks
  • Uncategorized
  • Use Case
  • WordPress
  • Writing

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Tags

.NET .NET Core AdSense ASP.NET Cdonts Dll Classic ASP Code Editor ETL FSharp Genesis Framework Git Google HP Asset Manager HTML5 Hugo IIS Information Security Internet Internet Information Services iOS JAMStack Linux macOS Microsoft Microsoft SQL Server MVC PHP PowerShell Python Simple Mail Transfer Protocol Smtp Server SQL SQL Server SSIS SSMS SSRS Sublime Text Visual Studio Visual Studio Code VPN Windows Windows 8 Windows 10 Windows 2012 Windows Server

Copyright © 2011-2025 IT Nota. All rights reserved. Terms of Use | Privacy Policy | Disclosure