How to move your Windows User Profile to another drive in Windows 8
- by Mark
I like to have my user folder on a different drive (D:) than my OS is (C:). Reading the following post I decided to give it a try.
All went quite well, untill I found out that my Windows 8 Apps won't execute anymore (other than that I didn't noticed any problems). My apps do work, while using an account that isn't moved.
In the eventviewer I've found error messages like these:
App <Microsoft.MicrosoftSkyDrive> crashed with an unhandled Javascript exception. App details are as follows: Display Name:<SkyDrive>, AppUserModelId: <microsoft.microsoftskydrive_8wekyb3d8bbwe!Microsoft.MicrosoftSkyDrive> Package Identity:<microsoft.microsoftskydrive_16.4.4204.712_x64__8wekyb3d8bbwe> PID:<4452>. The details of the JavaScript exception are as follows Exception Name:<WinRT error>, Description:<Loading the state store failed.
>
, HTML Document Path:</modernskydrive/product/skydrive/App.html>, Source File Name:<ms-appx://microsoft.microsoftskydrive/jx/jx.js>, Source Line Number:<1>, Source Column Number:<27246>, and Stack Trace: ms-appx://microsoft.microsoftskydrive/jx/jx.js:1:27246 localSettings()
ms-appx://microsoft.microsoftskydrive/jx/jx.js:1:51544 _initSettings()
ms-appx://microsoft.microsoftskydrive/jx/jx.js:1:54710 getApplicationStatus(boolean)
ms-appx://microsoft.microsoftskydrive/jx/jx.js:1:48180 init(object)
ms-appx://microsoft.microsoftskydrive/jx/jx.js:1:45583 Application(number, boolean)
ms-appx://microsoft.microsoftskydrive/modernskydrive/product/skydrive/App.html:216:13 Anonymous function(object)
Using ProcMon, I see a lot of access denied messages, like these:
Date & Time: 12-9-2012 9:32:20
Event Class: File System
Operation: CreateFile
Result: ACCESS DENIED
Path: D:\Users\John\AppData\Local\Packages\microsoft.microsoftskydrive_8wekyb3d8bbwe\Settings\settings.dat
TID: 2520
Duration: 0.0000149
Desired Access: Read Data/List Directory, Write Data/Add File, Read Control
Disposition: OpenIf
Options: Sequential Access, Synchronous IO Non-Alert, No Compression
Attributes: N
ShareMode: None
AllocationSize: 0
Any idea how to solve this?
I noticed that the app folders e.g.: D:\Users\john\AppData\Local\Packages\microsoft.microsoftskydrive_8wekyb3d8bbwe
had a different owner than the old profile folder had. Old profile folder had john as owner where my new profile folder had the Administrators group as owner. Changing this didn't help unfortunately.