User Folders - Change Default Location

How to Change the Default Location of User Folders in Windows 7 and Windows 8

   Information
This will show you how to change (move) the default location of your account's C:\Users\(user-name) folders to another location of your choice instead in Windows 7 and Windows 8, and still have access to the user folder from the Start Menu (Windows 7 only) location.

   Tip
If you are just wanting to save HDD space, then you might consider this below to be able to access the files from your libraries with the files actually located where you like instead. This way you will not have to worry about any potential issues that come with moving user folder locations. For example, whatever partition you move your user folders to will now be included in a system image in Windows 7 and Windows 8.

  • Create a new folder at any location you want.
  • Move any files you want into the new folder.
  • Include the new folder into a library (Windows 7 or Windows 8) of your choice.
  • If you like, you can also set the new folder to be the default save to location (Windows 7 or Windows 8) for the library as well.
   Warning
If you change the default location of your Favorites folder in Windows 8 or 8.1, your Favorites in Internet Explorer will no longer be available until you move your Favorites back to the default "C:\Users\(user-name)" location.


EXAMPLE: User Folders
NOTE: This is at the default C:\Users\(user-name) location.
Example1.jpg

Windows_8.1.jpg



OPTION ONE

To Change Main User Profile Folder Location


1. For how, see:
http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html

OR

How to Relocate User Profiles to another Partition or Disk in Windows 8



OPTION TWO

To Change User Folders Location from within User Profile Folder


1. If you a part of a homegroup, then you will need to change the homegroup settings to no longer share the user folder (ex: My Music) that you want to move first by unchecking the folder and clicking on Save Changes. (see screenshot below)
NOTE: This is so the user folder (ex: My Music) will not be shared on the homegroup anymore.
Homegroup.jpg
2. In Windows Explorer, navigate to where (ex: D: drive) you want to move the default user folder (ex: My Music) location to.

3. Create a New Folder by right clicking or press and hold on a empty space in the main window there, and click/tap on New and Folder. Name the new folder without spaces (ex: "Music" for My Music) for the user folder that you want to move there. (See screenshots below)
NOTE: The name that you type in for the new folder will be what you see as the user folder name in the Start Menu (shell:UsersFilesFolder) location when finished with all of these steps. It would be best to use the same name as the user folder to avoid confusion.
Rename1.jpg

Rename2.jpg

4. Close this window. (See screenshots above)

5. Press the Windows+R keys to open the Run dialog, type shell:UsersFilesFolder, and press enter.
NOTE: This will open your C:\Users\(user-name) folder.

6. Right click or press and hold on a user folder (ex: My Music, My Documents, My Pictures, etc.....) that you want to move the default location for, and click/tap on Properties. (See screenshot below)
Right_Click_On_A_User_Folder.jpg
7. Click/tap on the Location tab, and Move button. (See screenshot below)
Properties1.jpg
8. Navigate to the same location as in step 2 and 3 above, then select the renamed new folder (ex: Music), and click/tap on the Select Folder button. (See screenshot below)
Properties2.jpg
9. Click/tap on OK. (See screenshot below)
Properties3.jpg
10. Click/tap on Yes. (See screenshot below)
Properties4.jpg
11. After a few seconds when the location has been changed, the Properties window (screenshot under step 9) will then close.

12. Check back at the C:\Users\(user-name) location to make sure that the old user folder (ex: My Music) that you moved is no longer there. If it is, then make sure that the contents of the folder were moved to the new location, and delete it. (See screenshot below)
NOTE: If you are unable to delete the folder, then restart the computer and try again.
Finished2.jpg
13. You will notice that the folder at the shell:UsersFilesFolder location and the new location (ex: D drive) you moved the user folder to, now has the default user folder (ex: My Music) icon. (See screenshot below)
NOTE: The Start Menu in Windows 7 now opens the user folder from the new location (ex: D: drive) that you moved the user folder to.
Finished.jpg
14. If you a part of a homegroup, then you can now change the homegroup settings back to share the user folder (ex: My Music) again if you like by checking the folder, and click/tap on Save Changes. (see screenshot below)
Homegroup.jpg
   Tip
If you wanted to restore the default location of the user folder, then see:

How to Restore the Default Location of User Folders in Windows 7 and Windows 8


That's it,
Shawn




 
Last edited:
  • Like
Reactions: Lee
Great news. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks for posting...I have an SSD for my system drive and this worked great to move my main user accounts to a HDD.

I didn't have any luck moving the "Public" or "Guest" folders over, though. I could usually 'see' the location tab, but there was no option to move them, even when logged in as a Sys Admin. Is this not allowed? Call me chicken, but I'd rather not get into registry if I don't have to!

Not sure if this is relevant, but I deleted the user account that I used to initially set up Win7 RTM, and created a new sys admin account (set up as a sys admin, not a 'normal' user).

Thanks!

Update: I'm half-way there. I found this thread on this forum about enabling the 'real' Adminstrator account.
http://www.sevenforums.com/tutorials/507-built-administrator-account-enable-disable.html

That let me move *most* of the "Public" folders (except for Public Recorded TV and Public Desktop). This could be a problem if Media Center starts recording to my SSD!

Still couldn't move the Guest folders.
 
Last edited by a moderator:

My Computer

OS
Windows 7
Just thought I'd add/share that you can also move the Roaming, Local, and LocalLow folders as well

Start > Run appdata will show you the three folders
Right click select properties
and you'll see there's a location tab just like the other folders mentioned in this guide
 

My Computer

Computer Manufacturer/Model Number
HP DV9033CL
OS
Windows 7 Professional 32 Bit
Memory
2 GB
Graphics Card(s)
nVidia GeForce Go 7600
Sound Card
Conexant HD Audio Board
Screen Resolution
1440x900
Internet Speed
aDSL 1.5Mbps / 256 Kbps
great tip, thanks! Any ideas on those public folders that I couldn't move (previous post)?
 

My Computer

OS
Windows 7
Hello Sallbee, and welcome to Seven Forums.

I would strongly advise against moving the Public folders. These are shared between all user accounts on the computer. If you move the public folders location, there's a good chance that these will no longer work and be able to be shared by all of the user accounts anymore.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
How to Change the Default Location of Windows 7 User Folders


Excellent tutorial and forum compliments :) .
I used something similar on Vista 64x and now I am going to do it on Seven using your tutorials.

I read around that there is the possibility of moving the entire Users Folder through different approaches.

1.Editing the registry

How to Change User Profile Default Location in Windows 7 | Windows 7 hacker

2. use of wklink, with procedures like this (in the command prompt after booting from installation DVD)

1. MKDIR D:\Users
2. ROBOCOPY X:\Users D:\Users /MIR /E /XJ
3. RMDIR /S /Q C:\Users
4. MKLINK /J C:\Users D:\Users


An alternative approach similar to yours is to create additional folders locations (docs, music, etc that you have in another drive) to the 'Libraries' and make them the default location.

http://www.sevenforums.com/196037-post16.html



What do you think about these approaches?

I have found in some blogs negative comments about the strategy of changing the location of each data folder (I am definitively using it :)) due to the fact that you can only change specific folders such as Documents, Pictures, etc. It doesn't solve the problem of moving hidden application data or other folders to the new location.

Thanks again
 
Last edited:

My Computer

OS
Windows 7 Professional 64bit
Hello Quantico, and welcome to Seven Forums.

I have not tried this particular method, but personally I think changing the location of the entire user folder itself is asking for problems. It seems like to many things could be broken without it being in the default location, or if one mistake was made.

I'll have to do some testing on it to see though. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Brink,

Let us assume I want to move the “My Documents” folder from “C” to “D”. Then what will the scenario be folder-wise the next time I need, for whatever reason, to reinstall Windows 7 from scratch?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built
OS
Windows 7 Ultimate x64
CPU
Intel Core i7 920
Motherboard
Asus P6T Deluxe V2
Memory
6 Gb 3x2 GB Corsair DD3 1600 MHz
Graphics Card(s)
Sapphire HD7870
Sound Card
SoundMax onboard
Monitor(s) Displays
Sony LCD 20. 1"
Screen Resolution
1600 x 1200
Hard Drives
3 HDDs 320GB each
PSU
Corsair GS800
Case
Cooler Master Mystique 632
Keyboard
Logitech diNovo Edge
Mouse
Logitech MX Performance
Antivirus
Norton AntiVirus
Browser
IE10
Other Info
HP 6980 wireless inkjet printer
Scanner HP 4600
Zyxel Router ADSL/WiFi P-660HW
Microsoft Office Ultimate 2007
Adobe Photoshop & Illustrator CS5
Wacom Intuos 1 Tablet A4
Brink,

Let us assume I want to move the “My Documents” folder from “C” to “D”. Then what will the scenario be folder-wise the next time I need, for whatever reason, to reinstall Windows 7 from scratch?

Hello Sinclair, and welcome to Seven Forums.

Since it is from scratch, I would backup the contents of your moved "My Documents" folder. After you reinstall Windows 7, repeat the tutorial to move the folder again, then just copy the contents back into it.

Hope this helps,
Shawn
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thank you Brink
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built
OS
Windows 7 Ultimate x64
CPU
Intel Core i7 920
Motherboard
Asus P6T Deluxe V2
Memory
6 Gb 3x2 GB Corsair DD3 1600 MHz
Graphics Card(s)
Sapphire HD7870
Sound Card
SoundMax onboard
Monitor(s) Displays
Sony LCD 20. 1"
Screen Resolution
1600 x 1200
Hard Drives
3 HDDs 320GB each
PSU
Corsair GS800
Case
Cooler Master Mystique 632
Keyboard
Logitech diNovo Edge
Mouse
Logitech MX Performance
Antivirus
Norton AntiVirus
Browser
IE10
Other Info
HP 6980 wireless inkjet printer
Scanner HP 4600
Zyxel Router ADSL/WiFi P-660HW
Microsoft Office Ultimate 2007
Adobe Photoshop & Illustrator CS5
Wacom Intuos 1 Tablet A4
You're welcome Sinclair. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
can't move the local directory

Just thought I'd add/share that you can also move the Roaming, Local, and LocalLow folders as well

Start > Run appdata will show you the three folders
Right click select properties
and you'll see there's a location tab just like the other folders mentioned in this guide

This was a good tip and it worked for Roaming and LocalLow. However, for Local it won't let me complete the move operation as there are some files that are in use when I'm logged in as that user. I tried logging in as the Administrator user (which I enabled to move my public stuff) and it doesn't give me the location option in the Local folder properties. I also just tried moving everything over, which completed successfully but when I logged back in as the core user the location was still set to the C: drive (I'm trying to move my profiles onto my D: mirror drive) and I still couldn't complete the move operation for the same reason (some of the files were locked). Has anyone managed to move the Local folder and if so, how. I have everything else done.

Thanks
 

My Computer

OS
Windows 7

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Still having trouble...

I signed up here basically to post two things:

First, thank you for this info. It's been extremely helpful.

Second, as someone noted, I was able to change the location of LocalLow and Roaming, but Local still evades me. It seems that no matter what I try (PendMove and such didn't work for me) I can't find a way to move the Local folder location. It keeps running into things which are in use by the user data itself (i.e. UsrClass.dat)

If anyone has found a workaround, to allow moving the Local folder location (and as it has a "Location" tab, I'm assuming there mus be a way), I would greatly appreciate it. Thanks!
 

My Computer

OS
Windows 7
Strange that movefiles didn't work as I have seen that used to move parts of the actual system structure (WinSXS) in the past.

As it operates totally outside of windows before the system or users are loaded this should not apply.

The only other way I can think of is by the use of a second operating system in dual boot or a live Linux distro that can see and move the data. once the data is moved the use of the hard link should work without issue.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
If I understand correctly the problem would be that this movefiles command doesn't solve the problem. Not because it doesn't allow you to move the directory, it probably does, but because it doesn't change the operating system level 'location' of the directory. So when you log back in, its just recreated on the C drive and repopulated with the files that you just moved.

I'm assuming this because I've been able to happily move the directory without the movefiles command. I just logged in as the default Administrator user and then moved the Local folder for my normal user. The folder moved just fine but when I logged back in to my normal user the Local directory location was still C:\users\USERID\Appdata\Local instead of in the same path on the D drive, which is where I moved the folder to and want it to be. Trying to move the directory again with the location tab resulted in exactly the same error that I had prior to this whole activity.

Hope that helps
 

My Computer

OS
Windows 7
Ok I think I see the potential issue

What needs to be done is, at the time that the data is moved to the alternate location you need to create a hard link, (Junction Point), named Local in the user folder that points to the new location.

Command line tool Mklink

When you now log in to the user account the system will see the junction point as the original folder, (with it's complete contents), and therefore not attempt to re-create the folder and contents.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Good news! I found the solution to moving the Local folder. Thank you Gellio for posting what you did. What you said made me think: When using the location tab, it's probably updating some registry entries. Copying the files is just part of the moving. So I put this theory to the test. The following process will allow you to move your Local folder as well:

  1. Log into the default administrator account. (instructions can be found here: http://www.sevenforums.com/tutorials/507-built-administrator-account-enable-disable.html)
  2. Copy the Local folder to the location you desire. Be sure to take note of the exact path.
  3. Log off the default administrator.
  4. Log in to your main account, and type "regedit" into the Start Search field, and open it.
  5. Browse to the following: HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
  6. You'll see a list, and any of the folders you have already moved will show the new absolute path to their new locations.
  7. Find Cache, History, and Local AppData and replace the "%USERPROFILE%\AppData\" with the absolute path that leads to the new local folder (which may or may not include \AppData\, based on how you structured your personal folders).
  8. Log off the account, and log back in again. Browse to your new location for the Local folder, right-click and select "Properties," close it, and open it again. You will now see the "Location" tab, with the new path in the location field, and the move has been successful.
Enjoy!

P.S. If you're on Windows Home Premium like me, you'll have to enable the Default Administrator account via the Elevated Command Line option.
 
Last edited by a moderator:

My Computer

OS
Windows 7
Yup, this worked just fine. However, I strongly recommend doing it before installing anything as some installations have the original path hard coded. Do it on a dummy user, then create a new user and then delete the dummy one.
 

My Computer

OS
Windows 7
Back
Top