CMD: ACCESS DENIED
Hello, Since I installed Win 7, I, like so many others sadly, have had many permission-related problems. After doing some permission and ownership changes, as far as I can tell, I have full access now to all the folders/directories on C:\ from the explorer GUI. However, while I have full permissions for C:\ (as told by the cacls command), I've had problems running commands in cmd, such as "find c:\ "please help"" (as in access denied problems). I can run commands such as "dir" and "cacls" without incident, but not others. I tried turning off UAC (and rebooting), running cmd as an administrator and rebooting, and the first time around it worked indeed. However, since then (yesterday), I get the same old "Access denied". I've tried unchecking the "run as administrator" box in the shortcut properties of cmd, rebooting, checking again and rebooting, but still no luck unfortunately. I also tried running in the builtin user "Administrator" account as well as running as my own account (runas command). By the way, (thankfully), I haven't had this problem in Cygwin :D! Cheers to Windows again! Please help and thank you in advance!
July 29th, 2011 10:27pm

Anyone?
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2011 8:01pm

are you able to run commands such as date , time ?Windows Server System Administrator
August 6th, 2011 8:52am

Yes,I am.
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2011 4:36pm

I don't think you have a permissions issue. It's more basic than that... This is not proper syntax: find c:\ "please help" What are you actually trying to do with this command? Search for the string "please help" in all files under drive C:? That's not what you've coded. From what I can see, you've got the parameters backwards, and even if you switch them around you're asking find to look inside the root directory file itself (which of course would be denied), not at files IN that directory. And as far as I can see there's no "search subdirectories" capability in find at all. If you want a good, solid search tool, try the GUI-based freeware tool grepWin, which can be found here: http://tools.tortoisesvn.net/grepWin.html -Noel
August 6th, 2011 8:58pm

That seems to be the problem, yes. Thank you very much!
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2011 10:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics