Access is denied

Discussion in 'Software' started by itbookham, Apr 20, 2010.

  1. itbookham

    itbookham Nibble Poster

    94
    0
    11
    Hello,

    I am in the throes of cleaning an infected Dell Vostro machine running Vista Home Premium. There are several user profiles and I have enabled the global Administrator account. I need to delete all the files found in the users' temporary directories, internet cookies and temporary internet directories.

    Even though I am logged in as global Administrator, I cannot access these folders. The message appears - Access is denied.

    Any solutions will be appreciated.

    Thanks,
    Mark
     
    WIP: A+
  2. trebor_88

    trebor_88 Byte Poster

    105
    2
    27
    Take ownership of the folders/files you are trying to delete.
     
    Certifications: MCP, MCDST, MCSA, MCITP:EDST, MCTS:7
    WIP: VMware VCP 5, MCSE and CCNA
  3. itbookham

    itbookham Nibble Poster

    94
    0
    11
    Hello,

    Thank you for your response.

    I tried that - setting 'full control' permissions to Administrator but that didn't work.
     
    WIP: A+
  4. trebor_88

    trebor_88 Byte Poster

    105
    2
    27
    If you’re the administrator for the Vista system, then you can easily do it by following these steps.


    In Windows Explorer window, locate the files or folders that you want to take ownership and grant access permissions.
    Right click on the file or directory.
    Click on “Properties” on the right click menu.
    Click on “Security” tab.
    Click on “Advanced” button at the bottom.


    In Advanced Security Settings dialog window, click on “Owner” tab.
    Here you will be able to see current owner (i.e. TrustedInstaller).


    To take ownership of the object, click on the Edit button. Give permission to UAC. Then highlight the user name in the “Change owner to” box that you want to assign as the owner for the object. Click “OK” to finish the process.
    Back in Advanced Security Settings window, you will see the current owner has changed to the user you just selected.
    Click “OK” button to exit this window.
    Click “OK” again to exit completely from the Properties window.
    Repeat step 1 to 4 to open the object’s Properties window again.
    Back in object’s Properties window, click on Edit button, and confirm the UAC elevation request.
    Highlight the Administrators in the “Group or user names” box. If the user ID or group that you want to manage the permissions for the object doesn’t exist, click on “Add” button, and type in the user name or group name desired into the “Enter object names to select” box, and finish off by clicking on “OK”.
    In the Permissions for Administrators box below (or any other user name or group name you chose), click on “Full Control” under the “Allow” column to assign full access rights control permissions to Administrators group.


    Click “OK” twice when done.
    You can do whatever you like to the files or directories processed as above.
     
    Certifications: MCP, MCDST, MCSA, MCITP:EDST, MCTS:7
    WIP: VMware VCP 5, MCSE and CCNA
  5. itbookham

    itbookham Nibble Poster

    94
    0
    11
    Hello Rob,

    I am just going to work through your example now.

    Thanks,
    Mark
     
    WIP: A+
  6. itbookham

    itbookham Nibble Poster

    94
    0
    11
    Rob,

    When I got to the fourth line from the end in your instructions:

    "In the Permissions for Administrators box below (or any other user name or group name you chose), click on “Full Control” under the “Allow” column to assign full access rights control permissions to Administrators group."

    When I selected "Full Control" and 'Apply' the following error message appeared:

    "Error Applying Security - C:\Users... \AppData Access is denied"

    Regards
     
    WIP: A+
  7. trebor_88

    trebor_88 Byte Poster

    105
    2
    27
    Did you managed to take ownership of the files? Are you sure your account is an Administrator?
     
    Certifications: MCP, MCDST, MCSA, MCITP:EDST, MCTS:7
    WIP: VMware VCP 5, MCSE and CCNA
  8. Mr.Cheeks

    Mr.Cheeks 1st ever Gold Member! Gold Member

    5,373
    89
    190
    i would have run an app first like ccleaner to do the work for me.

    btw: your question reads like if it came from a book, but slightly reworded! LOL
     
  9. itbookham

    itbookham Nibble Poster

    94
    0
    11
    Unfortunately, I am in the office and the suspect computer is at home. The office computer is on a domain and although I enabled 'Administrator' on the pc, I couldn't see it listed in the user profiles on logon, so I logged in as myself who has domain administrator privileges.

    To cut a long story short, I will have to try this tonight when I get home.

    Many thanks,
    Mark
     
    WIP: A+
  10. BosonMichael
    Honorary Member Highly Decorated Member Award 500 Likes Award

    BosonMichael Yottabyte Poster

    19,183
    500
    414
    I'm all for a good challenge... but at some point, it's easier to simply salvage user files and reinstall the Dell factory image.
     
    Certifications: CISSP, MCSE+I, MCSE: Security, MCSE: Messaging, MCDST, MCDBA, MCTS, OCP, CCNP, CCDP, CCNA Security, CCNA Voice, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
    WIP: Just about everything!
  11. Josiahb

    Josiahb Gigabyte Poster

    1,335
    40
    97
    This.
     
    Certifications: A+, Network+, MCDST, ACA – Mac Integration 10.10

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.