Delete folder in the Documents and Settings folder that isn't under your username

Posted on 2006-05-23
Last Modified: 2013-12-04
How to delete a folder in the Documents and Settings folder that isn't under your username?

I have recently purchased a PC with Windows XP Prefessional.
There is a folder that belonged to an old user account in the C:\Documents and Settings\ folder that I cannot delete. I was able to enter the folder and delete the users favorites and desktop, but cannot delete the entire folder.

The user account has been removed already. But, the left over crap is still on the PC.

I have tried logging in as the administrator in safemode and still am unable to delete the folder. I am the only user on the machine and there are no other account currently on the machine.
Question by:enokovich
    LVL 16

    Accepted Solution

    right click the folder > properties > security tab > click the 'advanced' button
    Now go to the 'Owner' tab > highlight your acccount name or the adminmsitrators group and select
    'replace owner on subcontainer and objects' > click apply

    Now try to delete the folder again.
    If you still can't delete it tell us what the error message is

    Author Comment

    You have led me in the right direction. After logging in as administrator in safemode, I replaced the owner to my account name (as you recommended). However. it didn't fix the problem.

    I found that I had to also choose my name under the permissions and auditing tab.

    I received an error that I needed to turn on Audit Policy Change.

    I went into control panel; administrative tools; local security settings and on the left column expanded Local Policies. Next clicked audit policy. Double clicked on Audit Policy Change and checked SUCCESS and clicked OK.

    I logged out of administrator and logged in using my user account with admin rights.... and was able to delete the old user's folder.

    I must say, if you didn't lead me to that security window... I could not have found any of this info out.

    So, thank you for your help!
    LVL 16

    Expert Comment

    Glad it worked for you!
    Thanks for the points

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
    In a recent article here at Experts Exchange (, I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    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

    8 Experts available now in Live!

    Get 1:1 Help Now