Windows 10: .reg file error

Discus and support .reg file error in Windows 10 BSOD Crashes and Debugging to solve the problem; Hi,I tried to change windows 10 font style by running a reg file- Windows Registry Editor Version 5.00... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by MyiDevice, Aug 13, 2019.

  1. MyiDevice Win User

    .reg file error


    Hi,I tried to change windows 10 font style by running a reg file-


    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
    "Segoe UI (TrueType)"=""
    "Segoe UI Bold (TrueType)"=""
    "Segoe UI Bold Italic (TrueType)"=""
    "Segoe UI Italic (TrueType)"=""
    "Segoe UI Light (TrueType)"=""
    "Segoe UI Semibold (TrueType)"=""
    "Segoe UI Symbol (TrueType)"=""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]

    "Segoe UI"="Comic Sans MS"

    But the Windows got stuck at lock screen. However, it can run in safe mode. When i tried to run the .reg file again with default font style, I got "comd....dll missing". I've tried "sfc /scannow" but got "couldn't fix...". The system restore point that I created before running reg file is not working from recovery drive. Restoring from system image gives following error-

    .reg file error [​IMG]



    How can I fix this without losing my data?

    :)
     
    MyiDevice, Aug 13, 2019
    #1
  2. Try3 Win User

    Import reg file in a batch file


    I suggest that, as a first step, you edit the batch file so it captures the errorlevel after the reg import command.

    - Something simple such asecho The reg import command result is - %ErrorLevel% will do as long as long as you put it in as the line straight after the reg import command and then put aPause command in as the next line [before restarting explorer] so you can have a look.

    - Checking the errorlevel will tell you whether reg import thinks it has completed correctly or not.
    - While you are checking the errorlevel you could also go to the Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] to see what has happened to it [make sure you Refresh the view if you were already at that key beforehand]



    I have never used reg import but I know there are optional arguments for 32/64 bit items so perhaps you might investigate them
    - enter reg import /? >RegImport.txt in a command prompt to save the Help guidance that mentions these switches.
    - I do not think these switches are relevant but I have never investigated their use properly.
    - For all I know, the problem might be as simple as reg import not being able to handle the comment lines, such as ; Cartella utente, properly

    Best of luck,
    Denis
     
  3. Windows 10 regedit cannot import a reg file

    This is an old question but see that the original poster never replied to your question. I have the same problem.

    Windows 10, 64 bit, reg file is a ".reg" extension. The reg file was an export from the notepad registry item and am trying to force settings on my end users with the reg-hack when they login. I get the same error as the gentleman above and am not sure how
    to solve it. I have done reg hacks for many years with Win98-Win7 without any issues.

    I have also opened the reg hack up with notepad and re-saved so the file isn't corrupted. I am also admin for our entire ms network which I thought might be the problem. I also added a command line switch "/reg:64" which one poster suggested would solve
    it but while the error goes away and it appears to run, nothing in the registry actually changes.

    Thanks in advance if you're still listening (I hope)!

    Dan M
     
    Daniel Marvin, Aug 13, 2019
    #3
  4. .reg file error

    Windows 10 regedit cannot import a reg file

    I also have this problem in Windows10 and full admin rights. A .reg file intended to solve the Night Light problem was imported as successfully, however

    data of the registry has not changed!

    Who can help??

    Regards, Albert
     
    AlbertBakker, Aug 13, 2019
    #4
Thema:

.reg file error

Loading...
  1. .reg file error - Similar Threads - reg file error

  2. MAIL, CALANDER MISSING FILES REG

    in Windows 10 Network and Sharing
    MAIL, CALANDER MISSING FILES REG: Accidentally my MS mails and calendar files are missed. How can I get back and working with them? https://answers.microsoft.com/en-us/windows/forum/all/mail-calander-missing-files-reg/302f3982-3b24-4c1e-bcb4-d6682a13ac13"
  3. Import reg file in a batch file

    in Windows 10 Support
    Import reg file in a batch file: Hi, i've a reg file to mod windows 10 that works properly, but if i import it in a batch file it doesn't work. this is the reg file i've called Windows10.reg Code: Windows Registry Editor Version 5.00...
  4. Downloading a reg file.

    in Browsers and Email
    Downloading a reg file.: This is not a problem just a observation. I noticed something strange when I went to download Brink's reg file to bring back the Photo Viewer. Either Pale Moon or Windows 10 thinks it's a .TS video file. [img] Has anyone else notice this when downloading a reg file? 40086
  5. Reg File for Custom File Type Handler Program

    in Windows 10 Software and Apps
    Reg File for Custom File Type Handler Program: Suppose instead of the default reg settings for, say, pdf files, one wants a reg file to set up a custom program handler. For instance, Sumatra. One would like Sumatra to handle pdf files. When one double-clicks on a pdf file, Sumatra loads and shows the pdf file. How...
  6. Set File Association with .reg File

    in Windows 10 Software and Apps
    Set File Association with .reg File: Hi, i have a problem with File Associations in Windows (Build 1607). I want to set a File Association for .pdf so that i can start .pdf files with Adobe Acrobat Reader DC and not with Microsoft Edge (default). It is possible if i change it over System -> Default Apps...
  7. Merging .reg files as standard user

    in Windows 10 Support
    Merging .reg files as standard user: I want to add run as admin to the context menu to be able to merge a couple of .reg files into the registry when i right click on them, i downloaded Brinks 2 reg files to do this but they require admin privleges *Mad and run as admin does not show up in the context menu when...
  8. Cannot import .reg. Error opening the file.

    in Windows 10 Support
    Cannot import .reg. Error opening the file.: ...There may be a disk or file system error. Happens when double-clicking reg-file on the NAS-share, which is mapped as a network drive. User is a user with admin rights (membership of Administrators group), and it is the first and only user that was created while W10 was...
  9. File association problem with .reg and .bat files

    in Windows 10 Support
    File association problem with .reg and .bat files: Asus laptop with WINDOWS 10 When double clicking a .reg file the default action is merge by running the regedit.exe. On the right-click content menu I have Merge (in bold), edit and print, select edit opens the notepad for editing. In order to prevent from merging the .reg...
  10. Reg to Bat

    in Windows 10 Support
    Reg to Bat: Hi everyone, I'm so sorry if this is not the proper forum to ask, but didn't found one for registry related questions. I have a small .reg file and I have converted it to .bat using a tool and am not sure if it's converted correctly and bug free! Is there anyone expert in...