dash off
qreg fxusr=none
qreg answer=
bgfg 0f
println
print Welcome to logon troubleshooter
println
print What problem are you facing right now?
println
print 1. User accounts don't show up
print 2. Numbers are missing
print 3. Numbers show, but accounts are missing
print 4. None of the above
println
dash Pick a number and press ENTER:
input answer
switch 13 !answer! 1 
	println
	print This is most likely caused by broken settings file
	println
	print You can try the following:
	println
	print  - Switch to classic logon screen and type the username there ^(press C at the login screen^)
	print  - Reboot to recovery ^(ESC to bring up the power menu and then press D^) and perform system refresh
	print  - Perform system refresh twice ^(erases admin and guest data^)
	print  - Restore from the last backup ^(in recovery^)
	print  - Delete any boot screen files ^(press F11 at the login screen^)
	print  - As a last resort, wipe everything ^(in recovery^)
	println
	pause
switch 22 !answer! 2 
	println
	print This can be fixed with a simple command
	print system -Llogon +fixuser
	println
	dash Would you like to run this command? ^(Y/N^)
	input fxusr
	switch 1 !fxusr! Y
		system -Llogon +fixuser
	switch 1 !fxusr! y
		system -Llogon +fixuser
	switch 5 !fxusr! N
		println
		print We couldn't troubleshoot your problem. If problems continue, please contact the developers over at
		print http://logos-technologies.blogspot.com/p/feedback.html
		println
		pause
	switch 5 !fxusr! n
		println
		print We couldn't troubleshoot your problem. If problems continue, please contact the developers over at
		print http://logos-technologies.blogspot.com/p/feedback.html
		println
		pause
switch 13 !answer! 3 
	println
	print This is most likely caused by broken settings file
	println
	print You can try the following:
	println
	print  - Switch to classic logon screen and type the username there ^(press C at the login screen^)
	print  - Reboot to recovery ^(ESC to bring up the power menu and then press D^) and perform system refresh
	print  - Perform system refresh twice ^(erases admin and guest data^)
	print  - Restore from the last backup ^(in recovery^)
	print  - Delete any boot screen files ^(press F11 at the login screen^)
	print  - As a last resort, wipe everything ^(in recovery^)
	println
	pause
switch 5 !answer! 4 
	println
	print We couldn't troubleshoot your problem. If problems continue, please contact the developers over at
	print http://logos-technologies.blogspot.com/p/feedback.html
	println
	pause
dash clear
dash on
