Share via

“Something happened and your pin isn’t available”??

Anonymous
2025-01-08T18:47:15+00:00

So as the title says, my pin is apparently no longer available, and coincidentally my Microsoft account is locked up for 30 days because I changed my phone number (my old number is no longer available and I had to change the number), my account isn’t local and I don’t know what triggered this to happen, but I think it might have to do with me resetting the BIOS because the pc wouldn’t boot but it turned out to be a bad sata cable. But not getting off topic, how should I proceed with this? Without resetting the pc or reinstalling windows? I do not want my computer to be locked up for 30 days since I have important documents on it for my school

Windows for home | Windows 11 | Accounts, profiles, and login

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2025-01-09T07:09:29+00:00

Hi Soroush Mousavi

Welcome to Microsoft Community.

Based on your description, I understand that you don't want your PIN to be available and that your Microsoft account was locked for 30 days due to a change in phone number, and I understand very well how you feel!

I will start by offering you a special way you can try to enable the built-in administrator account on your computer by following a step-by-step program I have written to log in with this administrator account first. This account does not require the use of any email or password and does not require an internet connection.

  1. On the lock screen, press and hold the Shift key while restarting the computer in the lower right corner of the screen.
  2. The system will then reboot and enter a special boot options menu. Next, select Troubleshooting > Advanced Options > Command Prompt.
  3. In the Command Prompt window, type regedit and press the Enter key.
  4. In the Registry Editor, select HKEY_LOCAL_MACHINE, and then select Load Configuration Unit from the File menu.
  5. Locate the drive where the operating system is located (usually the C drive) and go to this path: Windows\System32\config.
  6. Select the file with the name SAM and click Open.
  7. In the pop-up dialog box, name the file (e.g. REM_SAM).
  8. Locate the directory: HKEY_LOCAL_MACHINE\REM_SAM\SAM\Domains\Accounts\Users\000001F4, and double-click on the string called F. Find the number 11 (column 1, row 8) in the table that opens, click to the right of it, press the Backspace key to delete the 11, and then enter the number 10 in the place where the 11 used to be.
  9. Type exit in a command prompt window to close the registry editor and restart the computer normally.
  10. After rebooting, you can log on to the system using the built-in administrator account.

After entering the system in this way, we try to reset Windows Hello.

  1. Stop the biometric service.

“WIN + R” to open ‘Run’ -> type ‘services.msc’ and open it -> find ‘Windows Biometric Service’ and stop the service.

  1. Backup the old database

Open Windows File Explorer -> Navigate to “C:\Windows\System32\WinBioDatabase” -> Copy the files in this folder to another place for backup.

  1. Delete the old database

Delete all “.dat” files from the folder in step 2.

  1. Restart the biometric service

Same as step 1.

  1. At this point, you can re-enroll your Windows Hello.

We can also create a new local administrator account after accessing the system in this way to test it and see if we can log in smoothly.

Click “Windows Logo Key” to open the search bar -> Enter “cmd” in the search bar and open it with administrator privileges -> Please enter the following command

net user USERNAME PASSWORD /add

net localgroup administrators USERNAME /add

Please note: USERNAME PASSWORD can be replaced by your desired account name and password, if you don't need a password you can leave out the PASSWORD.

Assuming the above scenario does not get you into the system, please continue to check out the scenarios below.

I will provide you with another complete step-by-step program that I have written myself that will allow you to back up your files via the command prompt in WinRE, then reinstall the system and get in.

Please note: This method will at least ensure that we don't lose our important files!

  1. Please follow the steps below to enter WinRE:

(1) Press and hold the power button for 10 seconds to turn off your device.

(2) Press the power button again to turn on your device.

(3) Immediately after you see Windows start up (e.g., some devices display the manufacturer's logo on reboot), press and hold the Power button for 10 seconds to turn off your device.

(4) Press the Power button again to turn on your device.

(5) When Windows reboots, press and hold the Power button for 10 seconds to turn off your device.

(6) Press the Power button again to turn on your device.

(7) This time, allow the device to fully boot up.

(8) Select Troubleshooting.

(9) Select “Advanced Options”.

(10) “Command Prompt”.

Please note: Assuming that we are still prompted for a password by the system's own WinRE, we can use WinRE on an external installation media, which is a standalone recovery environment that can be run outside of the system and does not usually ask for a password for our account.

The steps are:

(1) First, create Windows installation media

To create installation media for Windows you can refer to: Create installation media for Windows - Microsoft Support

Please note: Please choose an external storage device that does not hold any data, such as a USB flash drive, removable hard drive, etc.

(2) Connect the installation media to the computer.

(3) Start the computer and set the Windows installation media as the first place in the BIOS.

(4) Save and enter, the computer will enter the Windows installation program

(5) Click Next, and then click “Repair Computer” in the lower left corner.

(6) On the “Choose an option page”, click “Troubleshooting”.

(7) “Advanced Options”

(8) “Command Prompt”

  1. Complete the backup according to the following steps:

(1) Identify the external storage device

diskpart

(2) Look at the disk volume and find the drive letter of the external storage device (e.g. E: F: etc.)

list volume

(3) Exit diskpart

exit

(4) Backup data

Example:

xcopy C:\path\to\your\data E:\backup\ /E /H /C /I

Please note: C:\path\to\your\data is replaced by the path of the data in your computer, and E:\backup\ is replaced by the destination path of the external storage device (do not delete the last few parameters).

In addition, there are some other ways to backup files, you can refer to: Rescue Files when Windows Won't Start - Microsoft Community

  1. After making sure the backup is complete, we reinstall the system using external Windows installation media.

You can refer to: Reinstall Windows with the installation media - Microsoft Support (scroll down and find “Clean Installation of Windows using installation media”).

After reinstalling the system, we should be able to access the system normally.

Please note: I personally strongly recommend that you create a local administrator account in case we have a similar situation again.

I sincerely hope that the complete solution that I have personally written will help you! Please feel free to contact me (Photos related to the question would be great!).

I look forward to hearing back from you. 

Best Regards

Arthur Sheng | Microsoft Community Support Specialist

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-02-16T17:28:50+00:00

    Dude you are a legend - I spent hours on this last night and got nowhere until I found this. 10 minutes later I'm logged in again.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-11T11:15:06+00:00

    Hi Soroush,

    I just wanted to check in and see how things are going with your PIN issue.

    Were you able to follow the guide and resolve it?

    If there's anything unclear or if you need further help, feel free to let me know! 😊

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-01-09T14:55:47+00:00

    You're welcome, I had a similar problem with it when I was still working on my thesis and I know the feeling!

    Sometimes a little creativity goes a long way when dealing with technical issues, and I'm glad to hear you found the guide useful.

    If there are some areas that aren't clear enough, you can let me know in a reply and I'll get back to you.

    I need to take a break due to jet lag, so replies may be a bit delayed. I hope you can solve the problem without any problem, good night

    Good luck with everything, especially your studies! ;)

    If you find my support helpful in some way, I kindly ask you to log in to the account where you posted the topic and select “Yes” under the post that offers a solution or “Mark as answer” my reply via “Advanced Tools”.

    This small gesture will not only help other users to find useful information and solutions more easily, but also build a friendlier and more useful community for everyone.

    Thank you in advance for your understanding, I really appreciate it!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-01-09T14:07:01+00:00

    Wow people are so creative

    Like I did not at all expect a long and detailed explanation and guide, and thought I’d get told to wait

    Mate thank you very much, you really helped

    Was this answer helpful?

    0 comments No comments