Windows 10: 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. Batch File Problem

    in Windows 10 Support
    Batch File Problem: So I want to backup my saved game files after each time I play, as there is a bug after the latest patch that can delete your saves. Figured better to be safe then sorry. Now I found the following online and edited to my info... Code: @echo off cd "D:\Must Keep\Game & Other...
  3. 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
  4. Batch File Help

    in Windows 10 Software and Apps
    Batch File Help: I've never dabbled much in batch files, as I've usually been able to find pre-made ones to do what I wanted. We have an application that handles user data backups. It has three services, and at times, one or two of the three don't start automatically. If you stop and start...
  5. 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...
  6. Reg file to batch remove BLOCK from files /Folder

    in Windows 10 Performance & Maintenance
    Reg file to batch remove BLOCK from files /Folder: Hi I found this, which I added to the registry but the right click option to unblock files / folders hasnt appeared any help please [HKEY_CLASSES_ROOT\*\shell\unblockfile]@=”Unblock file”[HKEY_CLASSES_ROOT\*\shell\unblockfile\command]@=”cmd /c streams -d...
  7. Startup batch file

    in Windows 10 Support
    Startup batch file: When Windows 10 starts, a DOS window appears, runs: C:\Users\Brian\AppData\Local\854e8f7.bat , then disappears. The .bat file contains: start "plqcknRlU67iM4TfEXQq" "%LOCALAPPDATA%\b183312\88d4f24.21b2bbd3" There are two files in C:\Users\Brian\AppData\Local\...
  8. Reg/batch to disable "Open File - Security Warning"

    in Windows 10 Support
    Reg/batch to disable "Open File - Security Warning": Hi guys, Is there a reg/batch script or group policy to turn off this annoying screen in Windows 10? [img] I know it can be disabled somewehre in IE options but I need it to be a a script or something. 45444
  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...