Emiel Wieldraaijer Posted January 2, 2008 Share Posted January 2, 2008 Hi Ptrex, i use his version and i specify the drive but it still checks the floppy drive.. i'm using smart.exe but i prefer to use the WMI version so i don't need the external file.. Thnx Emiel Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
ptrex Posted January 2, 2008 Author Share Posted January 2, 2008 @Emiel Wieldraaijer I can't simulate the problem because I don't have a floppy around. What about the script in the first post ? regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
crzftx Posted January 2, 2008 Share Posted January 2, 2008 I intercept COM errors. Chris's version says C: may not be S.M.A.R.T. capable. I couldn't tell if S.M.A.R.T. was hardware or software, but I assume it to be software since my HDD is quite new, but I reformatted it completely once. Can I put the technology back on? I looked for some freeware (for Vista) but didn't find any. Link to comment Share on other sites More sharing options...
JustinReno Posted January 2, 2008 Share Posted January 2, 2008 I believe SMART is hardware related and guessing your hard drive doesn't support it. Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted January 2, 2008 Share Posted January 2, 2008 @Ptrex Also SMART_WMI in the first post scans the floppy.. i use smart.exe instead.. works perfect but is an external program @crzftx Indeed some harddisks aren't detected by smart_wmi when you use smart.exe from the first post .. it will work Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
photonbuddy Posted January 6, 2008 Share Posted January 6, 2008 Just wondering how I would go about using this sort of code to read the temps of my drives vis SMART? Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted January 6, 2008 Share Posted January 6, 2008 ??? see first post .. complete example Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
KJohn Posted January 6, 2008 Share Posted January 6, 2008 I intercept COM errors. Chris's version says C: may not be S.M.A.R.T. capable. I couldn't tell if S.M.A.R.T. was hardware or software, but I assume it to be software since my HDD is quite new, but I reformatted it completely once. Can I put the technology back on? I looked for some freeware (for Vista) but didn't find any.S.M.A.R.T stands for Self Monitoring Analysis and Reporting Technology.. Its hardware based and all new HDDs come with this technology. And its not something you can delete or remove by reformatting, repartitioning, etc.You can use the S.M.A.R.T analysis tool in the program SpeedFan. Its freeware; I use it in Vista to keep tabs on my laptop's CPU and HDD temperatures. Link to comment Share on other sites More sharing options...
photonbuddy Posted February 1, 2008 Share Posted February 1, 2008 In my first post there is a link to a commandline tool. Thry to run this to check of there is data returned.I am still unable to get this script to work Have tried both versions that don't use SMART.exe, and both fail.Using SMART.exe returns information on the drive.Do you have any pointers on narrowing down what's failing on my system? Link to comment Share on other sites More sharing options...
ptrex Posted February 1, 2008 Author Share Posted February 1, 2008 @photonbuddyDo you have any pointers on narrowing down what's failing on my system?First of all which version of the script are you running. What is the ErrorWhat version of AU3 are you using..............Do you expect to get help if not input is given ?regards,ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
photonbuddy Posted February 3, 2008 Share Posted February 3, 2008 First of all which version of the script are you running.I tried both, but have been using ChrisL's version. What is the ErrorI get the "C: may not be S.M.A.R.T. Capable" error message. What version of AU3 are you using3.2.10.0 The script runs through until the line If NOT IsArray($strVendorSpecific4) then Return -1;Not a Smart capable drive Where it returns -1. I'm running Win2K using Intel's ICH8R chipset. Link to comment Share on other sites More sharing options...
ptrex Posted February 3, 2008 Author Share Posted February 3, 2008 Try to comment out every line that has "$strVendorSpecific4" in it. Run it again and see what happenes. If it does not run it will stop here for you. Then your drive does not expose the SMART data to WMI. regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 Try to comment out every line that has "$strVendorSpecific4" in it.Run it again and see what happenes.If it does not run it will stop here for you. Then your drive does not expose the SMART data to WMI.regardsptrexThis script uses WMI and I'm not sure that Win2K came with WMI. He may have to download and install it. For sure it was not included in Win 9x systems. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
photonbuddy Posted February 4, 2008 Share Posted February 4, 2008 Try to comment out every line that has "$strVendorSpecific4" in it.Run it again and see what happenes.If it does not run it will stop here for you. Then your drive does not expose the SMART data to WMI.Tried this, and it still fails These other programs must use something different to get the SMART data.WMI services are running. Link to comment Share on other sites More sharing options...
ptrex Posted February 4, 2008 Author Share Posted February 4, 2008 @photonbuddy Can you run other scripts that uses WMI correctly on your machine ? regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
photonbuddy Posted February 4, 2008 Share Posted February 4, 2008 Can you run other scripts that uses WMI correctly on your machine ?Don't think I have run any before. Can you suggest a script I might try? Link to comment Share on other sites More sharing options...
ptrex Posted February 4, 2008 Author Share Posted February 4, 2008 @photonbuddyHere is one : WMI scriptregardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
photonbuddy Posted February 4, 2008 Share Posted February 4, 2008 Here is one : WMI scriptThis script returns the correct info for my IP and network card, which suggests it is working correctly. Link to comment Share on other sites More sharing options...
ptrex Posted February 4, 2008 Author Share Posted February 4, 2008 @photonbuddy Try to run the script on a different machine. See if ti works there. Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted February 4, 2008 Share Posted February 4, 2008 @All, Does anyone know why the WMI version also checks the diskdrive Thnx Emiel Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now