How to fix Bluetooth in Windows 10 Build 15031

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.

https://twitter.com/WithinRafael/status/830558465772834816

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).