Commit graph

1117 commits

Author SHA1 Message Date
fddd77e6fd
Fix typehint typo 2022-05-19 17:27:49 -07:00
5bb940e9d6
BREAKING Merge remote-tracking branch 'upstream/dev' into dev 2022-05-19 15:08:46 -07:00
068f1773aa
Update Linux mount volume sections 2022-05-18 14:59:14 -07:00
4ffd06235e
Merge remote-tracking branch 'upstream/dev' into dev 2022-05-14 18:02:05 -07:00
5fc5cda86d
Avoid adding duplicate attribute failure notes 2022-05-14 17:51:43 -07:00
0ecc4d4146
Add test mode to Hardware Diagnostics
Addresses issue #192
2022-05-14 17:48:04 -07:00
47308c1508
Allow non-integer number of minute countdowns 2022-05-14 16:19:18 -07:00
7bcd650d25
Merge remote-tracking branch 'upstream/dev' into dev
Includes a lot of updates to support the new split wk/hw setup.
2022-05-01 19:29:53 -07:00
859bc990e0
Fix destination size checks
Addresses issue #166
2022-05-01 16:53:48 -07:00
6642aad2c8
Update ddrescue-tui to use new Disk object vars 2022-05-01 16:20:39 -07:00
2585ed584c
Refactor disk safety checks 2022-04-18 09:21:29 -07:00
95cd3b645d
Remove SMARTSelfTestInProgressError sections
Going forward this is a non-blocking error.
2022-04-11 16:50:21 -06:00
d667695e9e
Move surface scan check to its own function 2022-04-11 14:30:42 -06:00
af8b2b7dd3
Refactor SMART self-test sections 2022-04-08 19:19:23 -06:00
41b4ffd9fb
Cleanup pylint sections 2022-04-08 18:38:55 -06:00
312df1ee9d
Refactor import logic for wk.hw.diags 2022-04-08 15:38:03 -06:00
20f91f01d1
Add type hints to hardware functions 2022-04-06 19:08:23 -06:00
3d7881328f
Move ddrescue out of wk/hw section 2022-04-06 19:08:09 -06:00
f79e578aaf
Remove pylint warning from sensors 2022-04-06 16:23:44 -06:00
46eb737dc8
Move SMART functions to their own file 2022-04-06 16:22:58 -06:00
99dd7661d4
Split hardware diagnostics into multiple files 2022-04-05 18:11:06 -06:00
fc2bb07d11
Track test groups as list instead of a dict
By only including selected tests we can skip checking for the
enabled/disabled status.  This will also simplify the process
of disabling future tests for a disk if a failure is detected.
2022-04-05 14:45:14 -06:00
5ffa6d8261
Replace references to details with attributes 2022-04-04 18:58:45 -06:00
4647efb971
Fix broken import 2022-04-04 18:33:03 -06:00
8582046948
Update HW diags and ddrescue to use new HW classes 2022-04-04 18:31:52 -06:00
56e145942a
Update generate_object_report() to handle slots 2022-04-04 18:31:15 -06:00
172cb398ba
Convert hardware objects to dataclasses 2022-04-04 18:30:21 -06:00
7325e00097
Merge branch 'new-ddrescue-arguments' into dev 2022-03-31 17:45:29 -06:00
febaa840fa
Merge remote-tracking branch 'upstream/dev' into dev 2022-03-31 17:45:17 -06:00
3b3f737ed5
Merge remote-tracking branch 'upstream/new-ddrescue-arguments' into new-ddrescue-arguments 2022-03-31 17:43:46 -06:00
a3abf03a23
Merge branch 'new-ddrescue-arguments' into dev 2022-03-31 17:40:46 -06:00
7d02d0733b
Tell user to disable or enable realtime scanning
Addresses issue #20
2022-03-31 17:12:18 -06:00
8dd8701e8d
Split read phase into two parts
Addresses issue #184

The first read phase will skip a lot more to try to recover more data
from the whole source.  Then the second read phase will fill in like
the previous configuration.
2022-03-25 18:45:28 -06:00
4817fe6d1f
Use larger --skip-size by default 2022-03-25 16:53:29 -06:00
817cfc3de7
Skip --reopen-on-error by default for all presets 2022-03-25 15:48:00 -06:00
31e8fd5c4f
Merge remote-tracking branch 'upstream/dev' into dev 2022-03-10 15:37:57 -07:00
2a70997a6c
Use sessions in requests when downloading files 2022-03-10 15:36:58 -07:00
981abbb8c2
Merge remote-tracking branch 'upstream/new-ddrescue-arguments' into new-ddrescue-arguments 2022-03-08 15:21:34 -07:00
4e61025e99
Fix --sector-size argument 2022-03-08 13:02:33 -07:00
b66f25dfea
Only open ddrescueview if running with a DISPLAY 2022-03-08 12:36:49 -07:00
b82493b12b
Generate new map files when starting a recovery
This is done to define the domain size and let us use --complete-only.

This also enables us to open ddrescueview immediately since that tool
requires a valid map file from the start.  If you open an empty map
file ddrescueview doesn't auto-reload the file correctly.

Addresses #184
2022-03-08 11:55:23 -07:00
9d2eb8b175
Fix initial and max skip sizes
ddrescue's minimum is 64KiB so we should respect that.

Addresses #184
2022-03-08 11:53:56 -07:00
ea9e3b3696
Disable broken --sector-size argument
Addresses #184
2022-03-08 11:52:04 -07:00
c3ec690318
Add new ddrescue argument options
Addresses #184
2022-03-07 23:49:15 -07:00
8c4415d321
Merge remote-tracking branch 'upstream/dev' into dev 2022-02-23 13:05:36 -07:00
f58f6d9da1
Update source URLs 2022-02-23 12:47:22 -07:00
2ce057e394
Adjust ddrescue-tui main menu 2022-02-22 16:49:21 -07:00
16d47a12a6
Simplify the WKClone source/dest selection
Only show confirmation #2 if using advanced partition selection.
2022-02-22 13:14:25 -07:00
80f9bb6d75
Run AV scans using HIGH priority
Addresses issue #13
2022-02-21 17:45:12 -07:00
f3522e42ef
Add option to launch processes with HIGH priority 2022-02-21 17:44:23 -07:00
9672ad0175
Add steps to disable/enable Windows Defender scans
Addresses issue #8
2022-02-21 15:52:16 -07:00
0cadf54b4d
Open webcam tests at the end of Auto Setup
Addresses issue #9
2022-02-21 01:03:39 -07:00
487bfba2e5
Skip updating disk checkboxes if no disks present
Addresses issue #6
2022-02-21 00:46:01 -07:00
0e4ee42f28
Add "Fresh start" menu entry to ddrescue-tui
Addresses issue #15
2022-02-20 20:22:25 -07:00
abd1855bc9
Fix whitespace 2022-02-20 18:14:58 -07:00
06c7d2ca20
Merge remote-tracking branch 'upstream/dev' into dev
Addresses issue #12
2022-02-20 18:13:49 -07:00
a35ffdda23
Open ddrescueview during recovery
Addresses issue #182
2022-02-20 18:10:13 -07:00
746be1d2d7
Update ticket lastresponse in post_response()
Addesses issue #14
2022-02-20 17:10:47 -07:00
147c35f0c6
Add support for tech notes in ddrescue-tui
Addresses issue #11
2022-02-19 18:47:12 -07:00
b3f4a31ed2
Move detect drives logic to its own function 2022-02-19 18:42:41 -07:00
4550b13565
Add osTicket pane to ddrescue-tui
Addresses issue #10
2022-02-18 17:21:56 -07:00
a8fada86fd
Merge remote-tracking branch 'upstream/dev' into dev 2021-12-14 21:07:00 -07:00
82a2e7f85c
Add support for renaming macWK boot.efi files
This prevents those boot entries from appearing in the macOS boot menu
2021-12-14 21:04:44 -07:00
7dc64fb73b
Merge remote-tracking branch 'upstream/dev' into dev 2021-12-14 15:34:27 -07:00
32d7cd44ff
Save extra image list to UFD to support --update
Addresses #176
2021-12-14 15:08:01 -07:00
a19714d735
Skip CPU tests by default for TestStations
Addresses #179
2021-12-14 14:08:22 -07:00
8075dfe45c
Fix run_adwcleaner() 2021-12-13 22:07:05 -07:00
62d8dff7c6
Merge remote-tracking branch 'upstream/dev' into dev 2021-12-13 19:31:46 -07:00
125431a767
Update XMPlay skin 2021-12-13 19:29:19 -07:00
dc6111b584
Update tool versions 2021-12-13 17:58:10 -07:00
31be77be3e
Merge remote-tracking branch 'upstream/dev' into dev 2021-12-13 17:56:51 -07:00
3ebfdbbedb
Update tool versions 2021-12-13 17:54:29 -07:00
2b3d7bf5ce
Drop 1201 Root CA usage in favor of new setup 2021-12-08 22:36:23 -07:00
98fdb48a27
Deselect Autologon by default
Addresses issue #4
2021-12-08 21:43:32 -07:00
011d96089b
Merge remote-tracking branch 'upstream/dev' into dev 2021-12-08 21:29:10 -07:00
0e56ccccfd
Remove extraneous registry hive names 2021-12-08 21:26:04 -07:00
93b2422044
Refactor Autologon sections
In some cases when Autologon was skipped initially it was still called in
end_session().  This caused old passwords to be reinstated in some cases.
2021-12-08 21:17:27 -07:00
40d0b302f1
Merge remote-tracking branch 'upstream/dev' into dev 2021-11-10 23:01:11 -07:00
8ecac36a64
Fix Secure Boot sections 2021-11-10 22:59:25 -07:00
6750b434b7
Fix typo 2021-11-10 22:30:59 -07:00
e8a05e8088
Merge remote-tracking branch 'upstream/dev' into dev 2021-11-07 20:11:03 -07:00
7006a6453d
Add debug console launcher 2021-11-07 19:31:16 -07:00
941af80018
Merge remote-tracking branch 'upstream/dev' into dev 2021-11-07 17:57:35 -07:00
5fb6dc4205
Fix volume free percentage calculation 2021-11-07 17:35:40 -07:00
f9c60e707d
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-28 23:53:38 -06:00
6f0ae5a6ad
Set AdwCleaner settings before running 2021-10-28 23:15:28 -06:00
05d8762c6c
Use MS Office filetypes by default 2021-10-27 22:41:07 -06:00
ac9a6bfc73
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-27 20:41:49 -06:00
7dac69de14
Fix LibreOffice XCU data 2021-10-27 20:39:45 -06:00
4c0afb498b
Set custom power plan description 2021-10-27 20:25:49 -06:00
ba2ba5fd98
Use new method to disable Fast Startup 2021-10-27 20:19:11 -06:00
2d131d0613
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-27 20:02:13 -06:00
545cc20e48
Add support for more encodings for profiles.ini 2021-10-27 20:01:05 -06:00
49e8d5c894
Remove FastCopy setup after extraction 2021-10-27 19:37:19 -06:00
f072fe07d0
Change custom power plan name 2021-10-27 18:29:17 -06:00
94aee9e1d3
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-27 18:27:23 -06:00
9fb5a221fb
Remove unused borrowed script 2021-10-27 18:05:43 -06:00
a18a8f8156
Set custom power plan name and sleep timeouts 2021-10-27 18:03:52 -06:00
38a40c5551
Update Emsisoft sections 2021-10-21 02:46:29 -06:00
da74063d8a
Fix bug in fix_file_associations() 2021-10-20 23:42:25 -06:00
07155c9f0e
Update Emsisoft sections 2021-10-20 23:41:55 -06:00
1138347b29
Add missing download in build_win 2021-10-20 23:40:31 -06:00
32f46329ba
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-20 23:10:21 -06:00
d3f5cccdb2
Update disable_chrome_notifications() 2021-10-20 23:08:48 -06:00
3a62e8dcaa
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-20 22:42:03 -06:00
194f694309
Fix Windows Defender passive mode check 2021-10-20 22:40:41 -06:00
af76831ca1
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-20 22:05:00 -06:00
a5a96dd598
Drop 7za in favor of the full version 2021-10-20 21:59:49 -06:00
532a45533e
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-20 20:56:17 -06:00
98f3ebb49e
Change how OS_VERSION is set
By only using the float type for 8.1 we can just print OS_VERSION to get
7, 8, 8.1, 10, and maybe 11?

To future me, sorry if you decide to add type hints to the project.
2021-10-20 20:51:04 -06:00
6a6a61cb78
Add ShutUp10 sections to wk.kit.build_win 2021-10-15 18:47:27 -06:00
17a644f05d
Drop more cbin usage 2021-10-15 18:47:08 -06:00
dc9565185c
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-15 02:30:59 -06:00
6a9299dea1
Add bad workaround for now 2021-10-15 02:30:03 -06:00
7940e3a219
Avoid crash if profiles.ini is using UTF-16 LE BOM 2021-10-15 01:19:24 -06:00
fd27af040b
Accept the Autologon EULA automatically 2021-10-15 01:06:02 -06:00
2f655787e5
Avoid if quitting Auto Repairs without running it
i.e. Opened the script, get to the main menu, and then exit.
2021-10-15 01:04:36 -06:00
c608ed3af3
Fix bugs 2021-10-15 00:26:36 -06:00
fb4ddb5cbe
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-15 00:26:13 -06:00
7388d94c50
Fix bugs 2021-10-14 23:58:46 -06:00
c66c39669c
Fix typo 2021-10-14 22:38:04 -06:00
8d825b561c
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-14 20:34:12 -06:00
2efd84b1df
Preserve ACL in FastCopy
Addresses issue #160
2021-10-14 20:32:51 -06:00
d15083553e
Add missing launchers 2021-10-14 20:24:55 -06:00
ef2919899b
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-14 20:22:06 -06:00
135e7e5d78
Add missing launchers 2021-10-14 20:19:16 -06:00
3f48cc4e46
Prompt for AV scan if Fab was recently run
Addresses issue #116
2021-10-14 19:53:29 -06:00
3f2b7e24e6
Fix bad function call 2021-10-14 19:52:06 -06:00
a0fe13c7c2
Add Windows Repair AIO 2021-10-14 19:15:17 -06:00
9f59885dbc
Add WinSCP to Windows Kit
Addresses issue #121
2021-10-14 19:11:10 -06:00
1b351859b8
Add Prime95 to the Windows Kit
Resolved issue #133
2021-10-14 18:36:40 -06:00
ba1ff95b21
Fix issue #122 2021-10-14 18:29:40 -06:00
277fc4e02d
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-14 17:57:27 -06:00
1f41a67350
Updated OpenShell sections
There's no point in downloading very X days if the URLs are version locked.
2021-10-14 17:55:15 -06:00
c5fca8f04f
Use specific versions to select UAC settings 2021-10-14 17:40:07 -06:00
551c28f242
Remove old code 2021-10-14 17:34:23 -06:00
9cd39c5691
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-14 17:23:10 -06:00
ccd6933f51
Add Windows Kit build sections 2021-10-13 17:59:46 -06:00
b7d54e1469
Apply bugfixes 2021-10-13 17:57:19 -06:00
aa0e35cbaa
Add copy_file() function to wk.io 2021-10-13 17:56:47 -06:00
0725674a3b
Update Windows kit layout and update tool configs
Going forward cbin/.cbin will only be used if necessary and not by
default.  This removes a step for most tools when used and better
aligns with the new auto_repairs and auto_setup scripts.
2021-10-13 17:51:55 -06:00
d4392b7285
Cleanup imports 2021-10-09 17:16:46 -06:00
bc0a358ac0
Update source URLs 2021-10-08 20:53:21 -06:00
2b2f371482
Use run_tool to extract ERUNT 2021-10-08 20:36:46 -06:00
24269f801c
Update RegDelNull section 2021-10-02 20:02:17 -06:00
e57b859bd3
Remove unused sources 2021-10-02 20:02:04 -06:00
f7e6f88b9c
Merge duplicate efforts to restore UAC defaults 2021-10-02 19:30:59 -06:00
659d71c0eb
Move repair and setup settings to wk/cfg 2021-10-02 19:19:24 -06:00
fda31a262b
Add Snappy Driver Installer Origin sections 2021-10-02 18:38:46 -06:00
87bc6220f5
Merge remote-tracking branch 'upstream/dev' into dev 2021-10-02 18:12:32 -06:00
45ec8e5ec9
Add ShutUp 10 sections 2021-10-02 18:11:53 -06:00
e62a008800
Disable opening news and interests on hover over 2021-10-02 18:07:00 -06:00
dcd41b5084
Move setup functions to the right section 2021-10-02 17:48:53 -06:00
1168e8b0dd
Add Hiberboot and hibernation sections 2021-10-02 17:44:59 -06:00
6db1be4046
Add ESET to selection questions 2021-10-02 17:25:02 -06:00
68418588b7
Merge remote-tracking branch 'upstream/dev' into dev 2021-09-30 18:56:25 -06:00
6a0fd46523
Add "Custom" option to Auto Setup 2021-09-30 18:55:32 -06:00
4a21ade0b4
Ask selection questions during load_preset() 2021-09-30 18:50:49 -06:00
5e5c54293b
Add ESET NOD32 AV sections 2021-09-30 18:39:29 -06:00
af6119feb5
Fix more pylint warnings 2021-09-30 17:48:10 -06:00
0ca6d17485
Merge remote-tracking branch 'upstream/dev' into dev 2021-09-30 17:45:54 -06:00
d214e3f363
Adjust whitelist usage 2021-09-30 17:43:09 -06:00
c747b66455
Merge remote-tracking branch 'upstream/dev' into dev 2021-09-30 17:42:31 -06:00
625539c786
Avoid crash when downloading files 2021-09-30 15:37:06 -06:00
0fc5c4b146
Add initial questions to Auto Setup 2021-09-30 03:38:25 -06:00
02055c5b30
Add open programs sections to Auto Setup 2021-09-30 02:00:16 -06:00
bd0a03e283
Combine browser configuration menu options 2021-09-30 01:59:26 -06:00
eacab48c1e
Add 4K alignment checks to Auto Setup 2021-09-29 20:31:46 -06:00
f1645f80e6
Add AV check to Auto Setup 2021-09-29 20:27:35 -06:00
30e43b9814
Add storage status sections 2021-09-29 19:56:49 -06:00
526f6e26eb
Add installed RAM sections 2021-09-29 01:24:07 -06:00
337b6d95e1
Add activation and Secure Boot sections 2021-09-29 00:59:06 -06:00
423cd343fb
Add show_os_name() with support status checks 2021-09-28 23:23:05 -06:00
d725837f9b
Add AIDA64 sections
Replaced old report profiles with a new basic profile.
Several sections that just slow down the process have been removed.
2021-09-28 19:21:30 -06:00
f0451a9803
Adjust Windows-specific imports and STATIC VARS 2021-09-28 18:34:50 -06:00
90fb97ad91
Fix various pylint warnings 2021-09-27 21:48:11 -06:00
2e485505d4
Skip backup sections if backup previously run 2021-09-27 21:21:09 -06:00
8289df1d62
Don't prepend exception name for WK generic types 2021-09-27 20:49:39 -06:00
528602d98e
Check if activated before getting the BIOS key 2021-09-27 20:48:55 -06:00
bc320b4d87
Add remaining 'Configure System' sections 2021-09-27 20:48:19 -06:00
f9d4b1e3a3
Add UAC sections 2021-09-27 19:44:25 -06:00
7009a074c7
Add BSoD minidump sections 2021-09-27 19:30:12 -06:00
cb3ec42b92
Add functions to disable Chrome notifications 2021-09-27 18:41:34 -06:00
b61f243cc8
Disable display sleep only during auto-repairs 2021-09-27 16:51:01 -06:00
a03d772788
Add software bundle sections 2021-09-27 16:41:57 -06:00
49d7e6d78a
Misc updates 2021-09-25 20:39:08 -06:00
68d8e292cc
Restrict OpenShell installs to Windows 10 2021-09-25 20:37:39 -06:00
b05835d80f
Enable uBlock Origin in more browsers 2021-09-25 20:35:47 -06:00
14ff5a9437
Add Firefox and uBlock Origin sections 2021-09-25 18:11:05 -06:00
578925cb70
Add Open-Shell install sections 2021-09-15 18:02:36 -06:00
38fd38f1ec
Support suffixes other than exe for kit tools 2021-09-15 16:38:11 -06:00
90f2a37531
Rename wk/cfg/tools.py to wk/cfg/sources.py 2021-09-15 16:37:25 -06:00
bec4ed520c
Add LibreOffice install sections 2021-09-15 12:25:32 -06:00
3d984f5f29
Import standard repair functions instead of auto 2021-09-15 09:58:01 -06:00
673a92b323
Add install_vcredists() 2021-09-15 09:56:09 -06:00
e485cc9674
Add Auto Setup scripts 2021-09-15 09:18:02 -06:00
ae4a72036d
Extract ERUNT before running 2021-09-14 19:14:44 -06:00
7dfd399e6e
Update __init__.py files 2021-09-13 18:42:36 -06:00
0e124dc1f2
Skip Autologon cleanup if it wasn't used
We found in a few cases systems starting requiring logon passwords after
Auto Repairs were run.  Autologon might be the cause so we should avoid
running it, and the cleanup, if settings are already present.

Addresses issue #175
2021-08-31 17:06:38 -06:00
Admin
8767a0024a Update 'scripts/wk/cfg/ufd.py' 2021-08-25 17:24:00 -07:00
e7f6dc6b86
Remove erroneous docstring 2021-08-25 16:05:38 -06:00
0808c8affc
Merge remote-tracking branch 'upstream/dev' into dev 2021-08-25 16:01:11 -06:00
3189fc464a
Add macOS boot options 2021-08-25 12:32:55 -06:00
29f5dab4da
Merge remote-tracking branch 'upstream/dev' into dev 2021-07-24 02:45:30 -06:00
bf6482a594
Fix possible crash in reset_windows_updates()
Auto Repairs could end up in an endless boot loop if
SoftwareDistribution.old exists before running
2021-07-23 21:58:47 -06:00
40d5b147b5
Skip scanning archives with Emsisoft 2021-06-30 18:12:38 -06:00
8a685d4e60
Add option to include extra images in build-ufd 2021-06-30 01:02:03 -06:00
f9f947fab6
Update wk.std.bytes_to_string() 2021-06-29 22:40:40 -06:00
29dc4694b4
Merge remote-tracking branch 'upstream/dev' into dev 2021-06-23 23:36:03 -06:00
9c5767f71f
Update CPU testing sections 2021-06-23 23:33:45 -06:00
e4fbc7fe69
Prevent 100% CPU usage in NonBlockingStreamReader 2021-06-23 23:30:19 -06:00
d76dca8fd7
Catch and log missing commands
It's better to be explicit in what's going wrong in the case of
a missing command or program.
2021-06-23 21:33:27 -06:00
8e0fdf641b
Retest temps with sysbench if Prime95 runs too hot
If the CPU reaches the failing temps during Prime95 then sysbench will be
run to emulate a less artificial workload.  The both the overall and sysbench
max temps are recorded and shown in the results.

Added new option to track an alternate max temp value in wk.hw.sensors.
This was needed so show two different max temps recorded during CPU testing.

Sysbench was added to the Linux package list and is compiled for macOS.
Without manually compiling the package it brings in way too many dependencies
to support SQL DB testing (which we don't need).
2021-06-17 03:16:34 -06:00
2840795b78
Set power plan to high performance in Auto Repairs 2021-05-14 15:41:19 -06:00
a8cf29c5fe
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-14 15:39:36 -06:00
93de0645cd
Use custom power plan during Auto Repairs 2021-05-14 15:38:54 -06:00
5a320658c2
Fix Emsisoft cmd
Not sure why it worked when testing locally on C: but it lost it's mind
when running from E:
2021-05-13 21:41:16 -06:00
93fbd29a1c
Update UFD sections (again) 2021-05-13 21:41:01 -06:00
aff124dd8c
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-13 21:37:56 -06:00
527a5b2e97
Avoid crash during HW Diagnostics 2021-05-13 21:32:46 -06:00
32b25f912d
Remove with_stem() usage to support Python 3.8 2021-05-13 21:30:52 -06:00
f3e3483b46
Support new Archiso layout in UFD sections 2021-05-13 21:30:32 -06:00
a5b0758d30
Adjust exception formatting in TryAndPrint() 2021-05-13 21:08:38 -06:00
e83bcb864c
Fix Autologon sections 2021-05-13 21:04:39 -06:00
326ee3953d
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-07 23:57:23 -06:00
de6ee523b0
Add support for running on Python 3.8 2021-05-07 23:51:48 -06:00
1f618a4152
Run AVRemover on first run of Auto Repairs 2021-05-07 23:50:34 -06:00
db25a632fe
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-07 18:26:17 -06:00
b7b8f20e24
Add timezone check to Auto Repairs 2021-05-07 18:18:38 -06:00
9c8c7099e5
Add MBAM sections 2021-05-07 04:58:40 -06:00
b80e73a5ad
Use new set_quarantine_path() 2021-05-07 02:44:57 -06:00
0baea441ae
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-07 02:43:18 -06:00
59fd85429c
Abort on KeyboardInterrupts 2021-05-07 02:38:55 -06:00
d2fb8250bc
Update backups and quarantine paths 2021-05-07 02:24:57 -06:00
bde9863b98
Add backup browsers sections 2021-05-07 00:31:26 -06:00
228114f82c
Add Emsisoft section 2021-05-06 03:13:44 -06:00
297d03b0f2
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-05 23:58:18 -06:00
4928989913
Fix bug in download_tool()
Skip check to ensure the correct architecture path is returned.
2021-05-05 23:56:12 -06:00
23f519102d
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-05 23:43:25 -06:00
6a00444bd4
Support multiple architectures in get_tool_path()
This change was necessary to avoid using the wrong paths for
tools with speparate executables for different architectures.
2021-05-05 23:29:29 -06:00
4872a18e91
Support tools with multiple architectures 2021-05-05 23:10:38 -06:00
6cece2c832
Add file associations sections 2021-05-02 02:18:23 -06:00
b57f50d4b5
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-02 02:17:28 -06:00
acc3a4dccc
Add extract_tool() function 2021-05-02 02:16:34 -06:00
eaa367a5c9
Fix imports under Windows 2021-05-02 02:14:28 -06:00
2a90a381a4
Merge remote-tracking branch 'upstream/dev' into dev 2021-05-02 01:17:13 -06:00
461bc8ac9c
Merge branch 'auto-repair' into dev 2021-05-02 01:10:45 -06:00
e9db4238ff
Run Autologon before any scans 2021-05-01 21:17:42 -06:00
2d4ae65188
Run KVRT in new pane under ConEmu 2021-05-01 20:41:24 -06:00
6b35d4165d
Add download_tool() function 2021-05-01 20:04:50 -06:00
9b6bfa2760
Make Sync Clock optional 2021-05-01 20:01:01 -06:00
ff43bc79b8
Add uninstaller sections 2021-05-01 20:00:46 -06:00
080e440d23
Add AdwCleaner sections 2021-05-01 19:28:07 -06:00
04b2c1c9d9
Add Microsoft Defender sections 2021-05-01 19:14:32 -06:00
03000662fe
Add KVRT sections 2021-05-01 17:12:11 -06:00
cf8b600dd5
Drop extraneous SYSTEMDRIVE lookups 2021-05-01 17:00:48 -06:00
f706a48f60
Add HMP sections 2021-04-30 03:26:45 -06:00
bdbed4622e
Add BleachBit sections 2021-04-30 02:59:19 -06:00
77920db5b5
Add missing default UAC setting 2021-04-30 02:58:02 -06:00
06b0ff81e1
Add Auto Repairs init functions 2021-04-30 02:09:43 -06:00
e488b2c89c
Avoid crash when downloading tools 2021-04-30 02:08:50 -06:00
447e93ca3a
Resume in ConEmu if started in ConEmu 2021-04-30 00:19:33 -06:00
7f40a52444
Add remaining Windows Repairs functions 2021-04-30 00:06:22 -06:00
e17c96d465
Add auto_chkdsk() 2021-04-29 21:14:12 -06:00
973dad3240
Add "auto_" windows updates functions 2021-04-29 20:17:24 -06:00
078859838a
Add 'Backup Settings' group functions 2021-04-24 20:24:39 -06:00
a7db972ba5
Get repair functions by name instead of full path 2021-04-24 20:23:08 -06:00
1dbad4bafe
Split result variables to result and message
result is for the return variable from TryAndPrint calls.
message is the text to display or save to the registry.
2021-04-24 20:18:45 -06:00
b2c94113d9
Remove date from DEFAULT_LOG_DIR 2021-04-24 19:03:41 -06:00
005d4d1ea6
Search all modules for a matching exception 2021-04-24 16:55:17 -06:00
9a77a5cb9b
Update Auto Repair sections
* Expanded saving/loading settings from registry
* Keep previous selections by default but allow changes
* Print previous session(s) to have the whole session info present
* Changed variable names for clarity (why am I so bad at this?)
2021-04-23 23:57:22 -06:00
10b443f0f5
Add framework for running auto repair groups 2021-04-23 03:20:32 -06:00
c2d3752bc5
Update TryAndPrint() 2021-04-21 23:57:19 -06:00
d200878e0d
Revert update() to private method and add wrapper 2021-04-21 22:27:49 -06:00
125907ed3a
Add Auto Repairs menus 2021-04-21 05:19:27 -06:00
3c748520e1
Don't suppress bells in ConEmu 2021-04-20 22:23:05 -06:00
ee3203c485
Show message when downloading tools 2021-04-20 22:06:03 -06:00
b44fda2ccd
Avoid clobbering files when downloading tools. 2021-04-20 21:14:31 -06:00
cb825e37ba
Add support to run tools from .cbin or online 2021-04-19 01:04:18 -06:00
b8335188ce
Add wk.kit.tools
For code related to downloading, finding, and running tools on the kit.
2021-04-17 17:49:04 -06:00
65cb8481bc
Add wk.repairs section 2021-04-17 14:10:30 -06:00
fd7a8c4066
Add Windows service functions 2021-04-17 12:13:24 -06:00
9351b597c2
Avoid potential crash in run_chkdsk_online() 2021-04-17 11:38:06 -06:00
7064472e0b
Fix SFC scan 2021-04-16 03:33:47 -06:00
ffa2df416b
Set source drive to sleep instead of detaching it 2021-04-16 01:07:56 -06:00
e088f705ba
Add run_dism() 2021-04-15 23:33:11 -06:00
47b49077da
Show CHKDSK progress in separate pane under ConEmu 2021-04-15 23:31:08 -06:00
943c1e11b9
Retry CHKDSK on failures
Fixes issue #159
2021-04-15 21:13:28 -06:00
ed6f188eb2
Avoid pylint errors under Linux/macOS 2021-04-15 20:04:33 -06:00
759cd12379
Reoder Windows functions 2021-04-15 19:48:36 -06:00
da9563f870
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-15 01:37:18 -06:00
20fe08dbb4
Get correct size for child dev under macOS 2021-04-14 02:16:58 -06:00
a4ee7b890c
Disable image mode in ddrescue-tui (for now) 2021-04-13 23:16:55 -06:00
d781038e88
Enable ddrescue-tui under macOS
Currently limited to only cloning whole disks, not select partitions.
We need to specify the --size due to a bug under macOS; it fails to
detect the size of the device/partition and reports 8192 PiB instead.
2021-04-13 02:18:17 -06:00
c90bc0ef37
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-11 15:32:16 -06:00
535455813c
Use the new command name for pipes.sh 2021-04-11 15:30:32 -06:00
c6ca5228ac
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-11 15:28:27 -06:00
b047b28f30
Fix typo 2021-04-11 15:27:51 -06:00
2774e54732
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-10 17:47:25 -06:00
719e6c457d
Remove stale code 2021-04-10 17:37:46 -06:00
bed7e79758
Add questionable argument to hw-diags
I, the author of this script, strongly recommend against using this!

References issue #139
2021-04-09 04:15:20 -06:00
4b956cb488
Disable benchmarks only for smaller USB drives
Addresses issue #128
2021-04-09 03:51:13 -06:00
a42d5e06f4
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-09 03:08:19 -06:00
66bf189e55
Disable benchmark tests on surface scan failures 2021-04-09 03:02:28 -06:00
b3a667641d
Show failed attributes during surface scans 2021-04-09 02:29:06 -06:00
ce8dddd9b7
Include note if attributes fail mid-diagnostics 2021-04-09 02:27:11 -06:00
d0b8b3ad57
Add even more pylint cleanup fixes 2021-04-09 00:18:18 -06:00
af09772d67
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-09 00:16:41 -06:00
812fd15011
Add more pylint cleanup fixes 2021-04-09 00:15:59 -06:00
8689a68c2f
Skip asking for a ticket ID twice
For this to happen the tech has to disable osTicket integration first
so in that case just set ticket to the date.  No need asking again.

Addresses issue #132 (I think, couldn't reproduce)
2021-04-08 23:58:44 -06:00
388c6302cb
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-08 23:41:01 -06:00
9d3508909a
Add DRIVE_POWEROFF_TIMEOUT to wk.cfg.ddrescue
This replaces a magic number
2021-04-08 23:40:00 -06:00
249e868c3d
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-08 23:22:56 -06:00
830e088ccf
Report if the dest starts failing during recovery 2021-04-08 23:17:00 -06:00
5a2d35d3cc
Prevent recovering to wrong devices or paths
Before starting a recovery run verify the source and destination have
not changed.  This will prevent issues on some extreme edge cases but
the main goal is for disappearing source drives with heavy damage.

e.g. A very damaged source drive disappears mid-recovery, drops off and
before would need a restart, or unplug/replug, to continue.  Now we can
attempt to re-detect the drive and resume recovery without leaving the
script.  If for some reason the drive order were to change then we'll
avoid using the wrong source or destination device.
2021-04-08 23:09:00 -06:00
43fd30322e
Expand checks for missing source or destination
Addresses issue #155
2021-04-08 22:43:13 -06:00
18bc139d25
Add 'Detect drives' option to ddrescue-tui 2021-04-08 20:55:28 -06:00
c452256fe7
Fix pylint issues in wk/hw/ddrescue.py 2021-04-08 20:49:21 -06:00
1a3b57da66
Poweroff source drives after ddrescue errors
Addresses issue #165
2021-04-08 19:41:05 -06:00
a5766a8a1e
Avoid more possibles crashes when uploading graphs 2021-04-06 17:27:44 -06:00
9eb782e2b7
Remove macOS override to default log path
Isn't needed since we're setting $HOME and including a symlink.
i.e. /var/root/Logs --> /Volumes/RAM_Disk/Logs
2021-04-06 17:06:48 -06:00
86f0f14c34
Merge remote-tracking branch 'upstream/dev' into dev 2021-04-06 17:06:30 -06:00
9478000cdf
Add Clock Sync option to HW-Diags menu under macOS 2021-04-06 16:57:31 -06:00
61f2b00a2a
Export SMC data in HW Diagnostics
Addresses issue #154
2021-04-06 15:53:19 -06:00
8e5d350ac2
Update default log dir under macOS 2021-04-06 15:52:57 -06:00
641695a2be
Avoid crash if benchmark image fails to generate 2021-04-01 23:22:04 -06:00
586e3fc61c
Merge remote-tracking branch 'upstream/dev' into dev 2021-03-26 01:24:35 -06:00
ae42634a8e
Add SMART override for some Samsung devices
* Addresses issue #163
2021-03-26 00:57:08 -06:00
1e09ddc9ff
Merge remote-tracking branch 'upstream/dev' into dev 2021-03-25 21:28:50 -06:00
ba5efedb11
Remove pylint bad-whitepace references 2021-03-25 21:25:40 -06:00
9818d5196f
Export state objects as pickle files
This should better ensure debugging an issue will have all the relevant
info at the ready.
2021-03-25 21:15:56 -06:00
3f48b10942
Apply "temp" fix for macOS HW-Diags 2021-03-25 21:11:21 -06:00
467a7e7925
Merge remote-tracking branch 'upstream/dev' into dev 2021-03-25 15:20:55 -06:00
7fdab1b1e6
Fix typo 2021-03-25 15:14:37 -06:00
bad27e20ad
Merge remote-tracking branch 'upstream/dev' into dev 2021-03-25 15:01:40 -06:00
1f4a3c6e55
Avoid crash when parsing special mountpoints 2021-03-25 14:37:02 -06:00
60e5d86f8e
Merge remote-tracking branch 'upstream/dev' into dev 2021-03-24 22:22:54 -06:00
2Shirt
7147ef1753 Fix get_serial() 2021-03-19 15:23:49 -06:00
2Shirt
080383d9a9 Fix bad call to mount_disk() 2021-03-19 03:37:40 -06:00
2Shirt
207c52663b Allow mounting of protected macOS partitions
Renamed mount_volumes() to mount_disk() to better match diskutil naming.
Dropped read_write from mount_disk() since it isn't used
2021-03-18 22:23:07 -06:00
2Shirt
7c1a9f4bdc Fix osTicket volume report 2021-03-18 21:52:29 -06:00
2Shirt
2b98eeabca Include GPT info when saving hw-diaqs debug data 2021-03-18 21:41:59 -06:00
2Shirt
ef426c95b5 Fix get_core_storage_volumes() 2021-03-18 21:29:58 -06:00
2Shirt
908ffdc999 Add mount_volumes() to wk.os.mac
Supports both CoreStorage and APFS containers
2021-03-18 03:23:09 -06:00
2Shirt
bc3f6946f7 Add support for macOS High Sierra Base Images 2021-03-17 01:23:12 -06:00
2Shirt
4dc5c51beb Include Mac serial number in OST Post 2021-03-13 03:20:51 -07:00
2Shirt
72259303b9 Mount RAM Disk in live-macOS 2021-03-13 03:19:39 -07:00
2Shirt
314675c32e Unknown 2021-03-13 03:15:30 -07:00
31cd8d1e56
Fix items_not_found logic 2021-01-10 17:19:27 -07:00
7d77aa81b0 Update sensors.py to improve CPU data
Include AMD CCD sensors
Exclude current sensors
2021-01-09 21:08:53 -07:00
9a53d4adad
Updated log handling to support Windows 2020-04-26 16:28:23 -06:00
6c775bbba7
Adjusted running as root checks
* Suppress pylint errors when checking uid/euid/gid
  * Helpful when checking under Windows
* Allow running wk.exe.stop_process() under Windows
2020-04-26 16:24:35 -06:00
d0d74b8763
Support creating emtpy keys in reg_write_settings() 2020-04-07 23:23:11 -06:00
8753344665
Added reg_write_settings()
* Replaces old write_registry_settings()
* Uses tuples to combine all parts of the values
  * e.g. ('SampleValue', 'SampleData', 'SZ', '32)
  * This will allow merging multiple setting groups together
  * Should be more readable than the old method
2020-04-07 23:05:40 -06:00
24dbdf29fd
Added Windows Registry functions 2020-04-06 19:46:09 -06:00
a4df2f41d3
Added wk.exe.stop_process()
* Replaced wk.hw.ddrescue.stop_ddrescue()
2020-02-25 20:52:08 -07:00
45a6b31910
Added periodic destination health check
* Addresses issue #158
2020-02-25 20:45:59 -07:00
94a428f6da
Added check for missing source/destination
* Addresses issue #155
2020-02-25 20:15:13 -07:00
0a00e17536
Avoid another rare crash when saving average temps 2020-02-17 16:54:51 -07:00
1f1fdfc738
Avoid rare crash when saving average temps 2020-02-17 16:44:33 -07:00
1b7c248102
Merge remote-tracking branch 'upstream/dev' into dev 2020-02-03 18:16:12 -07:00
3b640ac85b
Addressed issue #153 2020-02-03 18:09:46 -07:00
e301617ca0
Revert "Adjusted menus under live macOS"
This reverts commit 4a3981e10c.
2020-01-30 20:05:15 -07:00
c1970b8c23
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-30 14:09:13 -07:00
e8522bf2bb
Added pause if fan speed can't be set under macOS
* This can be removed after a bit of real-world testing
2020-01-30 14:08:05 -07:00
1fe4fd9849
Added 1201 Root CA to fix upload sections 2020-01-30 14:06:16 -07:00
a66c27be84
Updated get_disk_details_macos() 2020-01-30 14:01:30 -07:00
ebbdedef6c
Added get_fstype_macos() 2020-01-30 13:59:12 -07:00
ad1adba837
Add APFS and HFS/HFS+ to RECOMMENDED_MAP_FSTYPES 2020-01-30 13:51:23 -07:00
6eb75c38a3
Report if item(s) are missing during build-ufd 2020-01-30 13:48:51 -07:00
64db679a4d
Allow setting verbose value for TryAndPrint obj
* Instead of strictly per-call
2020-01-30 13:47:59 -07:00
154acc5280
Run build-ufd as current user
* sudo is used for elevated commands instead
* Avoids splitting logs between root and current user
* Addresses issue #150
2020-01-30 13:36:43 -07:00
385b2158fd
Improved method to avoid crash during self-tests 2020-01-30 13:28:52 -07:00
dc6dcfb845
Revert "Avoid crash during SMART self-test"
This reverts commit cc8c0992f6.
2020-01-30 13:25:46 -07:00
c8f95d866a
Typo fix 2020-01-30 13:24:49 -07:00
86f0f1e5fd
Avoid rare crash concerning disk attributes
* Crash would occur under these circumstances:
  * Disk Attributes test was not selected
  * One or more other disk tests were selected
  * A non-blocking attribute error was detected
2020-01-30 13:16:48 -07:00
417241acb5
Fixed clearing the screen under live macOS 2020-01-30 13:09:57 -07:00
4a3981e10c
Adjusted menus under live macOS 2020-01-30 13:08:13 -07:00
c7d57ff266
Fixed logging under live macOS 2020-01-30 13:07:04 -07:00
e1943b9fb4
Strip sudo use if running as root on Linux/macOS
* Allows running under live macOS
2020-01-30 13:03:21 -07:00
98032a0fed
Removed stale TODO statements 2020-01-28 19:00:47 -07:00
1a26aead44
Network test working under macOS 2020-01-28 18:38:33 -07:00
869293ced9
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-28 18:30:35 -07:00
f14f5e0d72
Adjusted logging 2020-01-28 18:21:24 -07:00
5cc0456f40
Improve performance under macOS by using rdisks 2020-01-28 18:12:53 -07:00
0c8701e3e4
Support get_disks_macOS() on older macOS versions 2020-01-28 18:10:10 -07:00
cc8c0992f6
Avoid crash during SMART self-test 2020-01-28 18:09:33 -07:00
fe50ce8994
Use new Mac fan sections in HW Diags 2020-01-28 18:08:26 -07:00
7fd3e3bada
Added Mac fan control sections 2020-01-28 18:04:21 -07:00
25d9f3d20d
Updated Mac sensor names 2020-01-28 18:00:29 -07:00
8a4c2c059c
Added MariaDB connection timout
* Prevents waiting 1-2 minutes for it to fail if the server can't be reached
* Connection attempt is made once per _connect() call
2020-01-24 17:53:01 -07:00
cf75348c2c
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-24 12:29:01 -07:00
568483d49c
Updated config to use hexidecimal for sfdisk 2020-01-24 12:27:13 -07:00
ac0efb90e5
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-23 18:58:50 -07:00
9c95dcbd5c
Fixed CoreStorage scanning
* Dropped use of mktemp since sudo was interferrring
* Fixed crash if timeout occurred
2020-01-23 18:56:27 -07:00
25c532881e
Allow custom temp file suffixes 2020-01-23 18:56:11 -07:00
b9b2422c69
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-23 14:14:01 -07:00
1b643f3918
Updated wk.kit.ufd
* Don't continue if a step fails, instead re-raise the exception
* Made the private functions public
2020-01-23 14:09:13 -07:00
019cbb6c1a
Updated TryAndPrint
* catch_all can now be set for a TryAndPrint instance
  * As opposed to defining for every TryAndPrint.run() call
2020-01-23 14:06:52 -07:00
29a8731fb5
Merge remote-tracking branch 'upstream/dev' into dev 2020-01-22 23:19:21 -07:00