Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to get the hidden drives in windows?

How to get the hidden drives in windows?

Scheduled Pinned Locked Moved C / C++ / MFC
c++algorithmshelptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    G Haranadh
    wrote on last edited by
    #1

    Hi All, Could any one help me how I can get all drives along with the hidden drives in windows. I am searching in msdn. I am not getting any good clue how to do it. Please help me if you know showing hidden drives using mfc / c++ to get the hidden drives info. If I got solution i will share the same. [I mean Hidden drive is, if I remove drive letter in device manager then the drive will be disappear for user. The actual drive & content will be existed in windows. If i go to Disk manager, I can again assign drive letter back and can see the drive.] Thanks in advance for help.


    Nice talking to you. :-O
    If you judge people, you have no time to love them. -- Mother Teresa

    S M 2 Replies Last reply
    0
    • G G Haranadh

      Hi All, Could any one help me how I can get all drives along with the hidden drives in windows. I am searching in msdn. I am not getting any good clue how to do it. Please help me if you know showing hidden drives using mfc / c++ to get the hidden drives info. If I got solution i will share the same. [I mean Hidden drive is, if I remove drive letter in device manager then the drive will be disappear for user. The actual drive & content will be existed in windows. If i go to Disk manager, I can again assign drive letter back and can see the drive.] Thanks in advance for help.


      Nice talking to you. :-O
      If you judge people, you have no time to love them. -- Mother Teresa

      S Offline
      S Offline
      SelvaKr
      wrote on last edited by
      #2

      Any entries in the Registry after the removal from Device manager? Key - HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

      Selva

      G 1 Reply Last reply
      0
      • S SelvaKr

        Any entries in the Registry after the removal from Device manager? Key - HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

        Selva

        G Offline
        G Offline
        G Haranadh
        wrote on last edited by
        #3

        ya. When I remove drive letter then the registry is changing. I removed "MyDrive(F:)" its registry value is changed to some GUID. Thanks for clue. I am trying some windows MSDN sample. http://msdn.microsoft.com/en-us/library/cc542456%28v=VS.85%29.aspx[^] If you have any other solution share...


        Nice talking to you. :-O
        If you judge people, you have no time to love them. -- Mother Teresa

        1 Reply Last reply
        0
        • G G Haranadh

          Hi All, Could any one help me how I can get all drives along with the hidden drives in windows. I am searching in msdn. I am not getting any good clue how to do it. Please help me if you know showing hidden drives using mfc / c++ to get the hidden drives info. If I got solution i will share the same. [I mean Hidden drive is, if I remove drive letter in device manager then the drive will be disappear for user. The actual drive & content will be existed in windows. If i go to Disk manager, I can again assign drive letter back and can see the drive.] Thanks in advance for help.


          Nice talking to you. :-O
          If you judge people, you have no time to love them. -- Mother Teresa

          M Offline
          M Offline
          Michel Godfroid
          wrote on last edited by
          #4

          You're talking about partitions, not drives. A partition is mounted on a mount point. Mount points are: 1) drive letter 2) empty directories on NTFS volumes. To manipulate (or list) these, you can use the command line utility mountvol, (Vista & up) or you can read this article: Reparse Points in Vista[^]

          G 1 Reply Last reply
          0
          • M Michel Godfroid

            You're talking about partitions, not drives. A partition is mounted on a mount point. Mount points are: 1) drive letter 2) empty directories on NTFS volumes. To manipulate (or list) these, you can use the command line utility mountvol, (Vista & up) or you can read this article: Reparse Points in Vista[^]

            G Offline
            G Offline
            G Haranadh
            wrote on last edited by
            #5

            Yes. I am looking for partitions itself. :) Thanks for your help. Looks like the msdn link[^] is working. I need to do some customization on it and take some part of it. Thanks a lot for reply.


            Nice talking to you. :-O
            If you judge people, you have no time to love them. -- Mother Teresa

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups