All I need to do is delete 2 registry keys and add them back to delete any values and subkeys. The problem now (using Kedaman's Registry module) is that if there are subkeys in a key, the parent key doesn't get deleted.

How can I delete a key that contains subkeys?

This is what I have so far.
Code:
    DeleteKey "HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU"
    DeleteKey "HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams"
    
    CreateKey "HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU"
    CreateKey "HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams"
Thanks in advance,