You are not logged in.

#1 2017-08-30 15:08:53

loadlover
Member
Registered: 2017-05-10
Posts: 103

One bluetooth keyboard, dual boot - the chntpw utility

Hi all,

I came across a nice, easy way to get a bluetooth keyboard working with both OSs (Windows 10 & Arch Linux) in a dual boot configuration without having to re-pair it every time I reboot between them.

It involves using the chntpw utility to examine a couple of entries in the Windows registry. Once this is done, I then edit a file in Arch's /var/lib/bluetooth/, based on these entries.

Now I'd like to automate the process, but I don't know how to write a bash script that, well, 'handles things' after invoking chntpw -e.

chntpw -e /cdrive/Windows/System32/config/SYSTEM

The script would have to navigate chntpw's virtual directory structure and read in some text.

Can anyone help?

Thanks,

Loady

Last edited by loadlover (2017-08-31 02:47:21)

Offline

Board footer

Powered by FluxBB