The first step to remove Knox is by resetting your device. But not all managed devices have the ability to factory reset as the administrator may prevent it from reseting.Â
So in order to reset the device we need to Flash the device.
The required files for flashing can be downloaded as aan Archive from samfw and then be extracted to a local folder.
There are many softwares that you can use to Flash your samsung devices. The recommended softwares are ODIN OR SAMFW.