Super User Asked by Scott Severance on February 22, 2021
After my computer decided to run some updates, I was unable to login with my PIN. I had to do a password reset. I’m trying to re-enable the PIN, but I’m having difficulties.
I’m in Settings > Accounts ? Sign-in options. Under the PIN section, I should see an option to change or reset my PIN. However, that option doesn’t appear. Instead, there’s a button labeled Add. See this screenshot:
When clicking the Add button, I get the following dialog:
No matter what I enter in the box, it disappears once I enter the same number of characters as the length of the PIN I had been using, regardless of which characters I enter. When the dialog closes, nothing further happens.
How can I set a PIN?
After receiving no replies here, I asked this question over on Microsoft's support site. I'm copying the reply I got there, with the one modification I had to make to get it to work.
Step #1: Delete the Ngc folder.
- Use your password to log in to Windows 10.
- Open File Explorer and paste this in the URL box:
C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoft
.- Right click
Ngc
folder and choose Properties.- Navigate to Security tab and click on Advanced button.
- Locate the Owner section at the top and click Change link.
- Enter the object name to select enter Administrators, if you’re using administrator account, or your user name and click Check Names and click OK.
- Check Replace owner on subcontainers and objects and click Apply and OK. Now you should be able to access the
Ngc
folder.- Open the
Ngc
folder and perform steps 3-7 on each subfolder.- Open
Ngc
folder, select all files and folders in it and delete them.Step #2: Start creating a new PIN.
After you’ve deleted everything from Ngc folder, you can create new PIN for your Windows 10 device by doing these steps:
- Go to Settings app, then Account Settings.
- Choose Sign-in Options and click Add a PIN.
- Follow the instruction to add a new PIN.
- Test your PIN using the Command Prompt (Admin).
- If you cannot find the Command Prompt Admin, you can enable it using Command Prompt and typing
net user administrator /active:yes
- After enabling built-in administrator account, you may logon and try resetting the password of the account which is not working. You may disable it later once you are done by entering
net user administrator /active:no
in Command Prompt. You can use this also if you want to change passwords or PINs in other User Accounts.
Note: I don't know whether it's permissible to copy this answer as I did, even with my one addition. If it isn't, feel free to edit this answer and just link to the solution.
Correct answer by Scott Severance on February 22, 2021
here is a powershell version of Scott's answer that worked for me.
after running this as admin, i was unable to create a PIN until after restarting the computer first
$passportFolder = 'C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc'
if (Test-Path $passportFolder)
{
takeown /f $passportFolder /r /d y
icacls $passportFolder /reset /t /c /l /q
Remove-Item $passportFolder –recurse -force
}
Answered by Anthony Stringer on February 22, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP