Tuesday, November 17, 2015

How to move your Windows User Profile to another drive in Windows 8

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  crashed with an unhandled Javascript exception. App details are as follows: Display Name:, AppUserModelId:  Package Identity: PID:<4452>. The details of the JavaScript exception are as follows Exception Name:, Description:>
, HTML Document Path:, Source File Name:, 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.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...