diff --git a/src/CommandForge.Infrastructure/Catalog/commands.json b/src/CommandForge.Infrastructure/Catalog/commands.json index 784505e..b6a646d 100644 --- a/src/CommandForge.Infrastructure/Catalog/commands.json +++ b/src/CommandForge.Infrastructure/Catalog/commands.json @@ -784,5 +784,710 @@ "estimatedDuration": "Short", "docUrl": null, "tags": ["telemetry", "privacy", "restore", "registry"] + }, + { + "id": "dism.startcomponentcleanup", + "categoryId": "system-maintenance", + "titleKey": "Cmd_dism.startcomponentcleanup_Title", + "descriptionKey": "Cmd_dism.startcomponentcleanup_Desc", + "icon": "ShieldRefresh", + "executable": "dism", + "argsTemplate": "/Online /Cleanup-Image /StartComponentCleanup", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "FromExitCode", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["dism", "winsxs", "component store", "cleanup"] + }, + { + "id": "chkdsk.fix", + "categoryId": "system-maintenance", + "titleKey": "Cmd_chkdsk.fix_Title", + "descriptionKey": "Cmd_chkdsk.fix_Desc", + "icon": "Harddisk", + "executable": "cmd", + "argsTemplate": "/c echo y|chkdsk C: /f /r", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["chkdsk", "disk", "repair", "filesystem", "boot"] + }, + { + "id": "winget.upgrade.all", + "categoryId": "updates-packages", + "titleKey": "Cmd_winget.upgrade.all_Title", + "descriptionKey": "Cmd_winget.upgrade.all_Desc", + "icon": "Update", + "executable": "winget", + "argsTemplate": "upgrade --all --include-unknown --accept-source-agreements --accept-package-agreements", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["winget", "upgrade", "all", "updates", "apps"] + }, + { + "id": "winget.source.reset", + "categoryId": "updates-packages", + "titleKey": "Cmd_winget.source.reset_Title", + "descriptionKey": "Cmd_winget.source.reset_Desc", + "icon": "PackageVariant", + "executable": "winget", + "argsTemplate": "source reset --force", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["winget", "source", "reset"] + }, + { + "id": "wu.scan", + "categoryId": "updates-packages", + "titleKey": "Cmd_wu.scan_Title", + "descriptionKey": "Cmd_wu.scan_Desc", + "icon": "Update", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow(); Write-Output 'Triggered a Windows Update scan.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["windows update", "scan", "detect"] + }, + { + "id": "wu.reset.components", + "categoryId": "updates-packages", + "titleKey": "Cmd_wu.reset.components_Title", + "descriptionKey": "Cmd_wu.reset.components_Desc", + "icon": "Update", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Stop-Service -Name wuauserv,bits,cryptsvc -Force -ErrorAction SilentlyContinue; Rename-Item -Path (Join-Path $env:SystemRoot 'SoftwareDistribution') -NewName 'SoftwareDistribution.bak' -Force -ErrorAction SilentlyContinue; Rename-Item -Path (Join-Path $env:SystemRoot 'System32\\catroot2') -NewName 'catroot2.bak' -Force -ErrorAction SilentlyContinue; Start-Service -Name wuauserv,bits,cryptsvc -ErrorAction SilentlyContinue; Write-Output 'Windows Update components reset.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "FromExitCode", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["windows update", "reset", "softwaredistribution", "catroot2", "repair"] + }, + { + "id": "tweak.win11.classicmenu", + "categoryId": "tweaks-shortcuts", + "titleKey": "Cmd_tweak.win11.classicmenu_Title", + "descriptionKey": "Cmd_tweak.win11.classicmenu_Desc", + "icon": "FileCog", + "executable": "reg", + "argsTemplate": "add \"HKCU\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\\InprocServer32\" /f /ve", + "requiresAdmin": false, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": "tweak.win11.modernmenu", + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["windows 11", "context menu", "classic", "registry", "tweak"] + }, + { + "id": "tweak.win11.modernmenu", + "categoryId": "tweaks-shortcuts", + "titleKey": "Cmd_tweak.win11.modernmenu_Title", + "descriptionKey": "Cmd_tweak.win11.modernmenu_Desc", + "icon": "FileCog", + "executable": "reg", + "argsTemplate": "delete \"HKCU\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" /f", + "requiresAdmin": false, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": "tweak.win11.classicmenu", + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["windows 11", "context menu", "modern", "registry", "tweak"] + }, + { + "id": "tweak.restartexplorer", + "categoryId": "tweaks-shortcuts", + "titleKey": "Cmd_tweak.restartexplorer_Title", + "descriptionKey": "Cmd_tweak.restartexplorer_Desc", + "icon": "ViewGridPlus", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Stop-Process -Name explorer -Force -ErrorAction SilentlyContinue; Start-Sleep -Seconds 1; if (-not (Get-Process -Name explorer -ErrorAction SilentlyContinue)) { Start-Process explorer }; Write-Output 'Explorer restarted.'\"", + "requiresAdmin": false, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["explorer", "restart", "shell", "tweak"] + }, + { + "id": "tweak.cleariconcache", + "categoryId": "tweaks-shortcuts", + "titleKey": "Cmd_tweak.cleariconcache_Title", + "descriptionKey": "Cmd_tweak.cleariconcache_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Stop-Process -Name explorer -Force -ErrorAction SilentlyContinue; Remove-Item -Path (Join-Path $env:LocalAppData 'IconCache.db') -Force -ErrorAction SilentlyContinue; Remove-Item -Path (Join-Path $env:LocalAppData 'Microsoft\\Windows\\Explorer\\iconcache_*.db') -Force -ErrorAction SilentlyContinue; Start-Process explorer; Write-Output 'Icon cache cleared.'\"", + "requiresAdmin": false, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["icon cache", "explorer", "thumbnails", "tweak"] + }, + { + "id": "net.registerdns", + "categoryId": "network", + "titleKey": "Cmd_net.registerdns_Title", + "descriptionKey": "Cmd_net.registerdns_Desc", + "icon": "Dns", + "executable": "ipconfig", + "argsTemplate": "/registerdns", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["network", "dns", "register", "refresh"] + }, + { + "id": "net.release", + "categoryId": "network", + "titleKey": "Cmd_net.release_Title", + "descriptionKey": "Cmd_net.release_Desc", + "icon": "Ethernet", + "executable": "ipconfig", + "argsTemplate": "/release", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": "net.renew", + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["network", "dhcp", "release", "ip"] + }, + { + "id": "net.renew", + "categoryId": "network", + "titleKey": "Cmd_net.renew_Title", + "descriptionKey": "Cmd_net.renew_Desc", + "icon": "Ethernet", + "executable": "ipconfig", + "argsTemplate": "/renew", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["network", "dhcp", "renew", "ip"] + }, + { + "id": "net.ip.reset", + "categoryId": "network", + "titleKey": "Cmd_net.ip.reset_Title", + "descriptionKey": "Cmd_net.ip.reset_Desc", + "icon": "Lan", + "executable": "netsh", + "argsTemplate": "int ip reset", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["network", "tcp/ip", "reset", "stack"] + }, + { + "id": "net.full.reset", + "categoryId": "network", + "titleKey": "Cmd_net.full.reset_Title", + "descriptionKey": "Cmd_net.full.reset_Desc", + "icon": "Lan", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"netsh winsock reset; netsh int ip reset; ipconfig /flushdns; Write-Output 'Network stack reset. A restart is recommended.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["network", "winsock", "tcp/ip", "dns", "reset"] + }, + { + "id": "clean.cleanmgr.auto", + "categoryId": "cleanup", + "titleKey": "Cmd_clean.cleanmgr.auto_Title", + "descriptionKey": "Cmd_clean.cleanmgr.auto_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Get-ChildItem 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VolumeCaches' | ForEach-Object { New-ItemProperty -Path $_.PSPath -Name 'StateFlags0001' -Value 2 -PropertyType DWord -Force | Out-Null }; Start-Process -FilePath cleanmgr -ArgumentList '/sagerun:1' -Wait; Write-Output 'Disk Cleanup finished.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["cleanup", "disk", "cleanmgr", "automatic"] + }, + { + "id": "clean.recyclebin", + "categoryId": "cleanup", + "titleKey": "Cmd_clean.recyclebin_Title", + "descriptionKey": "Cmd_clean.recyclebin_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Clear-RecycleBin -Force -ErrorAction SilentlyContinue; Write-Output 'Recycle Bin emptied.'\"", + "requiresAdmin": false, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["cleanup", "recycle bin", "trash"] + }, + { + "id": "clean.usertemp", + "categoryId": "cleanup", + "titleKey": "Cmd_clean.usertemp_Title", + "descriptionKey": "Cmd_clean.usertemp_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Remove-Item -Path (Join-Path $env:TEMP '*') -Recurse -Force -ErrorAction SilentlyContinue; Write-Output 'User temp folder cleaned.'\"", + "requiresAdmin": false, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["cleanup", "temp", "user", "files"] + }, + { + "id": "clean.wintemp", + "categoryId": "cleanup", + "titleKey": "Cmd_clean.wintemp_Title", + "descriptionKey": "Cmd_clean.wintemp_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Remove-Item -Path (Join-Path $env:SystemRoot 'Temp\\*') -Recurse -Force -ErrorAction SilentlyContinue; Write-Output 'Windows temp folder cleaned.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["cleanup", "temp", "windows", "files"] + }, + { + "id": "clean.windowsold", + "categoryId": "cleanup", + "titleKey": "Cmd_clean.windowsold_Title", + "descriptionKey": "Cmd_clean.windowsold_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"$p = Join-Path $env:SystemDrive 'Windows.old'; if (Test-Path $p) { takeown /f $p /r /d y | Out-Null; icacls $p /grant '*S-1-5-32-544:F' /t /c | Out-Null; Remove-Item -Path $p -Recurse -Force -ErrorAction SilentlyContinue; Write-Output 'Windows.old removed.' } else { Write-Output 'No Windows.old folder found.' }\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["cleanup", "windows.old", "previous installation", "disk space"] + }, + { + "id": "clean.wucache", + "categoryId": "cleanup", + "titleKey": "Cmd_clean.wucache_Title", + "descriptionKey": "Cmd_clean.wucache_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Stop-Service -Name wuauserv -Force -ErrorAction SilentlyContinue; Remove-Item -Path (Join-Path $env:SystemRoot 'SoftwareDistribution\\Download\\*') -Recurse -Force -ErrorAction SilentlyContinue; Start-Service -Name wuauserv -ErrorAction SilentlyContinue; Write-Output 'Windows Update cache cleared.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["cleanup", "windows update", "cache", "download"] + }, + { + "id": "clean.deliveryopt", + "categoryId": "cleanup", + "titleKey": "Cmd_clean.deliveryopt_Title", + "descriptionKey": "Cmd_clean.deliveryopt_Desc", + "icon": "Broom", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Remove-Item -Path (Join-Path $env:SystemRoot 'SoftwareDistribution\\DeliveryOptimization\\*') -Recurse -Force -ErrorAction SilentlyContinue; Write-Output 'Delivery Optimization cache cleared.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["cleanup", "delivery optimization", "cache"] + }, + { + "id": "power.set.highperf", + "categoryId": "power", + "titleKey": "Cmd_power.set.highperf_Title", + "descriptionKey": "Cmd_power.set.highperf_Desc", + "icon": "PowerPlug", + "executable": "powercfg", + "argsTemplate": "/setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c", + "requiresAdmin": false, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["power", "high performance", "plan", "scheme"] + }, + { + "id": "power.add.ultimate", + "categoryId": "power", + "titleKey": "Cmd_power.add.ultimate_Title", + "descriptionKey": "Cmd_power.add.ultimate_Desc", + "icon": "PowerPlug", + "executable": "powercfg", + "argsTemplate": "-duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["power", "ultimate performance", "plan", "scheme"] + }, + { + "id": "power.energy", + "categoryId": "power", + "titleKey": "Cmd_power.energy_Title", + "descriptionKey": "Cmd_power.energy_Desc", + "icon": "ChartLine", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"powercfg /energy /output (Join-Path $env:USERPROFILE 'energy-report.html') /duration 60; Write-Output ('Report saved to ' + (Join-Path $env:USERPROFILE 'energy-report.html'))\"", + "requiresAdmin": true, + "dangerLevel": "Safe", + "confirmBeforeRun": false, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["power", "energy", "report", "efficiency"] + }, + { + "id": "power.sleepstudy", + "categoryId": "power", + "titleKey": "Cmd_power.sleepstudy_Title", + "descriptionKey": "Cmd_power.sleepstudy_Desc", + "icon": "ChartLine", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"powercfg /sleepstudy /output (Join-Path $env:USERPROFILE 'sleepstudy-report.html'); Write-Output ('Report saved to ' + (Join-Path $env:USERPROFILE 'sleepstudy-report.html'))\"", + "requiresAdmin": true, + "dangerLevel": "Safe", + "confirmBeforeRun": false, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["power", "sleep study", "report", "standby"] + }, + { + "id": "diag.msinfo", + "executionMode": "Launch", + "categoryId": "diagnostics", + "titleKey": "Cmd_diag.msinfo_Title", + "descriptionKey": "Cmd_diag.msinfo_Desc", + "icon": "Information", + "executable": "msinfo32", + "argsTemplate": "", + "requiresAdmin": false, + "dangerLevel": "Safe", + "confirmBeforeRun": false, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["system information", "msinfo32", "diagnostics"] + }, + { + "id": "diag.memtest", + "executionMode": "Launch", + "categoryId": "diagnostics", + "titleKey": "Cmd_diag.memtest_Title", + "descriptionKey": "Cmd_diag.memtest_Desc", + "icon": "Memory", + "executable": "mdsched.exe", + "argsTemplate": "", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["memory", "diagnostic", "mdsched", "ram", "test"] + }, + { + "id": "sec.defender.update", + "categoryId": "security-privacy", + "titleKey": "Cmd_sec.defender.update_Title", + "descriptionKey": "Cmd_sec.defender.update_Desc", + "icon": "ShieldRefresh", + "executable": "powershell", + "argsTemplate": "-NoProfile -Command \"Update-MpSignature; Write-Output 'Defender signatures updated.'\"", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["defender", "antivirus", "signatures", "update", "security"] + }, + { + "id": "dev.devmode.on", + "categoryId": "developer", + "titleKey": "Cmd_dev.devmode.on_Title", + "descriptionKey": "Cmd_dev.devmode.on_Desc", + "icon": "Console", + "executable": "reg", + "argsTemplate": "add \"HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppModelUnlock\" /v AllowDevelopmentWithoutDevLicense /t REG_DWORD /d 1 /f", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": "dev.devmode.off", + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["developer mode", "registry", "sideload"] + }, + { + "id": "dev.devmode.off", + "categoryId": "developer", + "titleKey": "Cmd_dev.devmode.off_Title", + "descriptionKey": "Cmd_dev.devmode.off_Desc", + "icon": "Console", + "executable": "reg", + "argsTemplate": "add \"HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppModelUnlock\" /v AllowDevelopmentWithoutDevLicense /t REG_DWORD /d 0 /f", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": "dev.devmode.on", + "estimatedDuration": "Short", + "docUrl": null, + "tags": ["developer mode", "registry", "disable"] + }, + { + "id": "dev.wsl.install", + "categoryId": "developer", + "titleKey": "Cmd_dev.wsl.install_Title", + "descriptionKey": "Cmd_dev.wsl.install_Desc", + "icon": "Console", + "executable": "wsl", + "argsTemplate": "--install", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["wsl", "linux", "install", "developer"] + }, + { + "id": "dev.wsl.update", + "categoryId": "developer", + "titleKey": "Cmd_dev.wsl.update_Title", + "descriptionKey": "Cmd_dev.wsl.update_Desc", + "icon": "Console", + "executable": "wsl", + "argsTemplate": "--update", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "No", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Medium", + "docUrl": null, + "tags": ["wsl", "linux", "update", "kernel", "developer"] + }, + { + "id": "dev.hyperv.on", + "categoryId": "developer", + "titleKey": "Cmd_dev.hyperv.on_Title", + "descriptionKey": "Cmd_dev.hyperv.on_Desc", + "icon": "Monitor", + "executable": "dism", + "argsTemplate": "/Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": "dev.hyperv.off", + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["hyper-v", "virtualization", "feature", "developer"] + }, + { + "id": "dev.hyperv.off", + "categoryId": "developer", + "titleKey": "Cmd_dev.hyperv.off_Title", + "descriptionKey": "Cmd_dev.hyperv.off_Desc", + "icon": "Monitor", + "executable": "dism", + "argsTemplate": "/Online /Disable-Feature /FeatureName:Microsoft-Hyper-V", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": "dev.hyperv.on", + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["hyper-v", "virtualization", "disable", "developer"] + }, + { + "id": "dev.sandbox.on", + "categoryId": "developer", + "titleKey": "Cmd_dev.sandbox.on_Title", + "descriptionKey": "Cmd_dev.sandbox.on_Desc", + "icon": "ShieldCheck", + "executable": "dism", + "argsTemplate": "/Online /Enable-Feature /All /FeatureName:Containers-DisposableClientVM", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "Always", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": ["windows sandbox", "feature", "isolation", "developer"] + }, + { + "id": "dev.netfx3.on", + "categoryId": "developer", + "titleKey": "Cmd_dev.netfx3.on_Title", + "descriptionKey": "Cmd_dev.netfx3.on_Desc", + "icon": "FormatListChecks", + "executable": "dism", + "argsTemplate": "/Online /Enable-Feature /FeatureName:NetFx3 /All", + "requiresAdmin": true, + "dangerLevel": "Caution", + "confirmBeforeRun": true, + "createsRestorePoint": false, + "restart": "FromExitCode", + "restartRegex": null, + "revertCommandId": null, + "estimatedDuration": "Long", + "docUrl": null, + "tags": [".net framework 3.5", "netfx3", "feature", "developer"] } ] diff --git a/src/CommandForge.Wpf/Resources/Strings.resx b/src/CommandForge.Wpf/Resources/Strings.resx index fa34d0e..b27a05a 100644 --- a/src/CommandForge.Wpf/Resources/Strings.resx +++ b/src/CommandForge.Wpf/Resources/Strings.resx @@ -505,4 +505,226 @@ Remove the telemetry policy override (back to the system default). + + Clean up component store + + + Remove superseded components from WinSxS to free disk space. May require a restart. + + + Repair disk (chkdsk /f /r) + + + Schedule a full disk check with repair on the system drive at the next restart. + + + Upgrade all packages + + + Upgrade every installed app that winget can update. + + + Reset winget sources + + + Reset the winget package sources to their defaults. + + + Scan for Windows updates + + + Trigger Windows Update to check for new updates now. + + + Reset Windows Update + + + Stop the update services, clear their caches, and restart them. Often fixes stuck updates. + + + Classic context menu (Win11) + + + Restore the full right-click menu in Windows 11. Restart Explorer to apply. + + + Modern context menu (Win11) + + + Restore the default Windows 11 right-click menu. Restart Explorer to apply. + + + Restart Explorer + + + Restart the Windows Explorer shell (taskbar and desktop). + + + Clear icon cache + + + Rebuild the icon cache to fix broken or outdated icons. + + + Register DNS + + + Refresh DHCP leases and re-register DNS names. + + + Release IP address + + + Release the current DHCP IP lease. + + + Renew IP address + + + Request a new DHCP IP lease. + + + Reset TCP/IP stack + + + Reset the TCP/IP stack to its defaults. Requires a restart. + + + Full network reset + + + Reset Winsock and TCP/IP and flush the DNS cache. Requires a restart. + + + Automatic Disk Cleanup + + + Run Disk Cleanup across all categories without prompting. + + + Empty Recycle Bin + + + Permanently delete everything in the Recycle Bin. + + + Clear user temp files + + + Delete the contents of your user temporary folder. + + + Clear Windows temp files + + + Delete the contents of the Windows temporary folder. + + + Remove Windows.old + + + Delete the previous Windows installation folder. You will lose the option to roll back. + + + Clear Windows Update cache + + + Stop the update service, delete downloaded update files, and restart it. + + + Clear Delivery Optimization cache + + + Delete cached Delivery Optimization update files. + + + Activate High performance + + + Switch the active power plan to High performance. + + + Add Ultimate Performance + + + Create the Ultimate Performance power plan. + + + Energy report + + + Analyze energy efficiency for 60 seconds and save an HTML report to your profile. + + + Sleep study report + + + Save an HTML sleep study report to your profile. + + + System Information + + + Open the System Information (msinfo32) tool. + + + Windows Memory Diagnostic + + + Schedule a RAM test to run at the next restart. + + + Update Defender signatures + + + Download the latest Microsoft Defender definitions. + + + Enable Developer Mode + + + Turn on Windows Developer Mode (allows sideloading). + + + Disable Developer Mode + + + Turn off Windows Developer Mode. + + + Install WSL + + + Install the Windows Subsystem for Linux. Requires a restart. + + + Update WSL + + + Update the Windows Subsystem for Linux kernel. + + + Enable Hyper-V + + + Turn on the Hyper-V virtualization feature. Requires a restart. + + + Disable Hyper-V + + + Turn off the Hyper-V virtualization feature. Requires a restart. + + + Enable Windows Sandbox + + + Turn on the Windows Sandbox feature. Requires a restart. + + + Enable .NET Framework 3.5 + + + Install the .NET Framework 3.5 feature. May require a restart. + diff --git a/src/CommandForge.Wpf/Resources/Strings.vi.resx b/src/CommandForge.Wpf/Resources/Strings.vi.resx index 1754058..b61dda6 100644 --- a/src/CommandForge.Wpf/Resources/Strings.vi.resx +++ b/src/CommandForge.Wpf/Resources/Strings.vi.resx @@ -505,4 +505,226 @@ Xóa chính sách telemetry đã đặt (về mặc định hệ thống). + + Dọn component store + + + Xóa các thành phần cũ trong WinSxS để giải phóng dung lượng. Có thể cần khởi động lại. + + + Sửa lỗi đĩa (chkdsk /f /r) + + + Lên lịch kiểm tra và sửa lỗi toàn bộ ổ hệ thống ở lần khởi động kế tiếp. + + + Nâng cấp tất cả gói + + + Nâng cấp mọi ứng dụng đã cài mà winget có thể cập nhật. + + + Đặt lại nguồn winget + + + Đặt lại các nguồn gói winget về mặc định. + + + Quét cập nhật Windows + + + Yêu cầu Windows Update kiểm tra bản cập nhật mới ngay. + + + Đặt lại Windows Update + + + Dừng dịch vụ cập nhật, xóa cache và khởi động lại. Thường khắc phục cập nhật bị treo. + + + Menu chuột phải cổ điển (Win11) + + + Khôi phục menu chuột phải đầy đủ trên Windows 11. Khởi động lại Explorer để áp dụng. + + + Menu chuột phải hiện đại (Win11) + + + Khôi phục menu chuột phải mặc định của Windows 11. Khởi động lại Explorer để áp dụng. + + + Khởi động lại Explorer + + + Khởi động lại shell Windows Explorer (thanh tác vụ và màn hình nền). + + + Xóa cache biểu tượng + + + Dựng lại cache biểu tượng để sửa các icon lỗi hoặc cũ. + + + Đăng ký DNS + + + Làm mới lease DHCP và đăng ký lại tên DNS. + + + Giải phóng địa chỉ IP + + + Giải phóng lease IP DHCP hiện tại. + + + Làm mới địa chỉ IP + + + Yêu cầu lease IP DHCP mới. + + + Đặt lại TCP/IP + + + Đặt lại ngăn xếp TCP/IP về mặc định. Cần khởi động lại. + + + Đặt lại mạng toàn bộ + + + Đặt lại Winsock, TCP/IP và xóa cache DNS. Cần khởi động lại. + + + Dọn đĩa tự động + + + Chạy Disk Cleanup cho mọi mục mà không cần hỏi. + + + Dọn thùng rác + + + Xóa vĩnh viễn mọi thứ trong Thùng rác. + + + Xóa file tạm người dùng + + + Xóa nội dung thư mục tạm của người dùng. + + + Xóa file tạm Windows + + + Xóa nội dung thư mục tạm của Windows. + + + Xóa Windows.old + + + Xóa thư mục bản Windows cũ. Bạn sẽ mất khả năng quay lui. + + + Xóa cache Windows Update + + + Dừng dịch vụ cập nhật, xóa file đã tải và khởi động lại. + + + Xóa cache Delivery Optimization + + + Xóa các file cập nhật cache của Delivery Optimization. + + + Bật High performance + + + Chuyển gói điện đang dùng sang High performance. + + + Thêm Ultimate Performance + + + Tạo gói điện Ultimate Performance. + + + Báo cáo năng lượng + + + Phân tích hiệu suất năng lượng trong 60 giây và lưu báo cáo HTML vào hồ sơ người dùng. + + + Báo cáo sleep study + + + Lưu báo cáo HTML sleep study vào hồ sơ người dùng. + + + Thông tin hệ thống + + + Mở công cụ System Information (msinfo32). + + + Chẩn đoán bộ nhớ Windows + + + Lên lịch kiểm tra RAM ở lần khởi động kế tiếp. + + + Cập nhật Defender + + + Tải bản định nghĩa Microsoft Defender mới nhất. + + + Bật Developer Mode + + + Bật Chế độ nhà phát triển Windows (cho phép sideload). + + + Tắt Developer Mode + + + Tắt Chế độ nhà phát triển Windows. + + + Cài WSL + + + Cài Windows Subsystem for Linux. Cần khởi động lại. + + + Cập nhật WSL + + + Cập nhật kernel Windows Subsystem for Linux. + + + Bật Hyper-V + + + Bật tính năng ảo hóa Hyper-V. Cần khởi động lại. + + + Tắt Hyper-V + + + Tắt tính năng ảo hóa Hyper-V. Cần khởi động lại. + + + Bật Windows Sandbox + + + Bật tính năng Windows Sandbox. Cần khởi động lại. + + + Bật .NET Framework 3.5 + + + Cài tính năng .NET Framework 3.5. Có thể cần khởi động lại. +