How to fix Bluetooth in Windows 10 Build 15031

by evil_pro1 year ago

Microsoft has recently released Build 15031 to Windows Insiders in the Fast Ring. In the official changelog they mentioned a cool new feature which aims to automatically detect when you’re away from your computer and then locks your PC to protect it from people using it while you’re gone. It works by pairing your phone to your PC. You can find more information about this feature and other features included with this release in the official blogpost.

There’s one problem though: Navigating to the Devices page in Settings, where you can manage existing and pair new devices will lead to a crash of the Settings app. That means if you don’t have your phone paired before the upgrade, you won’t be able to try out Dynamic Lock until a future build which fixes the issue.

Rafael Rivera found a workaround for the issue and shared it on Twitter.

Alright, let’s go into detail.

What we’re going to do is replacing the 15031 file with the one from the previous build. To be able to do so, we need to gain ownership and reset the permissions of the original file and rename that one. Then we can insert the one from 15025 to make the Devices page in Settings work again.

First, make sure you have a copy of the previous build, 15025. If you don’t have one, you can go to Microsoft’s official download page and grab a copy. Make sure that you choose the right architecture (it must match the architecture of your 15031 installation).
Now mount the ISO file you downloaded and navigate to the sources folder. Open the file called ‘install.wim’ with an archiver like 7-Zip.

Once you’ve opened the file in your archiver of choice, navigate to Windows\System32 and copy the file named DeviceFlows.DataModel.dll to a folder somewhere on your computer. In this case we’re going to use C:\BT-Fix.

Now right click the Start button in your taskbar and choose Windows PowerShell (Admin).

First, you want to gain ownership of the file we’re going to replace.

  • Enter takeown /F C:\Windows\System32\DeviceFlows.DataModel.dll into the PowerShell window and hit Enter.

Next up, we need to reset the permissions of the file because by default you wont be able to rename it.

  • To do so, type icacls C:\Windows\System32\DeviceFlows.DataModel.dll /reset into the PowerShell and hit Enter again.

Now that you have access to the file, you need to rename it.

  • Type ren C:\Windows\System32\DeviceFlows.DataModel.dll C:\Windows\System32\DeviceFlows.DataModel.dll.old and hit Enter again.

To finish things up, copy the new file into the System32 directory

  • Type copy C:\BT-Fix\DeviceFlows.DataModel.dll C:\Windows\System32\ and hit Enter.

Now you should be able to open the Settings app and go to the Devices category. You can now pair your phone and try out the new Dynamic Lock feature if you wish.

We hope that this works for you and that you can now test the new Dynamic Lock feature!

  • This would be useful if it were on Mobile where people are most likely to need this functionality.

    • evil_pro

      That’s impossible without Interop Unlocking your phone.
      Also, by replacing files on Mobile you would break updating.
      I suggest to wait until the next Mobile release.

      • Agree and understand that… I was just stating the obvious, lol.

  • Hunter

    That was posted on last Thursday, 2/09/17 at 8:37pm.

  • Henry Ford

    This was originally posted 3 days ago by the developer on Windows 10 Forums.

  • Lou Vile

    Seriously I dont care who posted it first does it work or are you all just babbling? But your right my windows phone is also messed up!

  • jasonsmt

    this is fucking ridiculous. how many days now without a fix from ms?

  • Adam Boots Wojtkowski

    Man I have been looking for this fix for my laptop ever since I got the new build… It opened once then kept quitting on me… Now only if I could fix WMP server execution failed o the desktop running w10 pro, when trying to open any media file in explorer.exe with WMP Grrr annoying for sure!

    • Adam Boots Wojtkowski

      Oh and action center settings is functional again after this fix!

  • Paulo Ferreira

    So ,the ordinary people must wait for the next one…