Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, September 5, 2017 9:35 AM | 1 vote
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
$Path4 = "\\Fileserver\dfs\Users\" + $UserName + "\Sticky Notes 10\plum.sqlite"
$Path4 = "\\Fileserver\dfs\Users\" + $UserName + "\Sticky Notes 10"
$Path4 = "C:\Users\" + $UserName + "\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState"
$Exist1 = [System.IO.File]::Exists($Path4)
$ProcessActive = Get-Process Microsoft.StickyNotes -ErrorAction SilentlyContinue
if ($Exist1) {
if ($ProcessActive)
{
Stop-Process -Name Microsoft.StickyNotes
robocopy $Path4 $Path4 /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!
All replies (1)
Wednesday, January 10, 2018 10:22 PM
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 */