Westy182 Posted December 6, 2017 Report post Posted December 6, 2017 Hi all, I really hope someone can help as I've spent an unbelievable amount of time trying to get this working with no success. I'm using USMT from the 1607 ADK and I'm trying to relocate a legacy Sticky Note file (.snt) from a windows 7 machine to the new Sticky Note modern app location on a Windows 10 machine. W7 location = %AppData%\Roaming\Sticky Notes\StickyNotes.snt W10 (1607) location = %LocalAppData%\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState My USMT script is currently able to sucessfully collect up the snt file from a W7 machine and return it to the exact same place on a W10 machine but a manual step is then required to move this file to the new loaction. A legacy snt file can be migrated to W10 by creating a new folder called "Legacy" and putting the "StickyNotes.snt" file in there and renaming it to "ThresholdNotes.snt". So I require the USMT restore to create the "Legacy" folder, put the "StickyNotes.snt" file in it, then rename it to "ThresholdNotes.snt so that the new path looks like: %LocalAppData%\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState\Legacy\ThresholdNotes.snt This is explianed here: http://www.winhelponline.com/blog/recover-backup-sticky-notes-data-file-windows-10/ I have found the following info online where someone has apparently got USMT sucessfully migrating snt files to the correct location but I can't get it working: https://www.mail-archive.com/mdtosd@lists.myitforum.com/msg03057.html Has anyone successfully managed to migrate StickyNote files over in this way with USMT? Thanks, Westy Quote Share this post Link to post Share on other sites More sharing options...
lumberjak2007 Posted February 2, 2018 Report post Posted February 2, 2018 https://www.mail-archive.com/mdtosd@lists.myitforum.com/msg03057.html < This site seems to have an XML that will do the trick. I'd check them out. Quote Share this post Link to post Share on other sites More sharing options...
samohtrelhe Posted April 2, 2018 Report post Posted April 2, 2018 Hi Westy Please check out our new USMT Afterburner http://sccmdeploy.dk/?p=731 You can also obtain the XML's doing the trick anfd get an explanation to why it does not work for you :-) With kind regards SAM EhlerTech.com Quote Share this post Link to post Share on other sites More sharing options...
Saeidans Posted May 2, 2018 Report post Posted May 2, 2018 has anyone confirmed which solution works the best? thanks Quote Share this post Link to post Share on other sites More sharing options...
Westy182 Posted May 3, 2018 Report post Posted May 3, 2018 I found that if you confirm that your USMT scripts have a migration rule for the .snt extension and you let it migrate from a W7 machine to the same location on a W10 machine, the W10 modern app will check the old W7 location and auto migrate any .snt files to the new area on first run. Quote Share this post Link to post Share on other sites More sharing options...
Saeidans Posted May 3, 2018 Report post Posted May 3, 2018 Could you please share your xml file that migrates snt file from w7 to w10? Thanks Quote Share this post Link to post Share on other sites More sharing options...
Westy182 Posted May 3, 2018 Report post Posted May 3, 2018 <!-- This component migrates user files with known extension--> <component type="Documents" context="UserAndSystem"> <displayName _locID="miguser.userdata">User Data</displayName> <role role="Data"> <rules context="System"> <include> <objectSet> <script>MigXmlHelper.GenerateDrivePatterns ("* [*.snt]", "Fixed")</script> </objectSet> 1 Quote Share this post Link to post Share on other sites More sharing options...
Saeidans Posted May 3, 2018 Report post Posted May 3, 2018 Thank you for the quick reply. just to be sure , did you add this to your migdocs.xml, migapp.xml or simply created now xml like Stickynotes.xml and included in scanstate command ( ex. i:stickynotes.xml ) Quote Share this post Link to post Share on other sites More sharing options...
Saeidans Posted May 4, 2018 Report post Posted May 4, 2018 so Imported your quote into migdocs.xml , but it gave me an error. is this how you are using this xml ? thanks Quote Share this post Link to post Share on other sites More sharing options...
Saeidans Posted May 4, 2018 Report post Posted May 4, 2018 what does <include> refer to and why it is not closes , I think this is what the issue is Quote Share this post Link to post Share on other sites More sharing options...
Westy182 Posted May 4, 2018 Report post Posted May 4, 2018 Apologies as I was rushing when I posted that snippet above. Open the "MigUser.xml" which is a standard file with USMT. Search for "This component migrates user files with known extension" and then add the following line into this section: <script>MigXmlHelper.GenerateDrivePatterns ("* [*.snt]", "Fixed")</script> This should then migrate any W7 .snt files from APPDATA/Roaming/MICROSOFT/Sticky notes to the same place on a W10 machine. Then the first time you launch Windows 10 Sticky Notes it will check this location for any legacy .snt files for that user profile and migrate it into the W10 area AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe Hope this helps, Westy Quote Share this post Link to post Share on other sites More sharing options...
Saeidans Posted May 4, 2018 Report post Posted May 4, 2018 Hello, I don't use miguser.xml , I use migdocs.xml since it backsup files on c: drive as well. I guess I can copy this section from miguser.xml into migdocs.xml with added line for snt files and try. so I added the line to migdocs.xml as follow: <!-- This component migrates data in user context --> <component type="Documents" context="User"> <displayName>MigDocUser</displayName> <role role="Data"> <rules> <include filter='MigXmlHelper.IgnoreIrrelevantLinks()'> <objectSet> <script>MigXmlHelper.GenerateDocPatterns ("FALSE","TRUE","FALSE")</script> </objectSet> </include> <exclude filter='MigXmlHelper.IgnoreIrrelevantLinks()'> <objectSet> <script>MigXmlHelper.GenerateDocPatterns ("FALSE","FALSE","FALSE")</script> <script>MigXmlHelper.GenerateDrivePatterns ("* [*.snt]", "Fixed")</script> </objectSet> </exclude> the stickynotes.snt seems to be being backed up since I can see it in usmt.mig , but when I run loadstate it is not being restored. I manually copied it to to APPDATA/Roaming/MICROSOFT/Sticky notes path to see if windows 10 will convert it as you said, but did not have any luck with that either. what build of windows 10 do you use? I am using 1709 thanks Quote Share this post Link to post Share on other sites More sharing options...