Windows 10: REG Import

Discus and support REG Import in Windows 10 Support to solve the problem; Good afternoon, I am putting a Batch file together that involves exporting and importing the Registry. However, I have a question. I am only posting... Discussion in 'Windows 10 Support' started by Paul Black, Dec 7, 2020.

  1. REG Import


    Good afternoon,

    I am putting a Batch file together that involves exporting and importing the Registry. However, I have a question. I am only posting the relevant parts of the code instead of the whole code.

    To export the Registry I am using . . .
    Code:
    To import the Registry I am using . . .
    Code:
    My question is, which ONE of the below should I use in place of the XXXXXXXXX's please?
    Code:
    There seems to be differing opinions on the Net!

    Thanks.

    :)
     
    Paul Black, Dec 7, 2020
    #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
     
    Try3, Dec 7, 2020
    #2
  3. 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, Dec 7, 2020
    #3
  4. Pavan_N Win User

    REG Import

    Windows 10 regedit cannot import a reg file

    Hi,

    Thank you for posting in Microsoft community.

    Did you save the reg file on the same computer?

    have you saved the registry file as ".reg"?
    Is the issue specific to this particular reg file?

    Are you trying to import a reg file from another computer?

    Please answer to these question to assist you better.

    Thanks
     
    Pavan_N, Dec 7, 2020
    #4
Thema:

REG Import

Loading...
  1. REG Import - Similar Threads - REG Import

  2. Windows 11 Reg file & APPS list

    in Windows 10 Gaming
    Windows 11 Reg file & APPS list: I am running windows 11 and I installed X-Plane 12 but it doesn't show up in my APPS or in the reg. file so when I try to install another program that needs to know where X-Plane 12 is it can' find it. I have reinstalled it 2 time both clean installs without luck. X-Plane 12...
  3. Windows 11 Reg file & APPS list

    in Windows 10 Software and Apps
    Windows 11 Reg file & APPS list: I am running windows 11 and I installed X-Plane 12 but it doesn't show up in my APPS or in the reg. file so when I try to install another program that needs to know where X-Plane 12 is it can' find it. I have reinstalled it 2 time both clean installs without luck. X-Plane 12...
  4. How to get the taskbar to show more rows under windows 11? Reg Edit did not solve this

    in Windows 10 Gaming
    How to get the taskbar to show more rows under windows 11? Reg Edit did not solve this: Hello, I need to display the taskbar in at least two rows, so I can have a good overview over all my open windows. It is normal for me, to have 20 to 30 things open at the same time in a normal work day. In order to switch quickly between all of those things I simply dragged...
  5. How to get the taskbar to show more rows under windows 11? Reg Edit did not solve this

    in Windows 10 Software and Apps
    How to get the taskbar to show more rows under windows 11? Reg Edit did not solve this: Hello, I need to display the taskbar in at least two rows, so I can have a good overview over all my open windows. It is normal for me, to have 20 to 30 things open at the same time in a normal work day. In order to switch quickly between all of those things I simply dragged...
  6. Reg Windows 11 24H2 Update Safeguard Holding On Device

    in Windows 10 Software and Apps
    Reg Windows 11 24H2 Update Safeguard Holding On Device: Hi Team,I still don't get a Windows 24H2 update and I checked from my end I found that Microsoft put my device on safeguard holding but my hardware requirements satisfied with the 24H2 requirement below I can provide some resources to verify at your end and tell me when...
  7. 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...
  8. Question: How can I import .REG files to a non-booting Windows?

    in Windows 10 Performance & Maintenance
    Question: How can I import .REG files to a non-booting Windows?: Hey everyone, Today I used a registry cleaner to fix my slow system, but instead of repairing it it made my PC stuck in user login bootloop, but thankfully they backed up the registry and I have it. So the question is, how can I import the registry in this non-booting PC?...
  9. 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...
  10. A REGISTRY mystery - reg file doesn't import properly

    in Windows 10 Support
    A REGISTRY mystery - reg file doesn't import properly: I have imported hundreds of reg files into every windows build since 95, now I run into another W10 mystery. I have a complete export of the key REPETIER. When I import it some REG_SZ entries do not import. This is an unmodified export of a sub-key under Repetier. reg...