Opened 4 years ago

Closed 4 years 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 by Christian Franke, 4 years ago

Description: modified (diff)

comment:2 by Christian Franke, 4 years ago

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 by Christian Franke, 4 years ago

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 by Christian Franke, 4 years ago

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.