AppData is being written to the wrong place

Page 1 of 2 12 LastLast

  1. Posts : 129
    Windows 10 Pro
       #1

    AppData is being written to the wrong place


    I recently had my Windows 7 desktop PC upgraded to Windows 10 by a local computer shop. I had them do it because they had built the machine and were familiar with the hardware. They recommended doing a clean install of Windows 10, so when I got the machine back it was necessary to re-install all my programs.

    Here is the most important detail: On this machine, the OS is on C: (a 512 GB SSD) and my user profile is on D: (a 4TB HDD).

    Here's the problem: programs are writing their application data to C:\Users\John\AppData rather than D:\Users\John\AppData. I know this because all the AppData on D: is dated before the upgrade, and all the AppData on C: has been created since the upgrade. I should have noticed the problem when I found it necessary to reset preferences in programs like Lightroom and Photoshop. These programs should have used the existing preferences!

    I assume some environment variable was either not set, or was not set properly, by the technician who did the upgrade. If so, I'm hoping that the fix is as easy as (1) setting the variable properly, and then (2) moving C:\Users\John\AppData to D:\Users\John.

    I'm not confident enough to attempt to fix this myself. I'll take the PC back to the shop and have them do it. But I'm hoping for some assurance from the community that the fix will be simple.
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    Open Command Prompt, by default it opens in your user profile folder showing it as prompt:

    AppData is being written to the wrong place-image.png

    In your case, does it show C:\Users\Your_Username or D:\Users\Your_Username?

    Kari
      My Computer


  3. Posts : 129
    Windows 10 Pro
    Thread Starter
       #3

    AppData is being written to the wrong place-cmd.jpg
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #4

    That means that the user profiles are on C: drive, not on D:. Your old Users folder, before the shop installed Windows 10 is still on D: but new installation did relocate Users, so it's on Windows default location C:\Users.

    To relocate user profiles to D:, I recommend doing a clean install and using Sysprep to relocate Users to D: drive. See the tutorial: Move Users Folder Location in Windows 10

    Kari
      My Computer


  5. Posts : 129
    Windows 10 Pro
    Thread Starter
       #5

    Just to be clear: My user profile is D:\Users\John. It has all my data (Documents, Pictures, etc.). So it does not need to be moved.

    However the system also created a profile C:\Users\JOHN\, and it is writing AppData there, rather than to D:\Users\John.

    For your information, here is the contents of C:\Users\John\
    AppData is being written to the wrong place-cmd2.jpg

    - - - Updated - - -
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
       #6

    Then the relocating of Users folders is done quite badly. They shouldn't have mixed junctions (as shown in screenshot) to complete relocation with Sysprep.

    My recommendation remains: clean install, sysprepping Users to D: drive as told in tutorial I linked to, this time forgetting the junctions.

    Kari
      My Computer


  7. Posts : 8,101
    windows 10
       #7

    The point of having a fast ssd is to load everything fast so why put a lot of often used data on drive d which is slower. With 512 gig of space you sould have plenty of room on the ssd.

    If you open a cmd prompt then type

    Set

    what does that setting say about appdata
      My Computer


  8. Posts : 129
    Windows 10 Pro
    Thread Starter
       #8

    I have more than 2 TB of data on my D drive. The C (system) drive is only 512 GB.

    APPDATA=C:\Users\JOHN\AppData\Roaming

    The site blocked me when I tried to include the entire output of Set
      My Computer


  9. Posts : 8,101
    windows 10
       #9

    It uses that variable to save the data to. Things in appdata are used all the time so should be on ssd for speed My c drive has only 88gig used thats with all my software data is fine on a spinner
      My Computer


  10. Posts : 129
    Windows 10 Pro
    Thread Starter
       #10

    Are you saying that I can live with AppData being written to C while all my other user data (desktop, documents, etc.) is on D? Is it a common thing to do? It seems to me that most of the time users rarely if ever need to poke around in AppData. That's why I didn't notice the problem for over a month. But I have one program that is used to make measurements, and that program exports those measurements to directory under AppData (a poor design, in my opinion). Under Windows 7, I was used to finding the export directory under AppData on D. It's when I went to look for measurements that I discovered they were now being written to an export directory under AppData on C. If it weren't for that program, I might never have discovered it.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:44.
Find Us




Windows 10 Forums