Roaming Sticky Notes with Windows 10 RRS feed

  • General discussion

  • Just sharing for anyone else who comes across this problem, I have found a rather creative solution for roaming Sticky Notes since Microsoft changed the format and location of the Sticky Notes file and put it in the Local section of the user profile.

    First I have a log off script in a CMD file that copies the file to the users home drive

    robocopy "C:\Users\%USERNAME%\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState" "\\Fileserver\dfs\Users\%USERNAME%\Sticky Notes 10" /mir

    Then a powershell logon script that copies the file back when the user logs on

    $UserName = $env:USERNAME
    $Path1 = "\\Fileserver\dfs\Users\" + $UserName + "\Sticky Notes 10\plum.sqlite"
    $Path2 = "\\Fileserver\dfs\Users\" + $UserName + "\Sticky Notes 10"
    $Path3 = "C:\Users\" + $UserName + "\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState"
    $Exist1 = [System.IO.File]::Exists($Path1)
    $ProcessActive = Get-Process Microsoft.StickyNotes -ErrorAction SilentlyContinue
    if ($Exist1) {
    if ($ProcessActive)
    Stop-Process -Name Microsoft.StickyNotes
    robocopy $Path2 $Path3 /mir
    C:\Windows\explorer.exe shell:AppsFolder\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe!App

    So this detects if Sticky Notes is running, and if the backup file exits, then closes Sticky Notes, copies the backup file back to the local machine, and runs Sticky Notes again.

    It's a bit messy and if anyone knows a better way please let me know, but we have users that use Sticky Notes that need to roam and since Microsoft has removed this functionality I needed a solution!

    Tuesday, September 5, 2017 9:35 AM

All replies

  • Thanks for sharing.

    Does the below Group Policy trick work for you?

    Computer Configuration -->Administrative Templates --> Windows Components --> App Package Deployment --> Allow deployment operations in special profiles: Enabled

    /* Server Support Specialist */

    Wednesday, January 10, 2018 10:22 PM