- Create a new user with administrator permissions
- Sign out of the current user and sign in as the newly created user
- Navigate to
C:\Users
in File Explorer - Click into the account you want move AppData from
- There could be a popup telling you that you need to allow yourself to access that user's data, do so
- Cut the AppData folder
- If invisible, go to View and check Hidden Items
- Paste in the desired location
- Some errors will show up:
- exe's with size of 0 will pop up errors 0x80070780 "This file cannot be accessed", skip them
- tbres' and other various files will pop up saying they shouldn't be moved and are you sure, always yes
- Some errors will show up:
- Wait for the operation to finish
- Navigate back to the AppData location before the move
- Delete the old folder
- It contains those exe's that couldn't be accessed, they can be deleted though
- Launch Command Prompt as admin
- I recommend
ctrl+R
, typingcmd
andctrl+shift+enter
- I recommend
- Navigate to the User folder of the moved account
cd ..\..\Users\Account_name_here
- Create a junction named AppData to the moved folder location
mklink /j AppData "Z:\Path\To\New\AppData"
- Log out of the new user, log back in as the user with the moved AppData
- Start menu will not work, throw an error and ask you to sign out to fix it, that won't work, ignore it
- Start powershell as admin
- Same method as with cmd
- Fix the UWP packages
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
- This will fix the start menu by adding back the applications you "deleted" in step 10
- Some packages may fail because a newer version is already installed, that's not a problem
- Some may fail because on the new user the packageds cannot be installed while they're running (notable: StartMenuExperienceHost), kill them:
taskkill /F /IM explorer.exe
taskkill /F /IM SearchApp.exe
taskkill /F /IM SearchUI.exe
taskkill /F /IM ShellExperienceHost.exe
taskkill /F /IM StartMenuExperiencehost.exe
- Sign out, restart, sign back back in
- Delete the user created in step 1
- Some packages may still be broken, you may fix them as needed
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
- Replace the WindowsStore with name of various UWP apps that break
Hey,
one important step is missing.
After following the steps I had multiple issues regarding Windows Store and some Windows Store Apps, couldn't sign into my Microsoft Account, my Ubuntu distribution and everything that depends on my WSL distribution.
Windows Store couldn't open effectively. It opened, loaded for a few seconds and instantly closed again.
Accessing my WSL 2 distribution always ended up failing with the message "Access is Denied".
There is only one App I still have issues with, at least it is the only one I'm aware of as of now: Microsoft Teams.
I finally could fix all that stuff: I needed to grant my Windows User "Full control" Permissions in the new Directory.