echo "##### POSTSYNC Windows 10 BEGIN #####" echo "Loesche Registry-Zweige WPA ..." Numbers=$(echo -e "ls WPA\nq"|reged -e /mnt/Windows/System32/config/SYSTEM|grep "<8DE"|cut -d "-" -f7|cut -d">" -f1) for N in $Numbers; do echo -e "cd WPA\nrdel 8DEC0AF1-0341-4b93-85CD-72606C2DF94C-7P-$N\nq\ny\n" | reged -e /mnt/Windows/System32/config/SYSTEM done echo "##### POSTSYNC Windows 10 END #####"