b166172d10
Only perform case-insensitive search if needed
2019-04-07 23:45:08 -07:00
e420074c83
Use correct errors in find_path()
...
* FileNotFoundError is accurate since we're just looking for a path
2019-04-07 23:35:00 -07:00
50cb765108
Merged find_source_item() and get_full_path()
...
* Also fixed regex match (it wasn't matching the whole string)
2019-04-07 23:26:22 -07:00
b6c6fc9aa9
Find paths case-insensitively
2019-04-07 22:44:15 -07:00
cd0a9456cb
Use pathlib.Path to resolve paths
...
* is_block_device() is no longer needed
* (pathlib.Path provides that functionality)
2019-04-07 22:41:41 -07:00
c4d00a2073
Fix typos
2019-04-07 22:35:09 -07:00
575126eaa2
Split build-ufd file to match other scripts
2019-04-07 20:51:54 -07:00
7eaa5d73cd
Merge remote-tracking branch 'upstream/dev' into dev
2019-04-07 19:40:39 -07:00
1c7677d805
Skip renaming Copy WizardKit.cmd
...
* It isn't used anymore
2019-04-07 19:39:30 -07:00
3ff0bcd3c9
Updated new_system_setup.py to match other scripts
...
* i.e. don't change dir when setting sys.path
2019-04-07 19:07:31 -07:00
639a338cca
Initial Python layout
...
* Going to use docopt for argument handling
* Script will be run as user using sudo where needed
* Tentatively dropping tmux usage
2019-04-07 19:03:56 -07:00
a22e6f552f
Start build-ufd rewrite in python
2019-04-07 19:01:03 -07:00
6a7ef8ebcb
Merge remote-tracking branch 'upstream/dev' into dev
2019-04-02 16:37:09 -07:00
e089dd99a3
Avoid crash when no disks are connected
...
* It was attempting to recheck the NVMe/SMART data for the fake N/A lines
2019-04-02 16:29:09 -07:00
e147dbc6d2
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-30 09:49:15 -07:00
52e3e24a3a
Updated build-ufd
2019-03-30 09:48:48 -07:00
d6de2c5b65
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-30 09:47:56 -07:00
c5364a65a2
Avoid copying the wrong files from WinPE
...
* if w_en_us was empty it would copy the contents from $(pwd)
2019-03-30 09:45:36 -07:00
0b31fa271d
Expand build-ufd log
2019-03-30 09:38:13 -07:00
c9c1007eaa
Merge remote-tracking branch 'upstream/dev' into dev
...
* Fixes issue #61
2019-03-20 15:49:35 -06:00
c022d3f9c6
Set ddrescue-tui EToC refresh rate in settings
2019-03-20 15:48:01 -06:00
28cea9697e
Moved ddrescue-tui EToC code to its own function
...
* Limited refresh rate to every 5 seconds
2019-03-20 15:45:27 -06:00
fa05c93bf8
Added EToC line to ddrescue-tui side-pane
...
* Is not shown in main menu
2019-03-20 15:21:19 -06:00
c96ffc5f59
Added overall status line to ddrescue-tui
2019-03-20 13:16:09 -06:00
679a0329cc
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-20 12:59:25 -06:00
95338f1df7
Add encoding to run_program and popen_program
2019-03-20 12:57:56 -06:00
df1706a8bf
Disabled speedtest in d7II mode, moved to Post-d7
...
* Also updated post_d7.py to use 2-space indentation
2019-03-19 20:49:32 -06:00
a4f57787e7
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-19 20:46:48 -06:00
877db91cb6
Extended Windows build list
2019-03-19 20:45:37 -06:00
26199cf271
Detect and update browsers in Install SW Bundle
...
* Fixes issue #65
2019-03-19 20:31:00 -06:00
1e21b1bd59
Match formatting when enabling Windows Updates
2019-03-19 20:24:42 -06:00
3f96a31e1e
Fixed opening Snappy Driver Installer Origin
...
* Set working dir so the config file is read
* Pipe output to prevent flooding the screen with debug data
2019-03-19 19:03:16 -06:00
569810c3ca
Merge remote-tracking branch 'upstream/dev' into dev
...
Fixes issue #57
2019-03-19 14:20:31 -06:00
723f1ad4ad
Fixed WizTree extraction
2019-03-19 14:16:39 -06:00
089cdba4f9
Updated sources
2019-03-19 14:16:16 -06:00
f98c106080
Bugfix: Extremely minor formatting issue
2019-03-17 21:30:25 -06:00
6d7a5e1eae
Updated system_checklist_hw.py
2019-03-17 21:25:04 -06:00
2218c03172
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-17 21:08:29 -06:00
f73a1f8191
Open SDI Origin in New System Checklist
...
* Addresses issue #60
2019-03-17 21:02:42 -06:00
1fbdb2b5e2
Replace PowerShell with CMD in Win+X menu
...
* Addresses issue #60
2019-03-17 20:54:59 -06:00
48c0cf0b1b
Adjusted Explorer settings
2019-03-17 20:43:19 -06:00
6876d1c0ef
Fixed dict collision in Explorer settings
...
* Also updated section descriptions
* Addresses issue #60
2019-03-17 20:40:25 -06:00
4cb14c6429
Restart Explorer after configuring
...
* Allows changes to be seen without restarting manually
2019-03-17 20:23:25 -06:00
b84d4eb6b8
Bugfix: typo
2019-03-17 20:22:50 -06:00
1235269da0
Bugfix
2019-03-17 20:17:00 -06:00
89a09a322e
Add prompt to run Post-d7II script
...
* Best I can do for issue #52
2019-03-17 20:08:01 -06:00
ead4715c38
Also skip IE in reset_browsers and user_checklist
...
* More fixes for issue #59
2019-03-17 18:37:03 -06:00
2bde723c43
Skip Internet Explorer setup in new_system_setup()
...
* Fixes issue #59
2019-03-17 18:29:41 -06:00
a7926e58a4
Set wuauserv startup to manual when enabling
...
* This is the default in at Windows 10
* Fixes issue #46
2019-03-17 18:25:01 -06:00
2e679dbf5e
Download stand alone Windows update installers
...
* Fixes issue #91 (again)
2019-03-17 18:11:36 -06:00
84deb49beb
Explicitly set colors to properly reset errorlevel
2019-03-16 23:03:13 -06:00
ec74b06282
Verify Python can be run before launching script
...
* Fixes issue #91
2019-03-16 23:02:44 -06:00
f39bb8191e
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-16 19:01:42 -06:00
e590547e3c
Show more details when disabling/enabling updates
...
* Fixes issue #46
2019-03-16 18:53:55 -06:00
f9b35b9a3d
Fixed dict collision
...
* Fixes issue #97
2019-03-16 18:14:31 -06:00
c5b4446133
Configure Windows Updates during checklist/setup
...
* Sets readiness branch to non-targeted semi-annual
* Defers feature upgrades for 60 days
* Fixes issue #93
2019-03-16 18:11:19 -06:00
86f81f2720
Prevent updating OVERRIDE to CS
2019-03-16 15:11:42 -06:00
5aeeb41995
Prevent updating OVERRIDE to PASS
2019-03-16 15:09:35 -06:00
9cad5419d8
Simplified osTicket post formatting
2019-03-14 01:04:14 -06:00
4aa50a044a
Adjusted osTicket post formatting
2019-03-14 00:37:55 -06:00
d447e694b2
Set NVMe/SMART test to FAIL if safety check fails
...
* Fixes issues #49
2019-03-14 00:22:11 -06:00
8835fb486d
Include ticket ID and name in osTicket posts
...
* Fixes issue #58
2019-03-13 23:01:32 -06:00
c73bf2521c
Include ticket ID and name in top pane
...
* Only if ticket ID and name are set
* Expands on fix for issue #58
2019-03-13 22:49:07 -06:00
4c3fe1d66f
Avoid crash if connection to osTicket fails
2019-03-13 22:26:42 -06:00
b6ecf348d4
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-13 21:00:25 -06:00
809f338cd2
Use new NVMe/SMART report layout in osTicket posts
...
* Fixes issue #45
2019-03-13 20:57:14 -06:00
e0c3716e08
Avoid crash if fstype is None
...
* Set fstype to 'UNKNOWN FS' if it's an empty string or None
* Ensure all v_data values are strings before replacing text
* Fixes issue #53 (again)
2019-03-13 20:55:18 -06:00
62e78cdc2c
Skip uploading I/O Graphs if the test is disabled
2019-03-13 20:52:01 -06:00
70b8d2536a
Missed a functions/json.py import
2019-03-13 20:39:47 -06:00
34ef0bfae6
Fail test on SMART self-test timeout
2019-03-13 20:22:28 -06:00
b268385e0b
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-13 19:04:01 -06:00
648787913e
Fixed issues importing settings files
2019-03-13 19:02:35 -06:00
75df9777b3
Removed extraneous whitespace
2019-03-12 22:49:25 -06:00
c45c1c9225
Merge remote-tracking branch 'upstream/dev' into dev
...
* Fixes issues #54 & #55
2019-03-12 22:45:43 -06:00
122bbfb157
Added debug mode for HW Diagnostics
...
* Uses alternative major exception
* Saves State, CpuObj, and DiskObj data after traceback
* Uploads the whole LogDir folder (compressed) instead of just the main log
2019-03-12 21:24:06 -06:00
7381547b27
Added functions.json
...
* Uses safer method to get JSON data from a command
* Replaced nearly all uses of json.loads with new get_json_from_command()
* Fixes issue #100
2019-03-12 16:08:21 -06:00
480222c1f2
Adjusted variable name usage for consistency
2019-03-12 15:13:16 -06:00
3fa6521c51
Only enable WinPE boot entries if necessary
...
* Addresses issue #94
2019-03-11 22:31:56 -06:00
459f95394a
Allow building UFD with only the Linux ISO
...
* Addresses issue #94
2019-03-11 22:27:07 -06:00
22b1452168
Find WinPE sources case-insensitively
...
* Allows non-WK WinPE builds to be used
* Addresses issue #94
2019-03-11 22:24:11 -06:00
1d10503b91
Support disks over 4TB in badblocks test
...
* Set read block size to 4KB if disk is 4Kn or 3TB+
* Fixes issue #99
2019-03-11 21:00:26 -06:00
e7d31c21c3
Get disk size in bytes during object creation
...
* Also moved dd calc section into docstring
2019-03-11 20:55:24 -06:00
7f6509d235
Return to HW-Diags menu from safety_check()
2019-03-11 13:26:11 -06:00
7701418e55
Recheck disk attributes after all tests
...
* Should catch errors exposed by badblocks
* Addresses issue #96
2019-03-11 13:25:12 -06:00
7078efe9e7
Adjusted SMART self-test running message
2019-03-11 13:23:56 -06:00
a3d2de92bc
Show CS/NS in quick mode if self-test is running
...
* It still shows the slightly ambiguous message "all tests disabled"
* Addresses issue #96
2019-03-11 12:37:01 -06:00
607d4b1e57
Skip SMART self-test in quick mode
...
* Addresses issue #96
2019-03-11 12:36:33 -06:00
6edfcc9766
Moved SMART self-test code to its own function
...
* Allows for a simpler run_nvme_smart_tests()
* Self-test is now done before the attribute check
* Addresses issue #96
2019-03-11 11:57:29 -06:00
40f269aabd
More cleanup for generate_attribute_report()
2019-03-11 10:52:11 -06:00
a5852d1caa
Major overhaul of NVMe/SMART reporting/testing
...
* Moved all errors/warnings to new nvme_smart_notes var
* Allows the notes to be appended to the attribute report much easier
* Allows the attribute report to be updated without losing notes
* NVMe/SMART should only contains the SMART short self-test results
* If available and requested
* Updated safety_check to fix erroneous requests
* Disable tests logic reworked
* Updated generate_disk_report() to include notes
* Addresses issue #96
2019-03-09 21:42:28 -07:00
95aa063a69
Adjusted disk safety checks
...
* check_attributes() is now always silent
* Returns a PASS/FAIL bool
* override_disabled is now at the Disk() scope
* Moved self-test checks to check_smart_self_test()
* Returns a PASS/FAIL bool
* Addressed issue #96
2019-03-09 18:07:04 -07:00
858c2e1bd5
Avoid crash on some Macs
...
* Partially addresses issue #88
* HW damage should be avoided by using the THERMAL_LIMIT setting
2019-03-09 14:15:42 -07:00
b0e2b01e00
Added beep function
...
* Fixes issue #89
2019-03-09 14:11:53 -07:00
d5dc453ffa
Added maximum threshold for NVMe/SMART attributes
...
* Fixes issue #95
2019-03-05 19:36:43 -07:00
68a3b6d0c7
Fixed REGEX sections in settings files
2019-03-05 19:36:42 -07:00
197a5a9160
Misc cleanup
2019-03-05 19:36:42 -07:00
62f2ec8a4d
Moved SW-Diags settings to separate file
2019-03-05 19:36:42 -07:00
4197fc9e0b
Moved WinPE settings to separate file
2019-03-05 19:36:42 -07:00
8d8399c9aa
Moved windows setup settings to separate file
2019-03-05 19:36:42 -07:00
af5281626b
Moved setup settings to separate file
2019-03-05 19:36:42 -07:00
8add6f634c
Moved sensor settings to separate file
2019-03-05 19:36:41 -07:00
058a52961d
Moved info settings to separate file
2019-03-05 19:36:41 -07:00
d03772666d
Moved ddrescue-tui settings to separate file
2019-03-05 19:36:41 -07:00
974e20df05
Moved data settings to separate file
2019-03-05 19:36:41 -07:00
34f4bca97d
Moved browser settings to separate file
2019-03-05 19:36:41 -07:00
e2c83aad6e
Moves HW-Diags settings to separate file
2019-03-05 19:36:41 -07:00
cd4bb7c867
Create launcher for new_system_setup.py
2019-03-05 16:34:13 -07:00
28ee4a3ed4
Merge remote-tracking branch 'upstream/dev' into dev
2019-02-28 00:18:21 -07:00
0398ea7e51
Disable Tips & Tricks (more)
2019-02-27 23:57:13 -07:00
d8ce7f36e9
Expanded registry edits
...
* Disable edge swipe
* Add This PC to Desktop
* Add User's Files to Desktop
* Launch folders as separate process
* Addresses issue #60
2019-02-27 23:55:11 -07:00
63fa4d6f80
Show Cortana as taskbar icon instead of hiding
2019-02-27 22:09:21 -07:00
9333fb8f3e
Include filesystem type in volume reports
...
* Fixes issue #53
2019-02-26 22:07:14 -07:00
bc4fa92e16
Show ticket ID and name on results screen
...
* Fixes issue #58
2019-02-26 21:49:42 -07:00
054cf25811
Catch CTRL+c in new_system_setup.py
...
Fixes issue #50
2019-02-23 18:07:49 -07:00
85212fb171
Add retry option when connecting to osTicket
...
* Fixes issue #51
2019-02-23 17:49:40 -07:00
8be59c2c13
Fixed comment to match code
2019-02-23 16:32:16 -07:00
3428e9dff8
Merge remote-tracking branch 'upstream/dev' into dev
...
Fixed issue #41
2019-02-05 21:50:50 -07:00
017c0e3385
Avoid marking aborted badblocks test as failed
2019-02-05 21:49:00 -07:00
e02cf4a602
Raised thermal limit to 99*C
2019-02-05 21:40:40 -07:00
4245d13375
Stop Prime95 if CoreTemps hit 95*C
2019-02-05 21:39:28 -07:00
7132d971f6
Add temp limit to report
2019-02-05 21:26:27 -07:00
dc6de9cab0
Use consistent labels
2019-02-05 21:25:28 -07:00
a28a754be1
Added thermal limit logic to Prime95 test
2019-02-05 21:08:06 -07:00
3c35a75c92
Raise exception when temps >= limit
2019-02-05 21:06:40 -07:00
f8404f3c16
Raise exception if temps above given threshold
2019-02-05 20:31:16 -07:00
9579d0fced
Prevent replacing disk checkbox FAILED value
...
* Addresses issue #40
2019-01-15 22:43:23 -07:00
c29e84131b
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-15 18:59:11 -07:00
7c7d8e41e2
Prevent crash when testing some NVMe disks
2019-01-15 18:56:29 -07:00
2c87021301
Avoid incorrectly updating osTicket disk checkbox
...
* Only update if disk tests are enabled and disk(s) were detected
* Addresses issue #40
2019-01-15 14:27:32 -07:00
402f3854d5
Avoid crash when installing Ninite bundle
2019-01-15 14:21:14 -07:00
a47579ab79
Disabled Ninite in d7II per request
2019-01-14 13:18:01 -07:00
6853e7bc21
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-13 18:06:04 -07:00
814ada0ac0
Updated HWiNFO url
2019-01-13 17:59:06 -07:00
06b5ebe8b4
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-13 17:37:05 -07:00
a8536bf0d5
Forgot to include functions/windows_updates.py
2019-01-13 17:22:24 -07:00
1bc77334a4
Enable Windows Updates during checklist
2019-01-13 17:21:24 -07:00
5b9e91f8af
Updated Killer Network drivers source
2019-01-13 14:51:53 -07:00
da4ae79fcc
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-11 14:43:41 -07:00
bece9837b2
Moved Office 2019 installers to their own folder
2019-01-11 14:42:18 -07:00
6c47650c2d
Updated IOBit Uninstaller
2019-01-11 14:18:01 -07:00
fd8358a899
Fix ODT path
2019-01-11 14:17:41 -07:00
4d600993e2
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-11 13:28:07 -07:00
cb072366e0
Bugfix Office sections
...
* Addresses issue #86
2019-01-11 13:25:33 -07:00
4a96736592
Removed network installers
2019-01-11 13:17:25 -07:00
adda1d76ae
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-11 13:11:02 -07:00
ad1d7d71f2
Fixed ODT sections
...
* Fixes issue #86
2019-01-11 12:59:12 -07:00
6246393894
Fixed update_fastcopy()
2019-01-11 12:31:08 -07:00
a419d4e808
Added find_user_wallpapers.py
...
* Fixes issue #16
2019-01-10 20:55:50 -07:00
1dbbb41dd3
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-09 21:10:43 -07:00
4cb158b6b2
Removed duplicate docstring
2019-01-09 21:08:00 -07:00
c1324548ce
Track ninite processes directly
2019-01-09 20:59:21 -07:00
969011f3f5
Added new_system_setup()
2019-01-09 20:55:48 -07:00
b7423ae3b5
Remove space from System Restore name
2019-01-09 19:03:52 -07:00
957a53ad12
Scan for browsers AFTER installing them
2019-01-09 18:44:02 -07:00
721a083c85
Bumped System Restore max size to 8%
...
* Per request in issue #31
2019-01-09 18:43:20 -07:00
d8e28ce785
Updated windows_updates.py
2019-01-09 18:25:07 -07:00
63501bbb28
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-09 16:30:21 -07:00
6488101cdc
Dumb workaround for Dell sensors
2019-01-09 16:29:18 -07:00
7944312309
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-08 23:55:42 -07:00
e088ba134e
Tool version bumps
2019-01-08 23:48:50 -07:00
f20d8b5af3
Enable BSoD mini dumps during system checklists
...
* Fixes issue #33
2019-01-08 22:13:51 -07:00
6068b4390a
Create Restore Point during system checklists
...
* Fixes issue #31
2019-01-08 22:05:57 -07:00
827981d178
Wait for service to stop
2019-01-08 21:58:08 -07:00
8fef0a8e2f
Added windows_updates.py
2019-01-08 21:34:24 -07:00
990037e6c1
Added windows_updates.py
2019-01-08 20:53:32 -07:00
ceb3fc4835
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-08 20:33:53 -07:00
f2bd2a6e75
Adjusted global_vars report
2019-01-08 20:33:23 -07:00
b372e19970
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-08 20:27:19 -07:00
6ea4791dc9
Added generate_global_vars_report()
...
* Makes crash reports more readable
2019-01-08 20:24:43 -07:00
63f9c1c193
Fixed set_log_file() under Linux
2019-01-08 20:24:14 -07:00
187421a291
Fixed upload_crash_details() under Linux
2019-01-08 19:52:33 -07:00
2583358963
Missed a call to stop_tmux_repair_thread()
2019-01-08 19:34:17 -07:00
a839140ff4
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-08 19:25:39 -07:00
ac259c9c37
Revert "Avoid rare crash"
...
This reverts commit 23a88401b7 .
* Didn't fix the issue, better fix available upstream
2019-01-08 19:23:38 -07:00
ed70d1ab18
Simplified tmux repair thread handling
...
* Just start once and let run until script is exited
* Pretty sure this fixed the 100%+ CPU usage after returning to the menu
2019-01-08 19:18:00 -07:00
c4575db44c
Missed a 'CS'
2019-01-08 18:29:32 -07:00
23a88401b7
Avoid rare crash
2019-01-08 15:11:34 -07:00
1e5f72f79a
Switched to PASS/FAIL instead of CS/NS by request
2019-01-08 15:02:56 -07:00
83e96f9135
Fix issue #38
2019-01-07 16:13:24 -07:00
b1e5727d54
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-07 15:32:51 -07:00
4bd0cd1598
Avoid crash when no sensor data available
...
* This was broken when fixing issue #85
2019-01-07 15:29:33 -07:00
53af3859e4
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-07 12:55:18 -07:00
beb36dfc97
Adjusted window name
2019-01-07 12:54:28 -07:00
ebcd38ef50
Don't change directory during initialization
...
* Fixes issue with ddrescue-tui
2019-01-07 12:53:23 -07:00
014da1b224
Fix issue #37
2019-01-07 12:20:48 -07:00
0fcfc4b5ac
Merge remote-tracking branch 'upstream/dev' into dev
2019-01-07 12:12:28 -07:00
50da682d76
Fix issue #85
2019-01-06 22:12:01 -07:00
7a9474a6a8
Try enabling SMART before checking attributes
...
* Fixes issue #84
2019-01-06 21:51:45 -07:00
68bbee66d5
Replaced hw-diags-badblocks with threaded section
...
* Should fix issue #83
2019-01-06 21:45:01 -07:00
e40b0b98e4
Moved fix_tmux_panes() into a background thread
2019-01-06 20:57:06 -07:00
4a04e92caf
Added threading.py
...
* Will be used by hw_diags.py and ddrescue.py for
* Better control over badblocks
* Background the tmux pane fixes
2019-01-05 15:54:05 -07:00
97d0125c03
Avoid crash in I/O Benchmark with small disks
2019-01-02 18:41:35 -07:00
aa4c6a1434
Fix issue #82
2019-01-02 18:04:32 -07:00
3d69fe773d
Removed sensors section from hw-info
...
* Fixes issue #81
2019-01-02 18:02:24 -07:00
141fe422db
Fix NVMe attribute handling
...
* Addresses issue #78
2019-01-02 17:55:56 -07:00
3122a75f64
Skip fan RPMs
...
* Avoids reporting fan RPMs as 6000+ *C
2019-01-02 17:31:19 -07:00
6340bceb11
Added warning if no disks detected.
2019-01-02 17:05:08 -07:00
49c1987ccf
Adjusted unsupported OS detection
2019-01-01 21:23:33 -07:00
88dffd7432
Added New System Setup
...
* This is a combination of the following scripts:
* Install ESET AV
* Install SW Bundle
* User Checklist
* System Checklist
2019-01-01 21:06:08 -07:00
dfe009c413
Added warning when failing to connect to osTicket
...
* Fixes issue #34
2018-12-28 18:01:10 -07:00