Have to use Regedit, dull, but it works:
This was causing my XPS13 to not go into sleep mode properly
https://www.computerworld.com/article/3218116/how-to-make-shortcuts-to-windows-10-settings-on-your-desktop.html
netsh wlan export profile key=clear folder=C:\wifi