Unable to remove directory mount point in Windows XP

Posted on 2011-10-27
Last Modified: 2012-05-12

I am unable to remove a directory mount point in WIndows XP. I am able to remove the drive letter itself (for example G:\) according to the procedure below, but not able to remove a directory mount (for example C:\Drivemaps\Drive G). I am owner of the map C:\Drivemaps and I have full control. I receive the message "The drive path cannot be deleted because access is denied".

I tried:

How to remove a drive letter
To remove an existing drive letter on a drive, on a partition, or on a volume, follow these steps:

    Log on as Administrator or as a member of the Administrators group.
    Click Start, click Control Panel, and then click Performance and Maintenance.
    Click Administrative Tools, double-click Computer Management, and then click Disk Management in the left pane.
    Right-click the drive, the partition, the logical drive, or the volume that you want to assign a drive letter to, and then click Change Drive Letter and Paths.
    Click Remove.
    Click Yes when you are prompted to confirm the removal.



Thanks in advance
Question by:vanboxtel
    LVL 66

    Expert Comment

    See if you can pinpoint the EXACT point of Denial....

    Process Monitor

    Save this to the root of C as an Admin, and login the problem user. Do a RunAs with your Admin Credentials to launch it, and then set the the filter at the top to Include "Result" is "Access Denied" then "Include", and then try and recreate the errors by launching the app. Then go look at the logging, and it will tell you where the permissions are restrictive. Once you open those up, keep retrying until you get the desired results....

    Assisted Solution


    Thanks for your input, btw my user account is admin on the PC. I run process monitor, here are the results of the event, process and stack. Maybe you can have a look at it?

    Date & Time:      10/27/2011 6:46:10 PM
    Event Class:      File System
    Operation:      CreateFile
    Result:      ACCESS DENIED
    Path:      C:\Drivemaps\Drive G
    TID:      2720
    Duration:      0.0011211
    Desired Access:      Generic Read/Write
    Disposition:      Open
    Options:      Synchronous IO Non-Alert, Open Reparse Point
    Attributes:      N
    ShareMode:      Read, Write, Delete
    AllocationSize:      n/a

    Description:      Logical Disk Manager service process
    Company:      Microsoft Corp., Veritas Software
    Name:      dmadmin.exe
    Version:      2600.5512.503.0
    Path:      C:\WINDOWS\System32\dmadmin.exe
    Command Line:      C:\WINDOWS\System32\dmadmin.exe /com
    PID:      3408
    Parent PID:      1156
    Session ID:      0
    Auth ID:      00000000:000003e7
    Architecture:      32-bit
    Virtualized:      n/a
    Integrity:      n/a
    Started:      10/27/2011 2:14:00 PM
    Ended:      (Running)
    xpsp2res.dll      0x610000      0x2c5000      C:\WINDOWS\System32\xpsp2res.dll      Microsoft Corporation      5.1.2600.5512
    dmadmin.exe      0x1000000      0x38000      C:\WINDOWS\System32\dmadmin.exe      Microsoft Corp., Veritas Software      2600.5512.503.0
    OSUNINST.dll      0x5eba0000      0x18000      C:\WINDOWS\System32\OSUNINST.dll      Microsoft Corporation      5.1.2600.5512
    ifsutil.dll      0x66dd0000      0x14000      C:\WINDOWS\System32\ifsutil.dll      Microsoft Corporation      5.1.2600.0
    fmifs.dll      0x693c0000      0x8000      C:\WINDOWS\System32\fmifs.dll      Microsoft Corporation      5.1.2600.0
    dmintf.dll      0x6ca20000      0x9000      C:\WINDOWS\System32\dmintf.dll      Microsoft Corp.      2600.0.503.0
    ulib.dll      0x71fa0000      0x45000      C:\WINDOWS\System32\ulib.dll      Microsoft Corporation      5.1.2600.5512
    dmutil.dll      0x72a00000      0x10000      C:\WINDOWS\System32\dmutil.dll      Microsoft Corp.      2600.5512.503.0
    CFGMGR32.dll      0x74ae0000      0x7000      C:\WINDOWS\System32\CFGMGR32.dll      Microsoft Corporation      5.1.2600.5512
    Cabinet.dll      0x75150000      0x13000      C:\WINDOWS\System32\Cabinet.dll      Microsoft Corporation      5.1.2600.5512
    IMM32.DLL      0x76390000      0x1d000      C:\WINDOWS\system32\IMM32.DLL      Microsoft Corporation      5.1.2600.5512
    WINTRUST.dll      0x76c30000      0x2e000      C:\WINDOWS\System32\WINTRUST.dll      Microsoft Corporation      5.131.2600.5922
    IMAGEHLP.dll      0x76c90000      0x28000      C:\WINDOWS\system32\IMAGEHLP.dll      Microsoft Corporation      5.1.2600.5512
    CLUSAPI.dll      0x76d10000      0x12000      C:\WINDOWS\System32\CLUSAPI.dll      Microsoft Corporation      5.1.2600.5512
    CLBCATQ.DLL      0x76fd0000      0x7f000      C:\WINDOWS\System32\CLBCATQ.DLL      Microsoft Corporation      2001.12.4414.700
    COMRes.dll      0x77050000      0xc5000      C:\WINDOWS\System32\COMRes.dll      Microsoft Corporation      2001.12.4414.700
    OLEAUT32.dll      0x77120000      0x8b000      C:\WINDOWS\system32\OLEAUT32.dll      Microsoft Corporation      5.1.2600.6058
    ole32.dll      0x774e0000      0x13e000      C:\WINDOWS\system32\ole32.dll      Microsoft Corporation      5.1.2600.6010
    SETUPAPI.dll      0x77920000      0xf3000      C:\WINDOWS\System32\SETUPAPI.dll      Microsoft Corporation      5.1.2600.5512
    CRYPT32.dll      0x77a80000      0x95000      C:\WINDOWS\System32\CRYPT32.dll      Microsoft Corporation      5.131.2600.6149
    MSASN1.dll      0x77b20000      0x12000      C:\WINDOWS\System32\MSASN1.dll      Microsoft Corporation      5.1.2600.5875
    VERSION.dll      0x77c00000      0x8000      C:\WINDOWS\system32\VERSION.dll      Microsoft Corporation      5.1.2600.5512
    msvcrt.dll      0x77c10000      0x58000      C:\WINDOWS\system32\msvcrt.dll      Microsoft Corporation      7.0.2600.5512
    ADVAPI32.dll      0x77dd0000      0x9b000      C:\WINDOWS\system32\ADVAPI32.dll      Microsoft Corporation      5.1.2600.5755
    RPCRT4.dll      0x77e70000      0x93000      C:\WINDOWS\system32\RPCRT4.dll      Microsoft Corporation      5.1.2600.6022
    GDI32.dll      0x77f10000      0x49000      C:\WINDOWS\system32\GDI32.dll      Microsoft Corporation      5.1.2600.5698
    SHLWAPI.dll      0x77f60000      0x76000      C:\WINDOWS\system32\SHLWAPI.dll      Microsoft Corporation      6.0.2900.5912
    Secur32.dll      0x77fe0000      0x11000      C:\WINDOWS\system32\Secur32.dll      Microsoft Corporation      5.1.2600.5834
    kernel32.dll      0x7c800000      0xf6000      C:\WINDOWS\system32\kernel32.dll      Microsoft Corporation      5.1.2600.5781
    ntdll.dll      0x7c900000      0xb2000      C:\WINDOWS\system32\ntdll.dll      Microsoft Corporation      5.1.2600.6055
    USER32.dll      0x7e410000      0x91000      C:\WINDOWS\system32\USER32.dll      Microsoft Corporation      5.1.2600.5512

    0      fltMgr.sys      fltMgr.sys + 0x1888      0xf73f4888      C:\WINDOWS\System32\Drivers\fltMgr.sys
    1      fltMgr.sys      fltMgr.sys + 0x32a0      0xf73f62a0      C:\WINDOWS\System32\Drivers\fltMgr.sys
    2      fltMgr.sys      fltMgr.sys + 0x10217      0xf7403217      C:\WINDOWS\System32\Drivers\fltMgr.sys
    3      fltMgr.sys      fltMgr.sys + 0x10742      0xf7403742      C:\WINDOWS\System32\Drivers\fltMgr.sys
    4      ntkrnlpa.exe      ntkrnlpa.exe + 0x1819f      0x804ef19f      C:\WINDOWS\system32\ntkrnlpa.exe
    5      ntkrnlpa.exe      ntkrnlpa.exe + 0xe8488      0x805bf488      C:\WINDOWS\system32\ntkrnlpa.exe
    6      ntkrnlpa.exe      ntkrnlpa.exe + 0xe4a14      0x805bba14      C:\WINDOWS\system32\ntkrnlpa.exe
    7      ntkrnlpa.exe      ntkrnlpa.exe + 0x9f057      0x80576057      C:\WINDOWS\system32\ntkrnlpa.exe
    8      ntkrnlpa.exe      ntkrnlpa.exe + 0x9f9ce      0x805769ce      C:\WINDOWS\system32\ntkrnlpa.exe
    9      ntkrnlpa.exe      ntkrnlpa.exe + 0xa20d8      0x805790d8      C:\WINDOWS\system32\ntkrnlpa.exe
    10      ntkrnlpa.exe      ntkrnlpa.exe + 0x6a67c      0x8054167c      C:\WINDOWS\system32\ntkrnlpa.exe
    11      kernel32.dll      kernel32.dll + 0x6ab05      0x7c86ab05      C:\WINDOWS\system32\kernel32.dll
    12      dmadmin.exe      dmadmin.exe + 0x11019      0x1011019      C:\WINDOWS\System32\dmadmin.exe
    13      dmadmin.exe      dmadmin.exe + 0x207a6      0x10207a6      C:\WINDOWS\System32\dmadmin.exe
    14      RPCRT4.dll      RPCRT4.dll + 0x9ebe      0x77e79ebe      C:\WINDOWS\system32\RPCRT4.dll
    15      RPCRT4.dll      RPCRT4.dll + 0x8521a      0x77ef521a      C:\WINDOWS\system32\RPCRT4.dll
    16      RPCRT4.dll      RPCRT4.dll + 0x85bf3      0x77ef5bf3      C:\WINDOWS\system32\RPCRT4.dll
    17      ole32.dll      ole32.dll + 0x121c15      0x77601c15      C:\WINDOWS\system32\ole32.dll
    18      ole32.dll      ole32.dll + 0x121bbf      0x77601bbf      C:\WINDOWS\system32\ole32.dll
    19      ole32.dll      ole32.dll + 0x4a876      0x7752a876      C:\WINDOWS\system32\ole32.dll
    20      ole32.dll      ole32.dll + 0x4a79b      0x7752a79b      C:\WINDOWS\system32\ole32.dll
    21      ole32.dll      ole32.dll + 0x1217f5      0x776017f5      C:\WINDOWS\system32\ole32.dll
    22      ole32.dll      ole32.dll + 0x123df3      0x77603df3      C:\WINDOWS\system32\ole32.dll
    23      ole32.dll      ole32.dll + 0x121715      0x77601715      C:\WINDOWS\system32\ole32.dll
    24      RPCRT4.dll      RPCRT4.dll + 0x99cc      0x77e799cc      C:\WINDOWS\system32\RPCRT4.dll
    25      RPCRT4.dll      RPCRT4.dll + 0x9931      0x77e79931      C:\WINDOWS\system32\RPCRT4.dll
    26      RPCRT4.dll      RPCRT4.dll + 0x985d      0x77e7985d      C:\WINDOWS\system32\RPCRT4.dll
    27      RPCRT4.dll      RPCRT4.dll + 0x323f0      0x77ea23f0      C:\WINDOWS\system32\RPCRT4.dll
    28      RPCRT4.dll      RPCRT4.dll + 0x32431      0x77ea2431      C:\WINDOWS\system32\RPCRT4.dll
    29      RPCRT4.dll      RPCRT4.dll + 0xb872      0x77e7b872      C:\WINDOWS\system32\RPCRT4.dll
    30      RPCRT4.dll      RPCRT4.dll + 0xb7b6      0x77e7b7b6      C:\WINDOWS\system32\RPCRT4.dll
    31      RPCRT4.dll      RPCRT4.dll + 0x6caf      0x77e76caf      C:\WINDOWS\system32\RPCRT4.dll
    32      RPCRT4.dll      RPCRT4.dll + 0x6ad1      0x77e76ad1      C:\WINDOWS\system32\RPCRT4.dll
    33      RPCRT4.dll      RPCRT4.dll + 0x6c97      0x77e76c97      C:\WINDOWS\system32\RPCRT4.dll
    34      kernel32.dll      kernel32.dll + 0xb729      0x7c80b729      C:\WINDOWS\system32\kernel32.dll

    Thanks in advance,

    Kind regards.


    Accepted Solution

    I used an external program to remove the mount points. Problem solved by myself.

    Author Closing Comment

    I found the solution by myself.

    Author Comment

    LVL 66

    Expert Comment

    Sorry for the delay, Email has been down for several days.... Glad you found a fix.

    BTW, the one thing above of interest was this....

    Operation:      CreateFile
    Result:      ACCESS DENIED
    Path:      C:\Drivemaps\Drive G

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
    This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now