|  | Regedit: Find and export keys from command prompt - Stack OverflowPowershell has registry iteration capabilities. ... This will export the registry key 
 and subkeys if found ... Script batch does not work in a .bat file, but works if 
 written in a command prompt ... stackoverflow.com |  |