Windows Vista Forums

How can I delete folders which Vista says I don't have rights for?

  1. #1


    The Traveller Guest

    How can I delete folders which Vista says I don't have rights for?

    I have several folders on one of my drives which I cannot delete.
    Vista responds that I don't have permission, yet I am logged in as the
    administrator with full rights.

    1. Folders are not in use.
    2. They are on an external 750GB USB-2 based drive (NTFS).
    3. I also tried to delete them from an XP based system to no avail.

    How can I get rid of these folders? There must be a simple way to do
    this without having to mess with the permissions. After all, I am,
    supposed to have "god rights". That is, I am the administrator of my
    home system with full RWMD rights.

    Computers used:
    Main computer: Vista Business SP1 (x32)
    Laptop: XP Home SP3 (x32)

    ______________________

    The Traveller
    Carlsbad, California

      My System SpecsSystem Spec

  2.   


  3. #2


    Stubbo of Oz Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    On Mon, 20 Apr 2009 22:00:11 -0700, The Traveller
    <The_Traveller@xxxxxx> wrote:

    >I have several folders on one of my drives which I cannot delete.
    >Vista responds that I don't have permission, yet I am logged in as the
    >administrator with full rights.
    >
    >1. Folders are not in use.
    >2. They are on an external 750GB USB-2 based drive (NTFS).
    >3. I also tried to delete them from an XP based system to no avail.
    >
    >How can I get rid of these folders? There must be a simple way to do
    >this without having to mess with the permissions. After all, I am,
    >supposed to have "god rights". That is, I am the administrator of my
    >home system with full RWMD rights.
    >
    >Computers used:
    >Main computer: Vista Business SP1 (x32)
    >Laptop: XP Home SP3 (x32)

    Try to first take ownership of the file as describes here:-

    Take Ownership of file

    then try deleting again

    --
    ----------------
    Stubbo of Oz
    ----------------

      My System SpecsSystem Spec

  4. #3


    st Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    "The Traveller" <The_Traveller@xxxxxx> сообщил/сообщила в новостях
    следующее: news:g5kqu459sk9rk2vbu8129m1b6kla4ea453@xxxxxx

    >I have several folders on one of my drives which I cannot delete.
    > Vista responds that I don't have permission, yet I am logged in as the
    > administrator with full rights.
    >
    > 1. Folders are not in use.
    > 2. They are on an external 750GB USB-2 based drive (NTFS).
    > 3. I also tried to delete them from an XP based system to no avail.
    >
    > How can I get rid of these folders? There must be a simple way to do
    > this without having to mess with the permissions. After all, I am,
    > supposed to have "god rights". That is, I am the administrator of my
    > home system with full RWMD rights.
    >
    > Computers used:
    > Main computer: Vista Business SP1 (x32)
    > Laptop: XP Home SP3 (x32)
    1. Are those folders encrypted?
    2. Who is their owner?


      My System SpecsSystem Spec

  5. #4


    Jim Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    On Mon, 20 Apr 2009 22:00:11 -0700, The Traveller
    <The_Traveller@xxxxxx> wrote:

    >I have several folders on one of my drives which I cannot delete.
    >Vista responds that I don't have permission, yet I am logged in as the
    >administrator with full rights.
    >
    >1. Folders are not in use.
    >2. They are on an external 750GB USB-2 based drive (NTFS).
    >3. I also tried to delete them from an XP based system to no avail.
    >
    >How can I get rid of these folders? There must be a simple way to do
    >this without having to mess with the permissions. After all, I am,
    >supposed to have "god rights". That is, I am the administrator of my
    >home system with full RWMD rights.
    >
    >Computers used:
    >Main computer: Vista Business SP1 (x32)
    >Laptop: XP Home SP3 (x32)
    >
    >______________________
    >
    >The Traveller
    >Carlsbad, California
    Try deleting in safe mode ?

      My System SpecsSystem Spec

  6. #5


    Gene E. Bloch Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    On Mon, 20 Apr 2009 22:00:11 -0700, The Traveller wrote:

    > I have several folders on one of my drives which I cannot delete.
    > Vista responds that I don't have permission, yet I am logged in as the
    > administrator with full rights.
    >
    > 1. Folders are not in use.
    > 2. They are on an external 750GB USB-2 based drive (NTFS).
    > 3. I also tried to delete them from an XP based system to no avail.
    >
    > How can I get rid of these folders? There must be a simple way to do
    > this without having to mess with the permissions. After all, I am,
    > supposed to have "god rights". That is, I am the administrator of my
    > home system with full RWMD rights.
    >
    > Computers used:
    > Main computer: Vista Business SP1 (x32)
    > Laptop: XP Home SP3 (x32)
    >
    > ______________________
    >
    > The Traveller
    > Carlsbad, California
    Are you *the* administrator or *an* administrator?

    Unfortunately, Microsoft chose confusing names for these related but not
    identical concepts...

    --
    Gene E. Bloch letters0x40blochg0x2Ecom

      My System SpecsSystem Spec

  7. #6


    Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    Close a handle, as the web site you refer to says.

    CloseHandle

    Closes an open object handle.


    BOOL CloseHandle(
    HANDLE hObject
    );

    Parameters
    hObject
    [in] A handle to an open object. This parameter can be a pseudo handle or
    INVALID_HANDLE_VALUE.
    Return Value
    If the function succeeds, the return value is nonzero.

    If the function fails, the return value is zero. To get extended error
    information, call GetLastError.

    If the application is running under a debugger, the function will throw an
    exception if it receives either a handle value that is not valid or a
    pseudo-handle value. This can happen if you close a handle twice, or if you
    call CloseHandle on a handle returned by the FindFirstFile function.

    Remarks
    The CloseHandle function closes handles to the following objects:



    Access token
    Communications device
    Console input
    Console screen buffer
    Event
    File
    File mapping
    Job
    Mailslot
    Memory resource notification
    Mutex
    Named pipe
    Pipe
    Process
    Semaphore
    Socket
    Thread
    Transaction
    Waitable timer

    CloseHandle invalidates the specified object handle, decrements the object's
    handle count, and performs object retention checks. After the last handle to
    an object is closed, the object is removed from the system.

    Closing a thread handle does not terminate the associated thread. To remove
    a thread object, you must terminate the thread, then close all handles to
    the thread.

    Use CloseHandle to close handles returned by calls to the CreateFile
    function. Use FindClose to close handles returned by calls to FindFirstFile.

    Transacted Operations

    If a handle is transacted, all handles bound to a transaction should be
    closed before the transaction is committed. An application must close a
    transacted handle opened with FILE_FLAG_DELETE_ON_CLOSE before committing
    the transaction in order for the delete operation to occur.


    Example Code
    For an example, see Closing Files.


    "The Traveller" <The_Traveller@xxxxxx> wrote in message
    news:ugftu4t48rou6531cav4forfrtfmsut0rq@xxxxxx

    > On Tue, 21 Apr 2009 16:50:32 -0700, "Gene E. Bloch"
    > <not-me@xxxxxx> wrote:
    >

    >>On Mon, 20 Apr 2009 22:00:11 -0700, The Traveller wrote:
    >>

    >>> I have several folders on one of my drives which I cannot delete.
    >>> Vista responds that I don't have permission, yet I am logged in as the
    >>> administrator with full rights.
    >>>
    >>> 1. Folders are not in use.
    >>> 2. They are on an external 750GB USB-2 based drive (NTFS).
    >>> 3. I also tried to delete them from an XP based system to no avail.
    >>>
    >>> How can I get rid of these folders? There must be a simple way to do
    >>> this without having to mess with the permissions. After all, I am,
    >>> supposed to have "god rights". That is, I am the administrator of my
    >>> home system with full RWMD rights.
    >>>
    >>> Computers used:
    >>> Main computer: Vista Business SP1 (x32)
    >>> Laptop: XP Home SP3 (x32)
    >>>
    >>> ______________________
    >>>
    >>> The Traveller
    >>> Carlsbad, California
    >>
    >>Are you *the* administrator or *an* administrator?
    >>
    >>Unfortunately, Microsoft chose confusing names for these related but not
    >>identical concepts...
    >
    > How do you tell the difference? I log on as the administrator. I built
    > this computer and I set myself up as the admin.
    >
    > Answers to other questions:
    >
    > 1. I own the folders.
    >
    > 2. The folders are not encrypted.
    >
    > 3. They cannot be deleted while in safe mode.
    >
    > This being said, I did find a solution. It's a freeware application
    > called "Unlocker". I found it via Google. Here is the link:
    > http://********.free.fr/unlocker/
    >
    > It did the job without any problem.
    >
    > Now I would be curious to know what this application is doing that I
    > could not do manually. I am intrigued as the ease in which it got rid
    > of those folders.
    >
    > ______________________
    >
    > The Traveller
    > Carlsbad, California

      My System SpecsSystem Spec

  8. #7


    Gene E. Bloch Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    On Wed, 22 Apr 2009 00:00:49 -0700, The Traveller wrote:

    > On Tue, 21 Apr 2009 16:50:32 -0700, "Gene E. Bloch"
    > <not-me@xxxxxx> wrote:
    <SNIP>

    >>Are you *the* administrator or *an* administrator?
    >>
    >>Unfortunately, Microsoft chose confusing names for these related but not
    >>identical concepts...
    >
    > How do you tell the difference? I log on as the administrator. I built
    > this computer and I set myself up as the admin.
    One way to tell: If in the control panel for User Accounts, the account has
    the *name* "The Traveller" and under that the label in small type says
    "Administrator", it is an account of *type* administrator, that is, an
    account with slightly limited administrator privileges. If it has the
    *name* "Administrator" it is *the* administrator account.

    In the above panel, if you click on Change your account type, the
    distinction will be clearer, I think - but be careful - that panel defaults
    to "Standard user", so be sure to Cancel out :-)

    And if you investigate as above and find out that you were right and I was
    wrong, I won't actually be surprised (either way, for that matter). But if
    I am wrong, the mystery is a bit deeper (well, to me, at least).

    For emphasis: there is only one *full* administrator account, and it is
    named Administrator. There can be a number of accounts of type
    administrator, but with other user names and without full privileges.

    Finally, run the command) "net user administrator /active:yes" (no quotes)
    from an elevated cmd prompt. It will let you log on as *the* administrator;
    naturally, it will be unneeded if I am wrong in my assumptions. Change
    "yes" to "no" to reverse it later.

    <SNIP>

    > The Traveller
    > Carlsbad, California

    --
    Gene E. Bloch letters0x40blochg0x2Ecom

      My System SpecsSystem Spec

  9. #8


    The Traveller Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    On Wed, 22 Apr 2009 20:09:42 -0700, "Gene E. Bloch"
    <not-me@xxxxxx> wrote:

    >On Wed, 22 Apr 2009 00:00:49 -0700, The Traveller wrote:
    >

    >> On Tue, 21 Apr 2009 16:50:32 -0700, "Gene E. Bloch"
    >> <not-me@xxxxxx> wrote:
    ><SNIP>
    >

    >>>Are you *the* administrator or *an* administrator?
    >>>
    >>>Unfortunately, Microsoft chose confusing names for these related but not
    >>>identical concepts...
    >>
    >> How do you tell the difference? I log on as the administrator. I built
    >> this computer and I set myself up as the admin.
    >
    >One way to tell: If in the control panel for User Accounts, the account has
    >the *name* "The Traveller" and under that the label in small type says
    >"Administrator", it is an account of *type* administrator, that is, an
    >account with slightly limited administrator privileges. If it has the
    >*name* "Administrator" it is *the* administrator account.
    >
    >In the above panel, if you click on Change your account type, the
    >distinction will be clearer, I think - but be careful - that panel defaults
    >to "Standard user", so be sure to Cancel out :-)
    >
    >And if you investigate as above and find out that you were right and I was
    >wrong, I won't actually be surprised (either way, for that matter). But if
    >I am wrong, the mystery is a bit deeper (well, to me, at least).
    >
    >For emphasis: there is only one *full* administrator account, and it is
    >named Administrator. There can be a number of accounts of type
    >administrator, but with other user names and without full privileges.
    >
    >Finally, run the command) "net user administrator /active:yes" (no quotes)
    >from an elevated cmd prompt. It will let you log on as *the* administrator;
    >naturally, it will be unneeded if I am wrong in my assumptions. Change
    >"yes" to "no" to reverse it later.

    Thanks for the information. Under "make changes to your user account".
    I see myself as <name> administrator, which means that I am considered
    a slightly less than full administrator. When I select Manage
    Accounts, I now see the other "Administrator" account. So it seems
    that I am logged in as the "small" administrator after all.

    One always learns ;-)


    ______________________

    The Traveller
    Carlsbad, California

      My System SpecsSystem Spec

  10. #9


    Gene E. Bloch Guest

    Re: How can I delete folders which Vista says I don't have rights for?

    On Thu, 23 Apr 2009 00:07:26 -0700, The Traveller wrote:

    > On Wed, 22 Apr 2009 20:09:42 -0700, "Gene E. Bloch"
    > <not-me@xxxxxx> wrote:
    >

    >>On Wed, 22 Apr 2009 00:00:49 -0700, The Traveller wrote:
    >>

    >>> On Tue, 21 Apr 2009 16:50:32 -0700, "Gene E. Bloch"
    >>> <not-me@xxxxxx> wrote:
    >><SNIP>
    >>

    >>>>Are you *the* administrator or *an* administrator?
    >>>>
    >>>>Unfortunately, Microsoft chose confusing names for these related but not
    >>>>identical concepts...
    >>>
    >>> How do you tell the difference? I log on as the administrator. I built
    >>> this computer and I set myself up as the admin.
    >>
    >>One way to tell: If in the control panel for User Accounts, the account has
    >>the *name* "The Traveller" and under that the label in small type says
    >>"Administrator", it is an account of *type* administrator, that is, an
    >>account with slightly limited administrator privileges. If it has the
    >>*name* "Administrator" it is *the* administrator account.
    >>
    >>In the above panel, if you click on Change your account type, the
    >>distinction will be clearer, I think - but be careful - that panel defaults
    >>to "Standard user", so be sure to Cancel out :-)
    >>
    >>And if you investigate as above and find out that you were right and I was
    >>wrong, I won't actually be surprised (either way, for that matter). But if
    >>I am wrong, the mystery is a bit deeper (well, to me, at least).
    >>
    >>For emphasis: there is only one *full* administrator account, and it is
    >>named Administrator. There can be a number of accounts of type
    >>administrator, but with other user names and without full privileges.
    >>
    >>Finally, run the command) "net user administrator /active:yes" (no quotes)
    >>from an elevated cmd prompt. It will let you log on as *the* administrator;
    >>naturally, it will be unneeded if I am wrong in my assumptions. Change
    >>"yes" to "no" to reverse it later.
    >
    >
    > Thanks for the information. Under "make changes to your user account".
    > I see myself as <name> administrator, which means that I am considered
    > a slightly less than full administrator. When I select Manage
    > Accounts, I now see the other "Administrator" account. So it seems
    > that I am logged in as the "small" administrator after all.
    >
    > One always learns ;-)
    Yep! I assure you that I didn't start out knowing the above.

    My path to there was long and tortuous, and involved help from more than
    one source. It's nice to be able to pay forward on occasion :-)

    > ______________________
    >
    > The Traveller
    > Carlsbad, California

    --
    Gene E. Bloch letters0x40blochg0x2Ecom

      My System SpecsSystem Spec

  11. #10
    brummyfan's Avatar

    Brummy

    Join Date : Jan 2008
    Birmingham
    Posts : 730
    Vista Home Premium SP2 32bit.
    Local Time: 12:44 PM
    uk uk england

     

    Re: How can I delete folders which Vista says I don't have rights for?

    Quote Originally Posted by The Traveller View Post
    I have several folders on one of my drives which I cannot delete.
    Vista responds that I don't have permission, yet I am logged in as the
    administrator with full rights.

    1. Folders are not in use.
    2. They are on an external 750GB USB-2 based drive (NTFS).
    3. I also tried to delete them from an XP based system to no avail.

    How can I get rid of these folders? There must be a simple way to do
    this without having to mess with the permissions. After all, I am,
    supposed to have "god rights". That is, I am the administrator of my
    home system with full RWMD rights.

    Computers used:
    Main computer: Vista Business SP1 (x32)
    Laptop: XP Home SP3 (x32)

    ______________________

    The Traveller
    Carlsbad, California
    This tutorial may be of some help to you:
    Take Ownership of file

      My System SpecsSystem Spec

Page 1 of 2 12 LastLast

How can I delete folders which Vista says I don't have rights for?
Similar Threads
Thread Forum
Access rights on drives and folders Vista General
Rights to Folders Vista account administration
How to recover rights to folders Vista file management
Getting FULL Admin rights to delete folders Vista account administration
Access rights problem with folders Vista General