How to fix unfortunately setup wizard has stopped working in android

How to fix unfortunately setup wizard has stopped working in android-unfortunately setup wizard has stopped.

I get the following error message:

“Unfortunately,Setup Wizard has stopped”-This error is occurred in following android devices like that samsung,micromax,sony,lenovo,moto,gionee,panasonic,mokee,cm13 moto g,cm11,cm13,htc one,genymotion,cm13 oneplus one and also this error is occurring after factory reset.
The android operating systems like that kitkat,lollipop,marshmallow are some times shows this kind of error.

Solution:

1.Goto settings-apps-all-setup wizard

Click “disable” option and then suddenly Re-enable it.

2.Goto settings-security-auto start management

untick all the options because sometimes this may slow of your android.