The quickest way is to use ExifTool.
If you want to remove all the Nikon Capture edit data, the command is…
exiftool -nikoncapture:all= filename
To reset the orientation to default, it’s…
exiftool -orientation=1 filename
If you want to reset a whole directory in one go, just replace the filename with a ‘.’
Let me know if you need any more help.