diff --git a/online/icons/tools/sfc.png b/online/icons/tools/sfc.png new file mode 100644 index 0000000..98189f9 Binary files /dev/null and b/online/icons/tools/sfc.png differ diff --git a/online/index.html b/online/index.html index 03256d3..7c967f8 100644 --- a/online/index.html +++ b/online/index.html @@ -162,6 +162,23 @@

Create Restore Point

+
+
+ +
+

Verify System Integrity

+

Runs the 'sfc /scannow' command to verify the system files integrity.

+
+
+
+ Off + +
+
+
diff --git a/online/js/scripts.js b/online/js/scripts.js index 1b7da12..9470b5f 100644 --- a/online/js/scripts.js +++ b/online/js/scripts.js @@ -621,6 +621,10 @@ document.addEventListener("DOMContentLoaded", function() { "echo -- Emptying Recycle Bin", 'PowerShell -ExecutionPolicy Unrestricted -Command "$bin = (New-Object -ComObject Shell.Application).NameSpace(10); $bin.items() | ForEach {; Write-Host "^""Deleting $($_.Name) from Recycle Bin"^""; Remove-Item $_.Path -Recurse -Force; }"', ], + sfc: [ + "echo -- Running SFC", + "sfc /scannow", + ], ultimateperformance: [ "echo -- Activating Ultimate Performance Mode", "powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61", @@ -989,6 +993,8 @@ document.addEventListener("DOMContentLoaded", function() { { id: "cleantemp", type: "cleantemp" }, { id: "cleanmgr", type: "cleanmgr" }, { id: "emptyrecycle", type: "emptyrecycle" }, + { id: "sfc", type: "sfc" }, + { id: "ultimateperformance", type: "ultimateperformance" }, { id: "manualservices", type: "manualservices" }, diff --git a/winscript-app/icons/tools/sfc.png b/winscript-app/icons/tools/sfc.png new file mode 100644 index 0000000..98189f9 Binary files /dev/null and b/winscript-app/icons/tools/sfc.png differ diff --git a/winscript-app/index.html b/winscript-app/index.html index f8edb45..b852cf6 100644 --- a/winscript-app/index.html +++ b/winscript-app/index.html @@ -213,6 +213,23 @@

Create Restore Point

+
+
+ +
+

Verify System Integrity

+

Runs the 'sfc /scannow' command to verify the system files integrity.

+
+
+
+ Off + +
+
+
diff --git a/winscript-app/js/scripts.js b/winscript-app/js/scripts.js index 1b7da12..9470b5f 100644 --- a/winscript-app/js/scripts.js +++ b/winscript-app/js/scripts.js @@ -621,6 +621,10 @@ document.addEventListener("DOMContentLoaded", function() { "echo -- Emptying Recycle Bin", 'PowerShell -ExecutionPolicy Unrestricted -Command "$bin = (New-Object -ComObject Shell.Application).NameSpace(10); $bin.items() | ForEach {; Write-Host "^""Deleting $($_.Name) from Recycle Bin"^""; Remove-Item $_.Path -Recurse -Force; }"', ], + sfc: [ + "echo -- Running SFC", + "sfc /scannow", + ], ultimateperformance: [ "echo -- Activating Ultimate Performance Mode", "powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61", @@ -989,6 +993,8 @@ document.addEventListener("DOMContentLoaded", function() { { id: "cleantemp", type: "cleantemp" }, { id: "cleanmgr", type: "cleanmgr" }, { id: "emptyrecycle", type: "emptyrecycle" }, + { id: "sfc", type: "sfc" }, + { id: "ultimateperformance", type: "ultimateperformance" }, { id: "manualservices", type: "manualservices" },