NLS Data is missing or contains errors - Error code oxc0000102


  1. Posts : 1
    Windows 10
       #1

    NLS Data is missing or contains errors - Error code oxc0000102


    Wife's Windows 10 PC will not boot. Was looping through Automatic repair. I disabled automatic repair using
    bcdedit /set {default} recoveryenabled No from the command line in a recovery console to get a clearer look.

    The next boot showed the following:

    Your PC/Device needs to be repaired
    The operating system couldn't be loaded because the NLS data is missing or contains errors
    Error code oxc0000102

    What is NLS data? Not sure how to repair this...

    I ran some basic repair command from the recovery console but this issue persists. Any advise as to next steps would be appreciated.


    Ran Bootsec /fixmbr /rebuildbcd successfully
    Running Bootsec /fixboot returns "access denied"
    sfc /scannow shows no errors

    Thanks,

    Bramster


      My Computer


  2. Posts : 5,330
    Windows 11 Pro 64-bit
       #2

    Hi bramster,

    I cannot found information about NLS data i will list Windows OS recovery options you can try to repair your computer. Please follow my instructions one at time.


    Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.

    Please type below command into Command Prompt and press Enter key.

    The following command scans integrity of all protected Windows system files and repairs files with problems when possible.

    Code:
    Sfc  /Scannow   /OFFBOOTDIR=D:\   /OFFWINDIR=D:\Windows


    Please replace partition letter D: with Windows installed partition letter. When computer boots into Windows Recovery Environment (WinRE) environment the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assign any other drive letter usually D: drive letter is assign to Windows installed partition. The Bcdedit /enum | find "osdevice" command can be use 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.




    Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.

    Please type below command into Command Prompt and press Enter key.

    Following command will fixes errors on the disk and locates bad sectors and recovers readable information.


    Code:
    Chkdsk D: /r


    Please replace partition letter D: with Windows installed partition letter. When computer boots into Windows Recovery Environment (WinRE) environment the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assign any other drive letter usually D: drive letter is assign to Windows installed partition. The Bcdedit /enum | find "osdevice" command can be use 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.




    Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.

    Please type below commands into Command Prompt and press Enter key.

    Following commands will repair Master Boot Record (MBR), Boot Sector and BCD Store.


    Code:
    Bootrec /FixMbr
    
    Bootrec  /FixBoot
    
    Bootrec  /RebuildBcd


    Windows Vista/ 7/8/8.1/10 keep a regular backup of the registry handy in case you need to overwrite a corrupted registry. By default, the RegIdleBackup task runs every 10 days, so that’s as far back as you would lose if you replaced the current registry with the automatically backed-up files. You can find the backed-up registry files in \Windows\System32\config\RegBack folder.


    Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.

    Please type below command into Command Prompt and press Enter key.

    Code:
     Dir C:\Windows\System32\config\RegBack

    Above command will list files stored within RegBack folder and there file size, make sure files are not zero size if they are do not follow below instructions.



    Please replace partition letter C: with Windows installed partition letter. When computer boots into Windows Recovery Environment (WinRE) environment the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assign any other drive letter usually D: drive letter is assign to Windows installed partition. The Bcdedit /enum | find "osdevice" command can be use 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.

    Please type below commands into Command Prompt and for each command you have typed press Enter key.



    Code:
    Ren  C:\windows\system32\config\SAM         SAM.BAK
    
    Ren  C:\windows\system32\config\SYSTEM      SYSTEM.BAK
    
    Ren  C:\windows\system32\config\SECURITY    SECURITY.BAK
    
    Ren  C:\windows\system32\config\DEFAULT     DEFAULT.BAK
    
    Ren  C:\windows\system32\config\SOFTWARE    SOFTWARE.BAK
    
     
    
    Copy  C:\Windows\System32\config\RegBack\SAM         C:\windows\system32\config
    
    Copy  C:\Windows\System32\config\RegBack\SYSTEM      C:\windows\system32\config
    
    Copy  C:\Windows\System32\config\RegBack\SECURITY    C:\windows\system32\config
    
    Copy  C:\Windows\System32\config\RegBack\DEFAULT     C:\windows\system32\config
    
    Copy  C:\Windows\System32\config\RegBack\SOFTWARE    C:\windows\system32\config

    This procedure assumes that Windows Vista/7/8/8.1/10 is installed to the C:\ partition. Make sure to replace C:\ drive letter to the appropriate Windows OS installed partition drive letter if it is a different location.


    Above commands renames the registry files at their existing location, and then copies the registry files from the RegBack folder to the C:\Windows\System32\Config folder.



    Please boot your computer with Windows Setup Media and from Windows Recovery Environment use System Restore tool to restore Windows OS to a date where Windows OS was working.


    Please boot your computer with Windows Setup Media and from Windows Recovery Environment use Startup Repair tool.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:49.
Find Us




Windows 10 Forums