This piece is classified as a harpsichord composition with the use of pedal, the key is E Major. It is not playable without pedal even in this version.
According to other scores the original key is F Major, and the structure of the pice shows that we find here an organ piece of the young Johann Sebastian Bach "in honorem" to his orlder brother who was organist at Ohrdruf (Thüringen). J. S. Bach was educated by his brother for a while.
I transposed the piece to F Major and reconstructed is as an organ composition.