Can a Hard Drive Be Designated as Non-Removable?

can-a-hard-drive-be-designated-as-nonremovable photo 1

Most of the time, when you upgrade or change the hardware on your computer, Windows tends to accept it without a problem. But what do you do if Windows keeps “seeing” and listing a new permanent hard drive as removable? Today’s SuperUser Q&A post has the answer to a curious reader’s question.

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

The Question

SuperUser reader Michael Stum wants to know if a hard drive can be designated as non-removable:

I have replaced the DVD drive in my laptop with a SATA hard drive, which works well. However, Windows believes that the hard drive is removable and lists it in the “Safely Remove Hardware and Eject Media” popup, or for any applications that show a list of removable drives.

Is there a way to make Windows treat (designate) the hard drive as a non-removable/fixed hard drive?

Can a hard drive be designated as non-removable?

The Answer

SuperUser contributor Carrein has the answer for us:

I tested this on Windows 10 with a standard issue Microsoft chipset.

  • Launch regedit
  • Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device, create a new REG_MULTI_SZ entry and label it TreatAsInternalPort
  • In the Values Box, enter the port values that you would like to mark as non-removable (i.e. enter “0” for Port “0”, etc.)

can-a-hard-drive-be-designated-as-nonremovable photo 2

I do believe that this setting also depends on your computer’s chipset/drive controller. As such, a different chipset maker might have a different registry entry for this particular configuration.


Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

Image Credit: Glenn Batuyong (Flickr)

More stories

How to Use Twitter on the Amazon Echo

You can already do a whole lot with your Amazon Echo, but now you can have Alexa read out tweets from your Twitter timeline and more. Here’s how to use Twitter on the Amazon Echo.

How to Fix Kodi’s YouTube “Quota Exceeded” Problem

Are you sick of Kodi’s YouTube plugin constantly crashing, and giving you cryptic error messages like “Exception in ContentProvider” and “Quota Exceeded”? Here’s how to fix that problem with just a few minutes of work.

How to Turn Any Web Page Into a Web App on a Chromebook

Chrome OS has long been more than “just a browser.” Since it essentially requires an active internet connection for most activity, web apps are the backbone of the Chrome OS ecosystem—but did you know that you can actually turn any page into a its own web app, launchable from the taskbar? Here’s

The Fastest Ways to Rename Files on macOS

Most people rename files by clicking on a file, waiting, and clicking on the file name again. But macOS has quite a few great ways to rename files, some of which are even faster.

How to Use Scribble to Write Messages on Your Apple Watch

In the earlier days of the Apple Watch, when you needed to enter text, you had to either use a canned response, an emoji, a doodle, or speak your message aloud and hope the watch would transcribe it correctly. However, that has changed with watchOS 3.

How to Stop Apple Pay from Opening on Your iPhone All the Time

If you don’t use Apple Pay, there’s no reason you should have to see it on your iPhone’s lock screen every time you accidentally double-click the Home button. Here’s how to turn that shortcut off, while still allowing access to Apple Pay when you need to.