Bonjour à tous les membres,
Pour faire des tests, je voudrais désactiver defender (et ce qui va avec) via les 3 1ères lignes du script ci-dessous mais cela ne marche pas ! (l'interrupteur de l'antivirus est toujours à ON !) ... Avez-vous une idée ?
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features" /v TamperProtection /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications" /v DisableNotifications /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" /v ToastEnabled /t REG_DWORD /d 0 /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v DisableNotificationCenter /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" /v NoToastApplicationNotification /t REG_DWORD /d 1 /f
netsh advfirewall firewall set rule group="Partage de fichiers et d’imprimantes" new enable=Yes
netsh advfirewall firewall add rule name="Allow UDP 135" dir=in action=allow protocol=UDP localport=135
netsh advfirewall firewall add rule name="Allow TCP 445" dir=in action=allow protocol=TCP localport=445
netsh advfirewall firewall add rule name="Allow TCP 3389" dir=in action=allow protocol=TCP localport=3389
powershell.exe -Command Install-WindowsFeature -Name FS-SMB1-CLIENT
powershell.exe -Command Install-WindowsFeature -Name FS-SMB1-SERVER
powershell.exe -Command Enable-WindowsOptionalFeature -Online -Feature SMB1Protocol Création utilisateur
A vous lire,
CN








Répondre avec citation




Partager