* Added OutlookAttachView
* Added PerfMonitor2
* CHKDSK
* Will use the newer repair features on Windows 8 or newer
* MailPassView & ProduKey
* Now saved in a 7-Zip encrypted archive to avoid deletion by AV
* SW Checklist / Diagnostics
* Windows 10 Blocked automatically
* (Too late but whatevs it was in testing before the cutoff)
* Bugfixes
* Activate Windows (with BIOS key)
* Wasn't extracting ProduKey before trying to run it
* SW Diagnostics
* Should now report the preview size from BleachBit correctly
23 lines
511 B
PowerShell
23 lines
511 B
PowerShell
# WK-Check Disk
|
|
|
|
## Init ##
|
|
$wd = $(Split-Path $MyInvocation.MyCommand.Path)
|
|
pushd "$wd"
|
|
. .\init.ps1
|
|
clear
|
|
$host.UI.RawUI.WindowTitle = "WK Check Disk Tool"
|
|
|
|
# OS Check
|
|
. .\os_check.ps1
|
|
|
|
## Run Scan (read-only) ##
|
|
write-host "$systemdrive (System Drive)"
|
|
if ($win_version -match '^(8|10)$') {
|
|
start -wait "chkdsk" -argumentlist @("$systemdrive", "/scan", "/perf") -nonewwindow
|
|
} else {
|
|
start -wait "chkdsk" -argumentlist @("$systemdrive") -nonewwindow
|
|
}
|
|
|
|
## Done ##
|
|
popd
|
|
pause "Press Enter to exit..."
|