How do I restore accidentally deleted roaming.lock? Solved

  1. Posts : 271
    Windows 10 Pro

    How do I restore accidentally deleted roaming.lock?

    While trying to reset Spotlight somehow roaming.lock got deleted

    How can I restore this?
      My ComputerSystem Spec

  2. lx07's Avatar
    Posts : 5,435

    If you know which one you deleted (there seems to be one for each app) you can create it a (normal, not administrator) command prompt, changing the path in red

    copy NUL "C:\Users\Hali\AppData\Local\Packages\Microsoft.WindowsCalculator_8wekyb3d8bbwe\Settings\roaming.lock"
      My ComputerSystem Spec

  3. Posts : 271
    Windows 10 Pro
    Thread Starter

    Tried it, says "system cannot find path specified"!
      My ComputerSystem Spec

  4. lx07's Avatar
    Posts : 5,435

    What path did you try?

    If you think roaming.lock is missing you should know where it is missing from. The one above was for the calculator app.

    I tried deleting them as a test in various apps and they still worked but then I don't use roaming profile.

    Are you getting an error or anything?
      My ComputerSystem Spec

  5. Posts : 271
    Windows 10 Pro
    Thread Starter

    roaming.lock is now missing from here > %USERPROFILE%/AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

    and so is settings.dat
      My ComputerSystem Spec

  6. lx07's Avatar
    Posts : 5,435

    Airider said: View Post
    roaming.lock is now missing from here > %USERPROFILE%/AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

    and so is settings.dat
    I don't have either file in that directory (clean install of 15063 version) - just this stuff:
    C:\Windows\system32>dir /a %USERPROFILE%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets
     Volume in drive C is MacBook
     Volume Serial Number is 56FB-28EE
     Directory of C:\Users\Hali\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets
    07/20/2017  05:02 PM    <DIR>          .
    07/20/2017  05:02 PM    <DIR>          ..
    07/12/2017  06:45 PM         1,086,711 09b20531e843a900e9a1a99d7e9cd4bbe26a62c2caa97b24ad29c919aea71fef
    07/12/2017  06:45 PM           792,820 107edd57d1f5f5576c7a2887c28b346441696aa8949a78e2b0bdc1b881191cb4
    07/12/2017  06:45 PM           596,839 1da5b3ec0707a83fd22e358450a2619e5117a0901ef4b2e5ef767fedc7319f8d
    07/12/2017  06:45 PM           702,583 21a364869b74f4ba0369648ea7e8067c65a250f7ef31f0bb43fcaf1ddef0d6a2
    07/12/2017  06:45 PM         1,323,598 2968b5b25a9877f87c295bd15cbf5766f13bb19c4d42fe1faa8fb03e1dc9012e
    04/02/2017  07:44 AM               426 38f6d02eaee3869eb1e45566be0a4f935bad9fe5d3e857b02ffc33895ef4b628
    04/02/2017  07:44 AM             2,185 43399e8cfdc9ac47fc0bf385b3669ecf51181c3785d40e4dbcdd127b6c51a798
    04/02/2017  07:44 AM            45,341 4669e71e5bfc2d5cf985857f401ed78bb63e1f2776d6ed19a50cba244e18cac9
    07/12/2017  06:45 PM         1,360,069 4ccba1293dcaefb3fd7ef1c5f345aaaf3070312f8f814a30b083c31f94c3883a
    04/02/2017  07:44 AM             2,876 546065bd5d771c2346afba143a9740e35f3568105836a67c32e2e7e2cfbc2a77
    07/12/2017  06:45 PM         1,108,446 55e9ba1524be8d15f187c91de1cde122f828007e764a5857c5f36e1daf35251f
    04/02/2017  07:44 AM             8,951 5a188031a7bfa7c5821c586deb4964ef18f7cc61408901da7556ef6642c1fc66
    04/02/2017  07:44 AM             3,834 72e6e277dbeec08af46d0b4876cd93f468367b621c4814f60d23aebe7744f8d7
    04/02/2017  07:44 AM               359 77e80076fad4043a93129694b2a05f543574ba0545a274e9bf51206d369586c9
    04/02/2017  07:44 AM            16,406 7f10d050031c766d0dbf21be17cf8b277fbc0f1f3c1a119e89e90c71435b361c
    07/20/2017  06:20 AM           802,910 8c44409a05c8018576f077f628f8a8974d6f3e28501806a6f45c3e583cba6b5a
    07/20/2017  06:20 AM           359,754 8ddbfcd058c8d5d4c0864aa2764bc1acd0280e0b35a7d2c241660d583bc7cc9a
    07/12/2017  06:45 PM           739,960 9b373ed1ec491980407cd6b4bd95ff18a5959022a9dcd4b29e4d4ae4ac22cd90
    04/02/2017  07:44 AM            22,984 a0b78a7ad73585e1b02a8209c5865df2e8005110f47de470f0848d181badc2c1
    07/20/2017  06:20 AM           817,880 af64fbd070ca8bb9b22ea4c7bb634a33ba7f6b76a7202b8d7a76b186c84557c7
    07/12/2017  06:45 PM         1,221,286 afa26e09aefd172d53133bf11fcb3e2cc28cc7c4fcae586d52813b378ffb54ed
    04/02/2017  07:44 AM            11,719 b15d7bbc655732555ba0bb4c5abb74aab978b4d45c2114f4f6748910176f03be
    07/12/2017  06:45 PM         1,082,094 b5f7d7a8aa2c685d566baad80082948d4c4ba42df6ff904bb475dbe17f40f837
    07/13/2017  05:01 PM             2,018 bc1b386456ccedc8029be0b72c538c2cffe44c117c1cda33e71a54ca8eb0fd47
    07/20/2017  06:20 AM           697,449 c13032c1349b2b3a69b87b9d24dc652a3df5e52c63ffe03bd9a785e5ebbcd792
    04/02/2017  07:44 AM               508 c3962dd1c4b4f3917ffab15400542328547055efa4ca0b76619086e03b962a28
    07/20/2017  06:20 AM           833,485 c55a47aa09a9a4b758ee6eb7450ffc0eabeccca924c1baf1a23787d538766c85
    04/02/2017  07:44 AM            26,153 c69e287ad304ff9adf8f6ea2a8d081f4fc18028908cef42f32726bbb7f84bc3d
    07/20/2017  06:20 AM           724,345 cf391d1d5bd5d10401e49e944bae43cbf982dc8783a437672679ab93eae04a83
    04/02/2017  07:44 AM            16,545 d027c5cef9dc76de02d35ff5ba3b53e776c0c260af04c923ad7204ea18aeb0b8
    04/02/2017  07:44 AM            14,778 f7a2a0843b6623510b27efe6d2200054b0286c08c0dc209e4b608995ad4019bc
    07/20/2017  06:20 AM           761,087 fca795109998defcf21095584b09fb47dd8859d38aafc05bc2eb2867c09f8afe
    04/02/2017  07:44 AM            36,335 fce39732692a27ff47273b76d7077d63e36071a16c7b78d6e2e4c90e2446f15c
    07/20/2017  06:20 AM           387,307 ff80a0b2a53d8f2856eb845fdee29111701f1872ebca8b9d30c469d9d18ca3fb
                  34 File(s)     15,610,041 bytes
                   2 Dir(s)  21,585,989,632 bytes free
    What error are you getting?
      My ComputerSystem Spec

  7. Posts : 271
    Windows 10 Pro
    Thread Starter

    I have 1703 "Creator's" version update

    Windows Spotlight is now non-functional and "Remote Desktop Services Reset Utility" doesn't start when I click on it (am admin.), dunno if it needs Edge, but I will not use Edge
      My ComputerSystem Spec

  8. spunk's Avatar
    Posts : 2,009
    Windows 10 Pro

    Press the Windows key+X choose Command Prompt (Admin) here type SFC /scannow and press enter, this will replace any missing system files.
    Also check this thread out: Windows Spotlight/Lock screen - Windows 10 Forums
      My ComputerSystem Spec

  9. Posts : 271
    Windows 10 Pro
    Thread Starter

    Solved by changing the problem:

    Gave up on ineffective "delicate" non-functioning Spotlight and instead simply (and safely) downloaded free Dynamic Theme app. Have set "daily Bing image as dynamic tile of application" for Lockscreen

    Works, and when it would provide a pic I dislike, have now several good, quick and easy options, including using for Lockscreen that day a specific Windows picture I happen to really like
      My ComputerSystem Spec


Related Threads
As part of a malware hunt, I deleted Windows Store, Photo opener, and God knows what else. I knoooow. I'm Stupid. Any way I can recover them without a system reset? :sleepy:
Junk folder accidentally deleted in Browsers and Email
On, I accidentally deleted my Junk Email folder. Now it appears under Deleted Items, it still handles junk correctly but I can't seem to move it back where it belongs. Anyone know the solution? TIA:) 100154
Solved Accidentally Deleted Administrator Account in User Accounts and Family Safety
I'm unsure if this is the proper section of the forum, but here goes. I upgraded to Windows 10 when it first was released. I had no issues initially. Randomly, my computer chose to log me in to a temporary profile. I was unable to access my files or...
I have accidentally deleted my desktop folder. It is now renamed "downloads" and appears twice in file explorer under "this PC". I messed it up when I tried to make all my downloads go to the desktop. I can see it and work with it, but I want the...
So I was doing a system restore on my newly upgraded Windows 10. It was stuck at 46% so I restarted it (which was a stupid thing I know). After that the laptop won't go beyond the black screen. Whenever I boot the laptop the lenovo logo appears and...
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:31.
Find Us