Opened 5 weeks ago

Closed 9 days ago

#1345 closed defect (invalid)

Receive smartctl error msg whenever I startup my Windows laptop

Reported by: Joey Owned by:
Priority: minor Milestone:
Component: smartctl Version:
Keywords: windows Cc:

Description (last modified by Christian Franke)

smartctl 6.6 2017-11-05 r4594 [x86_64-w64-mingw32-w10-b18363] (sf-6.6-1)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

ERROR: smartctl takes ONE device name as the final command-line argument.
You have provided 2 device names:
/dev/sda
Chan\AppData\Local\Temp\SMART.txt

Use smartctl -h to get a usage summary

Change History (4)

comment:1 Changed 4 weeks ago by Christian Franke

Description: modified (diff)

comment:2 Changed 4 weeks ago by Christian Franke

Component: allsmartctl
Keywords: windows added
Milestone: undecided
Summary: Receive this whenever I startup my laptopReceive smartctl error msg whenever I startup my Windows laptop

comment:3 Changed 4 weeks ago by Christian Franke

This suggests that some auto-start command runs smartctl with a bogus parameter list which lacks the > character. For example:

  smartctl -x /dev/sda Chan\AppData\Local\Temp\SMART.txt

instead of:

  smartctl -x /dev/sda > Chan\AppData\Local\Temp\SMART.txt

Try for example Sysinternals Autoruns tool to search for such a command or a related script which is run at startup or login.

The Windows version of smartmontools never installs smartctl commands for auto-start.

comment:4 Changed 9 days ago by Christian Franke

Milestone: undecided
Resolution: invalid
Status: newclosed

The Windows version of smartmontools never installs a smartctl command that runs at startup. No feedback from reporter.

Note: See TracTickets for help on using tickets.