This fix helps you to solve "Your device is offline. Please sign in with the last password used on this device.'' message in Windows 8 or later.

When you switch to Microsoft account from local account on your Windows 8 or later running system, then for very first logon after this, your system must be online. Here online means that your system must be connected with web so that Microsoft account servers can identify you. Once you got identified, in the next logon you can sign-in very easily even if you’re offline.

Now if on the next logons, you didn’t entered the same password which you entered while identification i.e. very first logon – when device was online, you’ll greeted with following message:

Your device is offline. Please sign in with the last password used on this device.

Your Device Is Offline. Please Sign In With The Last Password Used On This Device.

In case, if you’re not sure that the password you’re inputting correct, try to remind the last used password and enter that. While if you’re pretty sure that you’re entering correct password on successive logons and you’re still receiving same message doesn’t matters whether you’re online or offline, then you need to try additional steps mentioned below. Here is how to solve this problem:

Recommended : You can’t sign in to your PC right now. Go to to fix the problem, or try the last password you used on this PC.

FIX : Your Device Is Offline. Please Sign In With The Last Password Used On This Device.

1. Open Command Prompt at boot (refer steps 1-4.d of this article)

2. Type regedit command and hit Enter key to open Registry Editor at boot.

3. Navigate to following registry key:


Your Device Is Offline. Please Sign In With The Last Password Used On This Device.

4. In the left pane of Registry Editor window, expand StoredIdentities key and you’ll see your Microsoft account sub-key under it. All you need to do here is to identify the problematic account sub-key and delete it. Provide you confirmation with Yes while deleting the key:

Your Device Is Offline. Please Sign In With The Last Password Used On This Device.

Close Command Prompt at boot and continue to your operating system.

5. Additionally, go to your Microsoft account page from any other device (you can use your mobile phone too for this). On your account page, you need to remove the device on which you’re facing this issue, using Remove device link. The sample screenshot is provided here:

Your Device Is Offline. Please Sign In With The Last Password Used On This Device.

Once you’re done with step 5, try to logon on the problematic device. You’ll find that this time the issue didn’t occurs and you can login as expected.

Hope this helps! Also see how you can use Identity Verification App to protect your Microsoft Account.


  • Perfect soln. worked and fixed my problem- thanks

  • Kapil Arya

    ^^ Glad we could help :)

  • Omg, it actually works. Thnx a lot :-)

  • Kapil Arya

    ^^ Great to see it worked! :)

  • i tried it. But i cant find that IdentityCRL file in that command window, as you said i searched. I dont know what to do to make it alive. plz help me with this issue.

  • Kapil Arya

    ^^ Make sure you’re using Command Prompt at boot.

  • Thank you very much

  • Kapil Arya

    ^^ Glad it helped!

  • IdentityCRL does not exist in Windows 10. This does not work.

  • Kapil Arya

    ^^ This has been tested on Windows 10 and it works for sure. You may give a retry :)

  • I tried to delete the files in question but I get a message “error deleting key” cannot delete “name of my account” Error while deleting key. Any suggestions?

  • Kapil Arya

    ^^ You can manually take ownership of registry key as mentioned here:

  • asks for password at command prompt and it works there!!But it doesn’t work during login

  • My Windows 10 does not have the entry IdentityCRL. Are there other options?

  • Kapil Arya

    ^^ It should be there. Please recheck!

  • I did check and recheck. Is there some other setting that would make it show up? It is hidden from my view otherwise. I could send you a photograph I took of it from my phone so you can see I am not crazy.

  • Kapil Arya

    ^^ Okay, so that last option to get rid of it is to reinstall Windows 10 without affecting your files:

  • But in my lap it is not showing any bios options and also it is not showing any boot is directly loading into os

  • When i boot into command prompt to search for this key:


    The key does not exist. Yet i still have the same issue of not being able to log in even though I’m using the correct password.

  • hi,

    when i boot into command prompt the cmd screen comes for a second and it disappers the next screen which comes is asking me for password.

  • I get asked for the same unknown password when I reboot and then try to go to the command prompt. So, I can’t get to the command prompt. Thoughts?

  • For that last question, I’m using Windows 10.

  • Kapil Arya

    ^^ You need to use the password you were using on this machine. If there exists any other account, go ahead with it.

  • Yeah, unfortunately that’s the password I don’t know. It isn’t looking for my Windows login password– I think it is looking for my Microsoft account password, which is in a password vault on the laptop. I have the only account on the laptop. Thoughts?

  • Kapil Arya

    ^^ If that is the case, you can reset MS account password online and then enter new password 😊

  • Does not work. Every option I try requires my windows password which my computer is convinced is wrong when I know for an absolute fact it is right because I just reset it.

  • Same problem here. Opened registry editor, but there is no Identify CRL in Windows 10, please help!

  • Kapil Arya

    ^^ Are you using local account and not Microsoft account?

  • My problem is, am using pin for my login and not my microsoft password for any situation. i’ve got an update last week since now i can’t login with my pin, if i try so, it is showing the that your device is offline and sign in with the last password used. i’ve tried everything changing my pin, removing and adding it again, and so many. but, it still showing the same. But, i can login into my lap with my microsoft password without any issue. Kindly suggest me a solution for this as i feel using pin for mu sign in is very easy comparing with microsoft passward.

  • Perfect solution! You Rock!!

  • Kapil Arya

    ^^ Awesome 😎

  • I tried many solutions none of them worked + I didn’t find the “IdentityCRL” under Microsoft:(

  • cnt work what should i do

  • Hello sir,
    I have two questions,

    1. How to “Close Command Prompt at boot and continue to your operating system”
    2. Step 5 necessary?

    Thanks in advance,please do reply me asap.

  • Kapil Arya

    ^^ When you close Command Prompt, you’ll get Continue option or turn off your computer option and IMO choosing either option will reboot the machine. Yup, step 5 should be performed.

  • Glad I’m not the only one, not being able to log in to my pc. This was after a update I didn’t want! And I have tried every password I have ever used. And doesn’t matter where I go, restore, command promt, etc. it keeps asking me for a password m, that I don’t have. i have tried resetting my Microsoft password. And Microsoft told me I’d have to wipe my system clean and reinstall windows. Loosing all my files. Is there any other way to do away with needing a password? Without delteteing everything on my pc.

  • Kapil Arya

    ^^ After changing password, have you tried to login with newer one? What happens then?

  • I don’t have identity crl folder

  • I have no idea how or why that worked, but thank you!!

  • Kapil Arya

    ^^ Glad to help 😊

  • Mine is again asking for password.

  • Just like many people here said, there was no Identity CRL in my computer. Too bad nobody got an alternativa solution

  • Hi Kapil

    My windows 10 home got updated and not letting me login to the system. I tried following steps with no luck.

    1) Checked and I was able to login to my microsoft account without any issue.

    2) I was able to login to command line in safe mode using the password. I typed regedit but couldnt find StoredIdentities under HKEY_USERS\.DEFAULT\SOFTWARE\MICROSOFT folder.

    3) I gave direct ethernet wired connection and tried to enter the password but still getting the same error.

    When system got updated i lost internet connection to both wifi and ethernet

    4) I tried Automatic Repair under Advanced Options (In safe mode)

    5) I tried to restore to previous restore point but got an error

    Can you pls advise

  • Kapil Arya

    ^^ Can you try steps mentioned here:

    P.S. Make sure to have network connection while you try steps.

  • okay dude I got the your device is offline error on my school ICT computer that a randomly put a macrosolf acc but when It was creating it said erro , failed or something and since I was just cheking what cortana does and nothing more I didn’t pay attention to it since I can’t make a macrosolft acc .2 week later my ICT teacher call me to log into the computer that didn’t have a password before now saying my failed Microsoft acc name [*Email removed for privacy*] enter your password …I was like *** and I tried my usual password that I mostly away use unless I spam but it failed and said [your device is offline and enter your last password …I tried and tried but nothing worked but at this time[today] the computer was offline what if I connect it to the internet cable will it work without the password and 1. Open Command Prompt at boot (refer steps 1-4.d of this article) is for window 8

  • Kapil, thanks for the great articles. I learned a lot. But didn’t find a fix.

    Here is my problem (self-created). I wanted to run Norton Rootkit Scanner in safe-mode. After I installed it I rebooted to safe-mode without realizing I had enabled ‘Airplane Mode’. Since I am using a Microsoft Account. It failed to login.
    I rarely login with password. I use a Pin. Thinking this was a password issue I reset the password. Wonder if I made it worse. Now I can login to the Microsoft account from other computers. But this computer is stuck on disabled airplane mode. I still can boot up to a command prompt using old password. It allows me to run commands on the command prompt.
    Through regedit I tried to find IdentityCRL or StoredIdentities keys you mentioned here, but those keys are not there on the registry.
    I thought running the following commands would work. But it didn’t.
    set autoconfig enabled=yes interface=”Name of Wireless Network Connection”

    I got the message “The wireless AutoConfig Service (wlansvc) is not running.
    so I ran
    Net start wlansvc – and was successful in starting.
    ran the following again:
    set autoconfig enabled=yes interface=”Name of Wireless Network Connection”
    got there is no such interface. I might have shortened the name; so I tried “WiFi, Wi-Fi, “Wireless” the likely names and formats I use. No luck.

    Do you have any advice? Thanks!

  • Kapil Arya

    ^^ Deepal, have you tried booting into Safe Mode:

  • Thanks alot, it solved my headeche. Good wishes for you.

  • Kapil Arya

    ^^ Happy to help Umer!

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Recent Comments

    • Prabhat Jain : Still the same issue. Is there a way to determine which policy/setting...

      3 hours ago

    • ani : I dont see the Bluetooth Device RFCOMM option in the microsoft list...

      20 hours ago

    • Kapil Arya : ^^ Thanks for adding it!...

      20 hours ago

    • svs : In some website isnt mention about the non meter connection is require...

      23 hours ago

    • Kapil Arya : ^^ You need to correctly identify the drive on which Windows is instal...

      2 days ago