Cheers for the help - still no success. I cant help but wonder if this actually works? Think im going to admit defeat on this, i dont really need it - it was just a cool thing to try out BTW - heres what i ended up if using, with martin as the password using a MD5 generator = 925d7518fc597af0e43f5606f9a51512 - if anyone gets it to work let me know if $vga; then if $vesa; then set ModeGraphique = 1; else set ModeGraphique = 0 set password_hash = "925d7518fc597af0e43f5606f9a51512" # Reads the password from the user readpasswd: set passwd = "" cls print "\n\n\n\n\n\n\n\n\n\n\n\n" set textColor= color[brightgreen on black] print c "Enter the Password:" goto buildpasswd #builds the password buildpasswd: getkey set textColor= color[brightred on black] print "*" if $lastKey == key[enter]; then goto checkpasswd set passwd = "$(passwd)$lastChar" goto buildpasswd #checks whether the password is correct or not checkpasswd: if icompare["$password_hash" "$passwd"] then goto menu else goto readpasswd2 # Reads the password from the user readpasswd2: set passwd2 = "" cls print "\n\n\n\n\n\n\n\n\n\n\n\n" set textColor= color[brightgreen on black] print c "Enter the Password:" goto buildpasswd2 #builds the password buildpasswd2: getkey set textColor= color[brightred on black] print "*" if $lastKey == key[enter]; then goto checkpasswd2 set passwd2 = "$(passwd2)$lastChar" goto buildpasswd2 #checks whether the password is correct or not checkpasswd2: if icompare["$password_hash" "$passwd2"] then goto menu else goto readpasswd3 # Reads the password from the user readpasswd3: set passwd3 = "" cls print "\n\n\n\n\n\n\n\n\n\n\n\n" set textColor= color[brightgreen on black] print c "Enter the Password:" goto buildpasswd3 #builds the password buildpasswd3: getkey set textColor= color[brightred on black] print "*" if $lastKey == key[enter]; then goto checkpasswd3 set passwd3 = "$(passwd3)$lastChar" goto buildpasswd3 #checks whether the password is correct or not checkpasswd3: if icompare["$password_hash" "$passwd3"] then goto menu else set textColor= color[red on black] set boldColor= color[brightred on black] cls print "\n\n\n\n\n\n\n\n\n\n" print c "\n\nInvalid password! " print c "\n\n Press any key to restart............" set textColor= color[white on black] getkey reboot;