How do I determine whether a drive is an HDD or SSD in Windows Vista or 7 without 3rd party apps?

18

5

Note: Not a duplicate, for I need an answer for Windows Vista, 7, 8, 8.1, or 10. The solution for 8 and above does not work for Windows 7 or Vista.

I often talk with naive users who have no idea what's in their system, and less interest, and who use Windows Vista, 7, 8, 8.1, or 10.

Some maintenance processes for the software I support differ if an SSD is installed vs an HDD, i.e., defragmentation. I need a solution which works on every Vista or 7 machine, which means no third party apps, only native Microsoft 'ware.

Asking the naive user to reboot, go into the BIOS, obtain the drive model, and then search for the drive by model and then parse out if SSD or HDD is too complex, so a suggestion of how to discover in Windows if an SSD is installed in lieu of an HDD is desired.

Use of tools already in Windows is required; third party apps are not viable.

Thank you.

K7AAY

Posted 2016-06-02T13:44:18.483

Reputation: 6 962

Question was closed 2016-06-02T18:24:24.923

1@K7AAY It's exactly the same procedure on Windows XP upwards; your question is a duplicate. The highest upvoted answer here is even an exact mirror of the accepted answer there. – AStopher – 2016-06-02T18:14:50.417

@cyber Clearly not. The Windows XP Defrag utility does not report whether or not a disk is an SSD. No one had SSDs when Windows XP was released back in 2002. Furthermore, while you are correct that the top-scoring answers to both questions say the same thing, you must have missed the explicit caveat: "There actually is an easy way to do that from Windows 8 and up". Therefore, this is clearly not a duplicate. – Cody Gray – 2016-06-07T09:33:51.987

That does not work on my Win7 at work. No Optimize under Tools. – K7AAY – 2016-06-08T11:48:00.593

1@K7AAY Is the machine in a domain? Might Group Policy settings be restricting the tools available? – AStopher – 2016-06-09T11:43:06.167

@K7AAY - Worked for me. – Ramhound – 2016-07-08T01:08:24.063

If its not a duplicate then its a flat out question asking for software recommendations.... – Ramhound – 2016-07-08T01:09:25.583

@cybermonkey yes, in a domain. I need a solution which will work even if user is in a domain as well. – K7AAY – 2016-07-08T01:56:25.930

@Ramhound if this question was unacceptable, so would the question about doing this in Win8. – K7AAY – 2016-07-08T15:14:54.693

@K7AAY - You are 100% correct. Except the duplicate didn't ask for a software recomendation. The way this question is written it encourages people to recomend third-party tools to solve the problem. There is only a single answer that even mentions a third-party tool in the duplicate. – Ramhound – 2016-07-08T15:37:18.350

@K7AAY why don't search for defrag? It's always there since win 95 and up (just no search feature in XP and prior versions of Windows) – phuclv – 2017-01-03T11:18:21.250

@phuclv Why not? The Windows XP Defrag utility does not report whether or not a disk is an SSD. – K7AAY – 2018-09-06T15:15:38.160

@K7AAY the question only mentioned about Windows Vista and 7. Even wmic is not available in XP Home – phuclv – 2018-09-06T15:17:15.330

If the user is so "naive" then telling them to open cmd or powershell and run a command is just the same as telling them to go to some webpage, download that software and run. It might even be easier to tell them to open device manager and tell you the disk drives so that you can search yourself. But here you're developing some software then why don't just detect the drive in your software instead of asking users? – phuclv – 2018-09-06T16:01:51.810

Answers

6

I would probably have the user run wmic from the start menu then have them type diskdrive get caption

wmic:root\cli>diskdrive get caption
Caption
HGST HDN724030ALE640
Samsung SSD 850 EVO 500GB
Kingston DataTraveler 2.0 USB Device

"Do any of them say SSD?"

If it's not obvious, then do the googling you mentioned. This is the least intrusive solution to the user, and the easiest to communicate, in my opinion. And since this is WMI based you could do it remotely in a domain environment.

Devil's Advocate

Posted 2016-06-02T13:44:18.483

Reputation: 1 397

1That'll tell you something useful but may need a bit of additional googling, as you mention. On my system it reported two Samsung drives with model numbers, e.g., SAMSUNG MZ7LN512HCHP-000L1. Googling that brought up a page of results all of which had "SSD" or "Solid" in the title or snippet. Thus I'm fairly confident, using this method, that I have a dual-SSD system. – davidbak – 2016-06-02T16:49:49.247

22

There actually is an easy way to do that from Windows 8 and up:

  1. Right-click on the partition you want to check. Make sure it belongs to the correct disk.
  2. Check Properties
  3. Select the second tab, Tools
  4. Choose Optimize

The new window should list all partitions and the type of the corresponding data container (here Solid State Drive and Hard Disk Drive).

Checking the disk type in Windows 10 in English

Tacticus

Posted 2016-06-02T13:44:18.483

Reputation: 391

1I've edited in a picture of the steps in an English edition of windows. – TheKB – 2016-06-02T14:20:14.840

I wonder where it's pulling the Media Type from. It doesn't match up with anything I can find in WMI. – Devil's Advocate – 2016-06-02T18:27:17.120

Does not work. No Optimize under Tools on my Win7 at work. – K7AAY – 2016-06-08T11:46:46.343

@K7AAY - Worked for me. – Ramhound – 2016-07-08T01:08:09.233

The question clearly asks for Windows 7 and Vista and your answer clearly states it is only applicable for Windows 8+. – Eric – 2016-09-24T13:46:18.530

@Eric - Do note, however, that the requirement of working on Windows 7 was added after I provided this approach. – Tacticus – 2016-09-24T23:49:47.033

@Tacticus Be that as it may, I found this question looking for an answer relevant for Windows 7 and your answer was not helpful. – Eric – 2016-09-25T00:43:30.667

5

This only works on Win 8+ https://technet.microsoft.com/en-us/library/hh848686%28v=wps.620%29.aspx

get the user to somehow open PowerShell, and let him run the following Command.

example output:

PS C:\Users\xy> (get-physicaldisk).MediaType
SSD

SimonS

Posted 2016-06-02T13:44:18.483

Reputation: 4 566

1What operating system versions does this work on? – Cody Gray – 2016-06-02T16:04:56.947

@CodyGray Windows Server 2012 R2 and Windows 8.1. It doesn't work on Windows 7. – DavidPostill – 2016-06-02T17:43:18.690

1Your answer doesn't work on Windows Vista, 7, or 8 as required by the question. – DavidPostill – 2016-06-02T17:45:25.747

1@DavidPostill you're right. maybe I didn't see it or it was edited. I will update my answer and refer to the OS restriction. – SimonS – 2016-06-02T18:20:09.743

@david Then why did you close this question as a duplicate of one that explicitly asks for a procedure on Windows 8 and later? cybermonkey's comment suggests that the procedure is the same, but that is incorrect. Defrag on Windows XP does not provide this information. The answer that suggests it here even has a giant caveat about it only working on Windows 8 and later...

– Cody Gray – 2016-06-07T09:32:19.157

@CodyGray OP is not asking about Windows XP. He's asking about Vista, 7, 8, 8.1, or 10. And one of the answers in the dupe "Run Device Manager (devmgmt.msc), expand "Disk drives" node, see the model number of your drive, and search for it online." will work for any version of Windows. – DavidPostill – 2016-06-07T09:42:08.280

I am the OP. This does not work in Windows 7 or Vista. Therefore, does not meet the need. – K7AAY – 2016-08-23T13:47:21.707

0

Another solution is to use HDDScan. It's a portable tiny program that, once open, let's the user select any drive (if multiple are available) and gets the exact model number back.

Example Picture

Looking up that model number on Google, the first result will show you what kind of drive it is.

Max

Posted 2016-06-02T13:44:18.483

Reputation: 153

2downvoted because there is absolutely no reason for a third party app – SimonS – 2016-06-02T14:24:53.953

@SimonS That's a bit rich because your answer doesn't work on Windows Vista, 7, or 8 as required by the question. – DavidPostill – 2016-06-02T17:45:09.823

This should be a comment, as the first sentence of this answer said. – AStopher – 2016-06-02T18:16:41.317

1@DavidPostill you're right again. but even if my answer is not entirely correct, there's still no need for a third party app because you can do it via native GUI methods. plus you would have to explain to the user how to get it on his computer and if the user is a bit naive like the OP says, this could be a little tricky. – SimonS – 2016-06-02T18:29:30.367

1@SimonS: Almost anything can be done by native means if you know how to do it and aren't afraid to get your hands dirty. So that, alone, isn't a reason to disparage all 3rd party apps. However, you're right that a software rec should contain information on how to use it to solve the problem. In this case, the only missing piece of instruction is how to unzip and run the software, which is a pretty basic task. The included link has pretty extensive guidance, and the gist of the solution is shown here with a picture. – fixer1234 – 2016-06-02T20:32:50.623

@SimonS: There may be better solutions already posted, but this appears to be a legitimate alternative. – fixer1234 – 2016-06-02T20:41:34.377

NOT a legitimate alternative, uses a non-native, non-Microsoft tool. – K7AAY – 2016-08-23T13:45:39.507

-1

I've been playing with diskovery for a bit. Its in beta as of june 2015, but does a pretty good job working out what your drives are, and giving you SMART data enter link description here

Its a simple, standalone/portable application, and its got a great, simple UI. Just get them to read off the top left hand corner and you're good.

It'll also tell you if the drives are RAIDed and what raid level, which is handy, depending on your setup

Journeyman Geek

Posted 2016-06-02T13:44:18.483

Reputation: 119 122

I need a native solution for Vista and 7. If it works with later, great, but I can't count on Ma and Pa Kettle being able to download third party apps. – K7AAY – 2016-07-30T00:15:21.843

It seems a bit unfair to move the goalposts several months after the initial question was asked. I'm trading off the difficulty of running an arcane command for the lesser difficulty of downloading something. – Journeyman Geek – 2016-07-30T00:44:01.243

You notice the folks above who nuked this because I did not specify native solutions only? That's why. – K7AAY – 2016-07-30T00:45:09.460