Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



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

02 Jun 2011   #1

Windows 7 Pro x64
 
 
"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 System SpecsSystem Spec
02 Jun 2011   #2
TCG

 
 

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 System SpecsSystem Spec
02 Jun 2011   #3

Windows 7 x64 (SP1)
 
 

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 System SpecsSystem Spec
.


02 Jun 2011   #4

Windows 7 Pro x64
 
 

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 System SpecsSystem Spec
02 Jun 2011   #5

Windows 7 x64 (SP1)
 
 

Directory for what? Your user directory? C:\Users\[username]\
My System SpecsSystem Spec
02 Jun 2011   #6

Windows 7 Pro x64
 
 

Which of the two suggested directories should I put the .cmd file in to be executed at startup?
My System SpecsSystem Spec
02 Jun 2011   #7

Windows 7 x64 (SP1)
 
 

Where ever...doesn't really matter. They both will do the same thing.
My System SpecsSystem Spec
22 Jul 2011   #8

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
Reply

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





Thread Tools




Our Sites

Site Links

About Us

Find 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:54 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33