"Access denied:" How to overcome denied access to a folder


  1. Posts : 55
    Windows 7 Pro x64
       #1

    "Access denied:" How to overcome denied access to a folder


    I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take Ownership" say not to use it on the C drive, but it's not clear if that applies to the whole drive, or individual files/folders on it. Thanks.
      My Computer


  2. TCG
    Posts : 190
    .
       #2

    That is the incorrect path. No need to mess with permissions, I'd advise leaving them alone.

    The path you are looking for is C:\Users\<your user account>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
      My Computer


  3. Posts : 5,642
    Windows 10 Pro (x64)
       #3

    The folder for the start menu FOR ALL USERS is located here: C:\ProgramData\Microsoft\Windows\Start Menu
    TCG, already pointed out where th per-user start menu folder is located.
      My Computer


  4. Posts : 55
    Windows 7 Pro x64
    Thread Starter
       #4

    Thanks, guys. If I'm the only user on this PC, and I don't use a log-in (I just start and boot to the desktop), which directory should I use?
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    Directory for what? Your user directory? C:\Users\[username]\
      My Computer


  6. Posts : 55
    Windows 7 Pro x64
    Thread Starter
       #6

    Which of the two suggested directories should I put the .cmd file in to be executed at startup?
      My Computer


  7. Posts : 5,642
    Windows 10 Pro (x64)
       #7

    Where ever...doesn't really matter. They both will do the same thing.
      My Computer


  8. Posts : 1
    Windows 7 Ultimate x64
       #8

    Hi, I'm facing error while deleting my AVAST antivirus folder. The uninstall file is missing so that I tried to delete the entire folder. Please suggest solution!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:13.
Find Us