Resetting location for documents & others


  1. Posts : 3
    windows 10 pro
       #1

    Resetting location for documents & others


    In Windows 10 I cannot change the location of documents, music, or pictures folders. The process is in a loop.

    I may need MS to see it, but I welcome any suggestions.

    Thanks, Eliot
      My Computer


  2. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #2

    Eliot,

    Please explain what the problem is.
    - What you do
    - What response you get
    How to Move Your Documents Folder Location - TenForumsTutorials and see its list of Related tutorials at the end for other relocation guides

    Screenshots might help.
    How to Upload and Post Screenshots and Files - TenForumsTutorials


    Denis
      My Computer


  3. Posts : 5,452
    Windows 11 Home
       #3

    If you have protected folders in Defender enabled, it might be preventing it.

    https://www.tenforums.com/tutorials/113380-how-enable-disable-controlled-folder-access-windows-10-a.html#option1


    You might also need to take ownership/permissions of documents folder.

    Moving Documents to D, it removes documents folder, so make sure to back it up!
    Code:
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal" /t REG_SZ /d "D:\Documents" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{F42EE2D3-909F-4907-8871-4C22FC0BF756}" /t REG_EXPAND_SZ /d "D:\Documents" /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Personal" /t REG_EXPAND_SZ /d "D:\Documents" /f
    takeown /s %computername% /u %username% /f "%USERPROFILE%\Documents" /r /d y
    icacls "%USERPROFILE%\Documents" /inheritance:r /grant:r %username%:(OI)(CI)F /t /l /q /c
    xcopy "%USERPROFILE%\Documents" "D:\Documents" /s /i /y
    rd "%USERPROFILE%\Documents" /s /q
    mklink /d "%USERPROFILE%\Documents" "D:\Documents"
      My Computer


  4. Posts : 42,992
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Note carefully the risks involved in doing so.

    The tutorial cited by Try3 warns (by my request) users to create a disk image before attempting this.

    It is possible to make horrible mistakes if you get the destination wrong.

    I find a better option to be to create my own 'My Documents', 'My Downloads' etc on a separate disk or partition, then what goes in there is exclusively what I put there- not what some program puts there, as is the case with a number of office type and multimedia programs.

    These folders can then, should the user wish, be added to a library in the way the default ones are part of a library.
      My Computers


 

  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 02:18.
Find Us




Windows 10 Forums