My school kicked me off the wifi and i cant join. if i resent my settings to factory will i be able to get on?

my school recently kicked kids off of the access wifi. we also have guest wifi but my phone won’t allow me to join since i was kicked off the other. if i reset my setting to factory will it reset wifi and let me join? or will it still know it’s my device?
4 answers 4