Import reg file in a batch file

Discus and support Import reg file in a batch file in Windows 10 Support to solve the problem; 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... Discussion in 'Windows 10 Support' started by jinkazama, Jul 5, 2018.

  1. jinkazama Win User

    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 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons] [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu] ; Cartella utente "{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000 ; Computer "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 ; Rete "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000000 ; Cestino "{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000 ; Pannello di controllo "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] ; Cartella utente "{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000 ; Computer "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 ; Rete "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000000 ; Cestino "{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000 ; Pannello di controllo "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000001 ; Cortana Disabilita [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] "AllowCortana"=dword:00000000 ; Smartscreen Disabilita [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] "SmartScreenEnabled"="Off" ; Defender Disabilita [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] "DisableAntiSpyware"=dword:00000001 ; Onedrive Disabilita [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive] "DisableFileSyncNGSC"=dword:00000001 ; Icona Contatti Disabilita [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People] "PeopleBand"=dword:00000000[/quote] If i import it in a batch file called Windows10.cmd which run the reg and force the Explorer refresh to apply it
    Code: reg import Windows10.reg taskkill /f /im explorer.exe start explorer.exe[/quote] some features don't work (for example Cortana is not disabled).
    Can you help me to understand where is the problem?
    Thank you

    :)
     
    jinkazama, Jul 5, 2018
    #1
  2. oily_17 Win User

    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
     
    oily_17, Jul 5, 2018
    #2
  3. AphexDreamer Win User
    Batch Files Knowledge Base

    Very nice and usefull thanks for contributing.
     
    AphexDreamer, Jul 5, 2018
    #3
  4. Sandeep Bhugoo Win User

    Import reg file in a batch file

    Batch file

    thank you for your reply. how to merge the codes so that the batch file does this

    the batch file displays the options below

    1. open the *.spl file in notepad
    2. delete the *.shd and *.spl files
    3.exit

    commands execute as options are selected
     
    Sandeep Bhugoo, Jul 5, 2018
    #4
Thema:

Import reg file in a batch file

Loading...
  1. Import reg file in a batch file - Similar Threads - Import reg file

  2. How do I import contacts and emails from Live Mail to Windows 10 Mail app?

    in Windows 10 Software and Apps
    How do I import contacts and emails from Live Mail to Windows 10 Mail app?: Just purchased a new laptop with Windows 10. On my old computer I was using Live Mail. I have lots of Contacts and lots of Saved emails in Live Mail. I'm having trouble figuring out how to transfer all of that info from Live Mail to Windows 10 Mail app. How do I...
  3. No "Import" button in Photos

    in Windows 10 Software and Apps
    No "Import" button in Photos: Trying to import pictures from my iphone, however can't find "Import" button in Photos app. Screenshot below. [ATTACH] https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-photos/no-import-button-in-photos/e96b8a84-68bf-4744-9f53-e395a4b364c6
  4. Import old e-mail and contacts

    in Windows 10 Software and Apps
    Import old e-mail and contacts: Just purchased new Win 10 PC. Microsoft Mail app on PC and I'm looking to import my e-mail files from old PC. I have slaved the old HD in a USB case and have access to all data. However when I open Microsoft Mail I can not find where to import....
  5. photo import from iphone.

    in Windows 10 Software and Apps
    photo import from iphone.: windows 10 import function does not recognize all my pictures for import https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-photos/photo-import-from-iphone/6553a065-9f62-4ac3-8d97-9671b42df5bf
  6. Microsoft To-Do for Windows 10 now lets you star most important to-dos

    in Windows 10 News
    Microsoft To-Do for Windows 10 now lets you star most important to-dos: Microsoft To-Do for Windows 10 is today receiving a new update that lets you star the important to-dos. The company earlier this month started testing the new star feature with Windows Insiders in the Fast and Skip Ahead rings, and today the updated version of the app is...
  7. photo app as no import button!!

    in Windows 10 Software and Apps
    photo app as no import button!!: Have just put windows 10 on my pc downloaded all updates up to 12th July 2018, found that there is no import button in the photo app looked in every folder their is just no way to import from any device I plug in..have also updated all drivers for my mobile devices. Have...
  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...