Modify Shortcuts with Powershell in %AppData%\Microsoft\Windows\Recent RRS feed

  • Question

  • Hello

    Due to a file server migration, the path for the redirected  "Documents" folder will be changed to the new server or rather to the new DFS Namespace.

    All the users have shortcuts to the last opened documents in their personal folder


    After the Migration, all these links Pop up with an error, because the won't find the linked files.

    I  tried to change the path in every Shortcut with a powersehll file, but it's not working because of the permissions in this specific folder called "Recent". The script is ok, it'll work in any other directory.

    Does anybody know, how to adjust the security in this Folder or how to change the path of the shortcuts in this Folder?

    Thanks in advance

    Wednesday, October 26, 2016 11:18 AM


All replies

  • It's me again.

    My Problem is solved because editing an existing Shortcut works.

    And all I want is change the path in existing Shortcuts, I don't want to create a new one.

    The script to do this is available on this page

    • Marked as answer by clever4ever Wednesday, October 26, 2016 11:45 AM
    Wednesday, October 26, 2016 11:45 AM
  • Glad to hear this issue has been solved by yourself. Thanks for sharing, I will introduce this experience to other forum users who face the same condition:)

    Please remember to mark the replies as an answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact

    Thursday, October 27, 2016 7:45 AM