Skip to content

Commit 93873f0

Browse files
authored
Update TROUBLESHOOTING.md
1 parent 4cdc943 commit 93873f0

1 file changed

Lines changed: 127 additions & 54 deletions

File tree

docs/TROUBLESHOOTING.md

Lines changed: 127 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,141 @@
1-
# 🔍 Troubleshooting
2-
## Common Issues
3-
### Script won't execute
4-
- Ensure PowerShell execution policy allows scripts
5-
- Verify UAC elevation is working
6-
- Check Windows PowerShell 5.1 is available
7-
- WinGet installation failures
8-
9-
- Verify internet connectivity
10-
- Check Windows Store app is installed
11-
- Update Windows to latest version
12-
- Bloatware returns after reboot
13-
14-
- Run script as Administrator
15-
- Ensure all user profiles are processed
16-
- Check Group Policy restrictions
17-
- Offline installers not found
18-
19-
- Verify installer paths in script
20-
- Check file permissions on USB drive
21-
- Ensure installers support silent installation
22-
1+
# Troubleshooting
2+
3+
## Quick Fixes
4+
5+
| Symptom | Solution |
6+
|---------|----------|
7+
| Script won't run | Use launcher Menu Option 3 to set execution policy, or run `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force` |
8+
| "Access denied" errors | Right-click `SystemTester.bat` and choose "Run as administrator" |
9+
| Sysinternals tools not found | Use launcher Menu Option 5 to auto-download (~35 MB from Microsoft) |
10+
| Reports not appearing | Check `<script dir>\Reports\` subfolder — auto-created on first run |
11+
| GPU tests all SKIPPED | Install NVIDIA/AMD drivers; nvidia-smi ships with NVIDIA drivers |
12+
2313
---
2414

25-
### "Sysinternals tools not found"
26-
**Solution:** Use launcher Menu Option 5 to auto-download, or manually download from [live.sysinternals.com](https://live.sysinternals.com)
15+
## Network
2716

28-
### "Execution policy" errors
29-
**Solution:** Use launcher Menu Option 3, or run: `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force`
17+
### Speed test fails or shows 0 Mbps
18+
**v2.6 approach:** The speed test tries curl.exe (WinHTTP/Schannel) first, then BITS, then Invoke-WebRequest. If all three fail:
19+
- Check that outbound HTTPS (port 443) is not blocked by a firewall or security appliance
20+
- Try disabling VPN temporarily — Mullvad, WireGuard, and similar VPNs add significant overhead and occasionally block test endpoints
21+
- Check `%TEMP%` for a leftover `speedtest_*.tmp` file and delete it
3022

31-
### "Access denied" / Permission errors
32-
**Solution:** Right-click launcher and choose "Run as administrator"
23+
### Speed test shows very low speed (under 5 Mbps)
24+
This is usually accurate — the test measures real throughput to a public server including VPN overhead. If it seems unexpectedly low:
25+
- Run the test twice; the first run may be slower if curl.exe is downloading through a cold VPN tunnel
26+
- Check your VPN server location — a geographically distant server adds latency and can reduce throughput
3327

34-
### Script crashes immediately on startup (v2.2 original only)
35-
**Solution:****FIXED** - Use `SystemTester.ps1` instead. Original had missing `Initialize-Environment` function.
28+
### Latency test shows high RTT (100 ms+)
29+
Expected when a VPN is active. PsPing and Test-NetConnection both measure round-trip time to 8.8.8.8 through whatever path your traffic takes, including VPN routing.
3630

37-
### Tool verification (Menu Option 4) crashes
38-
**Solution:****FIXED** - Use `SystemTester.bat` and `SystemTester.ps1`. Missing function has been added.
31+
### VMware / Hyper-V / VPN adapters flagged as slow NICs
32+
**Status:** Fixed in v2.5 / v2.6. Virtual and VPN adapters (VMware, Hyper-V, Tailscale, Mullvad, WireGuard, OpenVPN, and others) are excluded from the physical NIC speed check. If you still see this, check whether your adapter name contains one of the exclusion patterns.
33+
34+
### Wi-Fi adapter flagged as slow NIC
35+
**Status:** Fixed in v2.6. Adapters whose names contain `Wi-Fi`, `Wireless`, or `WLAN` are now excluded from the "Upgrade to Gigabit Ethernet" recommendation.
36+
37+
---
3938

40-
### AMD GPU not detected (multi-GPU systems)
41-
**Solution:****FIXED** - Script now checks ALL registry subkeys (\0000, \0001, \0002, etc.), not just \0000.
39+
## Reports
4240

43-
### GPU-Z appears corrupted
44-
**Solution:****FIXED** - Launcher now validates file size (should be >1MB). Re-download if size is too small.
41+
### Reports saved in wrong location
42+
Reports are saved to `<script directory>\Reports\`, not the script root itself. The subfolder is auto-created on first report generation.
4543

46-
### SMART test runs DISM/SFC instead
47-
**Solution:****FIXED** - Incorrect code has been removed from SMART test function.
44+
Full path: `<script dir>\Reports\SystemTest_Clean_YYYYMMDD_HHMMSS.txt`
4845

49-
### Windows Update check fails
50-
**Solution:** Ensure Windows Update service is running; may require administrator rights
46+
### Reports show garbled characters
47+
**Status:** Fixed in v2.5. Reports use ASCII encoding and plain `*` / `->` characters. If you see `•` or `â†'`, you are looking at an old report from v2.4 or earlier.
5148

52-
### GPU tests show "SKIPPED"
53-
**Solution:**
54-
- For NVIDIA: Install latest drivers from nvidia.com
55-
- For AMD: Install latest drivers from amd.com/support
56-
- nvidia-smi is included with NVIDIA drivers
57-
- Some GPU tests don't require special tools and should always work
58-
- **Note:** AMD detection now properly checks all registry locations
49+
### clockres or du sections show license text instead of data
50+
**Status:** Fixed in v2.6. Both tools are now passed `-accepteula` automatically.
5951

60-
### Tests taking too long
61-
**Expected:** Some tests are intentionally slow:
62-
- CPU Performance: 10-30 seconds
63-
- Power/Energy Report: 15-20 seconds (admin only)
64-
- Windows Update Search: 30-90 seconds
65-
- DISM/SFC Scans: 5-15 minutes each (admin only)
66-
- DirectX Diagnostics (dxdiag): Up to 50 seconds
52+
### autorunsc section shows usage/help text instead of entries
53+
**Status:** Fixed in v2.6. The argument was `-a -c` which caused autorunsc to consume `-c` as a type-selection character, leaving no CSV flag. Now uses `-c` only (default logon entries, CSV format).
6754

6855
---
56+
57+
## OS Health
58+
59+
### DISM reports "The component store is repairable"
60+
This is a real finding — Windows has detectable corruption that can be repaired. Run:
61+
```
62+
DISM /Online /Cleanup-Image /RestoreHealth
63+
sfc /scannow
64+
```
65+
Then reboot and re-run SystemTester to confirm resolution.
66+
67+
### DISM/SFC scans take a very long time
68+
Expected. DISM `/ScanHealth` typically takes 5–15 minutes; SFC can take similar time on large system volumes. Do not interrupt these scans.
69+
70+
### DISM/SFC shows SKIPPED
71+
Both require administrator rights. Re-run via `SystemTester.bat` (Run as Administrator).
72+
73+
---
74+
75+
## Hardware Events (WHEA)
76+
77+
### "Hardware errors detected" on a healthy system
78+
**Status:** Fixed in v2.6. WHEA Level 4 informational events (including the "WHEA-Logger started" event that fires on every Windows boot) no longer trigger a warning. The filter now requires Level ≤ 3 (Warning, Error, or Critical).
79+
80+
If the warning appears after this fix, it represents a genuine hardware event worth investigating — check Event Viewer > Windows Logs > System, filter by source "Microsoft-Windows-WHEA-Logger".
81+
82+
---
83+
84+
## Windows Update
85+
86+
### Windows Update shows "Service StartType: Manual" but service is running
87+
This is normal on Windows 10/11. The Windows Update service (`wuauserv`) is trigger-started on demand and idles in a Stopped state between operations. StartType=Manual is the default and expected configuration. Only StartType=Disabled triggers a recommendation.
88+
89+
### Windows Update search hangs for 5+ minutes
90+
This is a known Windows behavior when the update catalog is large or the service has not been contacted recently. Allow up to 10 minutes before concluding it has failed. If it fails consistently, check Windows Update logs in Event Viewer.
91+
92+
---
93+
94+
## GPU
95+
96+
### NVIDIA GPU tests show SKIPPED
97+
Install or reinstall NVIDIA drivers from nvidia.com. `nvidia-smi.exe` ships with the driver package; SystemTester looks for it in `C:\Windows\System32\` and `C:\Program Files\NVIDIA Corporation\NVSMI\`.
98+
99+
### GPU VRAM shows 4 GB on a higher-capacity card
100+
Some driver versions store VRAM as a `REG_BINARY` value rather than `REG_QWORD`. Fixed in v2.6 — `Get-AccurateVRAM` now detects the registry type and converts via `BitConverter`.
101+
102+
### Dual-GPU system shows incorrect VRAM
103+
On multi-GPU systems (e.g. discrete NVIDIA + Intel iGPU), the per-adapter VRAM usage from Windows performance counters is unreliable. SystemTester reports per-adapter VRAM capacity and uses the `GPU-Memory-Total` aggregate entry for system-wide utilization.
104+
105+
### GPU stress test tools not available
106+
Use batch launcher Menu Option 6 → Option 5 to automatically download MSI Afterburner and FurMark directly to the `Tools\` folder. Alternatively, download manually:
107+
- **MSI Afterburner**: msi.com/Landing/afterburner
108+
- **FurMark**: geeks3d.com/furmark
109+
110+
---
111+
112+
## Sysinternals Tools
113+
114+
### Tools fail with EULA prompt
115+
Sysinternals tools display a EULA on first run. SystemTester automatically passes `-accepteula` to supported tools. If a tool still shows the EULA, accept it manually once — acceptance is stored in the registry (`HKCU\Software\Sysinternals\<ToolName>\EulaAccepted`).
116+
117+
### Tool integrity verification (Menu Option 4) fails
118+
Re-download Sysinternals Suite via Menu Option 5. A failed verification usually means a tool was partially downloaded or is from a different distribution.
119+
120+
### coreinfo shows empty output
121+
coreinfo output filtering only retains lines matching processor/cache/feature patterns. On some processor configurations, coreinfo's topology map uses formats that don't match the filter. The tool still ran successfully — the architecture data simply didn't survive the cleaner.
122+
123+
---
124+
125+
## Expected Test Durations
126+
127+
| Test | Expected Duration |
128+
|------|-------------------|
129+
| CPU Performance (synthetic) | ~10 seconds |
130+
| DirectX diagnostics (dxdiag) | 15–50 seconds |
131+
| Power / Energy report | ~15 seconds (admin only) |
132+
| Windows Update search | 30–120 seconds |
133+
| DISM /ScanHealth | 5–15 minutes (admin only) |
134+
| SFC /scannow | 5–15 minutes (admin only) |
135+
136+
---
137+
138+
## Still Stuck?
139+
140+
- Open a [GitHub Issue](../../issues) — include OS build, GPU type, admin status, and the full error message from the report
141+
- Commercial support: jon@pnwcomputers.com / 360-624-7379

0 commit comments

Comments
 (0)