New
#1
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
If i import it in a batch file called Windows10.cmd which run the reg and force the Explorer refresh to apply itCode: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
some features don't work (for example Cortana is not disabled).Code:reg import Windows10.reg taskkill /f /im explorer.exe start explorer.exe
Can you help me to understand where is the problem?
Thank you