Solved

C:\ is not accessible access is denied

Posted on 2012-03-12
7
2,192 Views
Last Modified: 2012-03-17
Between Sunday afternoon and this morning, we started having permission problems on a file and remote desktop server. It is server 2008 R2, running as a VM under vSphere 5.0

The most pressing issue right now is not being able to access drive c:. There were also permission issues on drive shares from another drive, but if I can fix this one, we can probably fix the other issues.

The drive shows in the list, but clicking on it gives the above message.  I have logged on under the local administrator account, a domain administrator account and my own user account, all with same effect.

output of icacls command from my account:

C:\Users\JIM>icacls c:\
c:\: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:\Users\JIM>

It is the same under the local administrator account and a domain administrator account.

Reading another issue on EE, I tried using the command to grant execute access to Users, but it failed.
0
Comment
Question by:jn2112
  • 4
  • 2
7 Comments
 
LVL 38

Expert Comment

by:Adam Brown
ID: 37711010
This is probably UAC getting in your way. Right click the command prompt and select Run as Administrator or disable UAC on the server and it should allow you access (assuming you are logged in as a user with Administrative permissions)
0
 

Accepted Solution

by:
NEIL10 earned 250 total points
ID: 37711031
Not sure if you have tried this however have you tried taking the ownership from the C:\. This may allow you to correct the corrupt ACL’s

- Right Click on System (C:)
- Select Properties
- Security Tab
- Owner Tab
-  Replace owner on subcontainers and Objects Check Box
- Apply
0
 

Assisted Solution

by:jn2112
jn2112 earned 0 total points
ID: 37711045
Opened cmd with Run-As-Administrator, same results for icacls. (logged on as local administrator)
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:jn2112
ID: 37711050
Also, no MMC snap-in will open. Most likely due to not having execute permission on c: drive.
0
 

Author Comment

by:jn2112
ID: 37711064
UAC is off on this server.
0
 
LVL 38

Assisted Solution

by:Adam Brown
Adam Brown earned 250 total points
ID: 37711089
Check the ownership as Neil recommends. Also, you might have a virus on that server, so I'd start looking into that.
0
 

Author Closing Comment

by:jn2112
ID: 37732272
Thanks for your help.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

910 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

22 Experts available now in Live!

Get 1:1 Help Now