From 4a9ad81346cba91608f53ddd8f0b68446b8db986 Mon Sep 17 00:00:00 2001 From: DCLN <123473861+RealDCLN@users.noreply.github.com> Date: Sun, 29 Mar 2026 15:07:54 +0300 Subject: [PATCH] Remove unsupported -Force when changing WerSvc startup type --- RepairTweaks.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RepairTweaks.ps1 b/RepairTweaks.ps1 index fc9d18f..7d6bdf6 100644 --- a/RepairTweaks.ps1 +++ b/RepairTweaks.ps1 @@ -300,7 +300,7 @@ function repairTweaks($tweakNames) { } #repair windows error reporting if ($tweak -eq 'Windows Error Reporting') { - Set-Service -Name WerSvc -StartupType Manual -Force + Set-Service -Name WerSvc -StartupType Manual Remove-ItemProperty -Path 'registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'Disabled' -Force -ErrorAction SilentlyContinue } #repair csrss priority