If still not working:
Often, the "Not Working" status is due to a corrupt or outdated driver. d-link dwa-171 not working windows 10