Solved Renaming NGC folder to reset PIN on Win11 partition without internet connection.


Oggfish

New member
Local time
2:53 AM
Posts
14
OS
Windows 11
Hi all

After Windows 11 update 22H2 my pin did not work anymore. Unfortunately I have no internet activated on one Windows partition which leaves me stuck. I have a dual boot system and keep one win11 partition with internet deactivated most of the time. This microsoft thread explains what i need to do to fix it. Mainly renaming NGC folder in Advanced Startup command prompt.

No matter what I tried, command prompt did not find the path. I did found a working code online to reset Ngc (ICACLS * /T /Q /C /RESET), and I wonder what other code I can type after that which actually renames the Ngr folder to .old?.

Can someone have a look and see if I typed something wrong? I just cannot see it. I`m unable to go past setting PIN, no way to enter windows. Did I make a typing error or is there another code string I can try? Thanks in advance.

Command.jpg
t
 
Last edited:

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Here's how to fix Your PIN is no longer available due to a change to the security settings on this device.


Execute the following command from Command Prompt at Recovery Environment to delete NGC folder.Rd /s /q C:
Code:
\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\NGC
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Here's how to fix Your PIN is no longer available due to a change to the security settings on this device.


Execute the following command from Command Prompt at Recovery Environment to delete NGC folder.Rd /s /q C:
Code:
\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\NGC

Hi, thank you for your responds. The code does not seem to work.

I typed: rd /s /q C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\NGC

In your video you type small letters not capital letters. I tried them all.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Are you executing the command from Windows 11 Recovery Environment?

Can you also post the error message of the command?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Are you executing the command from Windows 11 Recovery Environment?

Can you also post the error message of the command?
Yeah, I shift > restarted > advanced Startup > command prompt. Does dual boot has something to do with it? I have two win11 partitions. Do you see a mistake?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Are you sure C: drive letter, correct drive letter for Windows 11 installed partition to find the drive letter execute Bcdedit | find "osdevice" command can be used to find out the drive letter of the Windows installed partition, the output of the Bcdedit command is similar to this osdevice partition=D:. The drive letter after partition= is the drive letter of the Windows partition.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Are you sure C: drive letter, correct drive letter for Windows 11 installed partition to find the drive letter execute Bcdedit | find "osdevice" command can be used to find out the drive letter of the Windows installed partition, the output of the Bcdedit command is similar to this osdevice partition=D:. The drive letter after partition= is the drive letter of the Windows partition.
I have two Win11 partitions (dual boot): C: and D: C: is working (it has internet and I was able to reset PIN). D: has this problem. C and D both should understand this code right? I can try to change C: into D:
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Open the Notepad by typing notepad.exe into Command Prompt and from Notepad click File --> Open this will open File Explorer where you can find out drive letter for Windows 11 that you are having trouble with PIN.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Also try renaming or deleting NCG folder from File Explorer.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Open the Notepad by typing notepad.exe into Command Prompt and from Notepad click File --> Open this will open File Explorer where you can find out drive letter for Windows 11 that you are having trouble with PIN.
Euh, windowskey > E opens it also right?
Also try renaming or deleting NCG folder from File Explorer.
No permission. Do I really need to type notepad.exe into Command Prompt? Or does it have to be command prompt in advanced setup? otherwise I can just do "windowkey > E"
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Euh, windowskey > E opens it also right? The

No permission
I don't understand which drive is assigned to Windows 11 you are troubleshooting that is the drive letter you will use with command?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
I don't understand which drive is assigned to Windows 11 you are troubleshooting that is the drive letter you will use with command?
Ok, I will try letter D: now (that is the problem Win11 version)
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
My friend browse to drive letter that Windows 11 you want to delete NCG folder i'm sure you are dual-booting this does not mean drive letter assignments are same when boot into WinRE so you need to find the drive letter for Windows 11 you want to delete NGC folder.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
My friend browse to drive letter that Windows 11 you want to delete NCG folder i'm sure you are dual-booting this does not mean drive letter assignments are same when boot into WinRE so you need to find the drive letter for Windows 11 you want to delete NGC folder.
Yeah in file explorer it's D: which I want to delete the NGC folder from.

20240925_011409.jpg
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Change the Command Prompt folder path by executing below command and try RD command as shown below.

Code:
cd /d "d:\Windows\ServiceProfiles\LocalServices\AppData\Local\Microsoft"

rd /s /q NGC

I notice the folder path have s letter missing from LocalServices try RD command again.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Change the Command Prompt folder path by executing below command and try RD command as shown below.

Code:
cd /d "d:\Windows\ServiceProfiles\LocalServices\AppData\Local\Microsoft"

rd /s /q NGC

I notice the folder path have s letter missing from LocalServices try RD command again.
20240925_014708.jpg
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
This should be the driveletter right?

20240925_015637.jpg
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Change the Command Prompt folder path by executing below command and try RD command as shown below.

Code:
cd /d "d:\Windows\ServiceProfiles\LocalServices\AppData\Local\Microsoft"

rd /s /q NGC

I notice the folder path have s letter missing from LocalServices try RD command again.
LocalServices does not exist, it should be without S. There is no folder named LocalServices.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
You are correct, but that problem is NGC folder path not correct as it cannot be found make sure the folder path correct, use Dir command to find the NGC folder path like so Dir D:\Windows\ServiceProfiles
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
You are correct, but that problem is NGC folder path not correct as it cannot be found make sure the folder path correct, use Dir command to find the NGC folder path like so Dir D:\Windows\ServiceProfiles
Code did not work, also for C:.. There is a thing though that I found out. Command prompt said: "Volume in drive D is Libraries_A" which is not a windows drive.. I have a dual boot on one SSD drive. The driveletters I gave those are C: and D:. Driveletters are different from drives. I`m still confused why Dir C:\Windows\ServiceProfiles and Dir D:\Windows\ServiceProfiles cannot be found. How is this even possible? I could try all drive letters from C to J but this is just odd. Something must be wrong here..

20240925_131436.jpg
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    13900K
    Motherboard
    MSI Carbon wifi
    Memory
    Trident DDR5
Back
Top Bottom