Windows 7 Forums


Reply
Thread Tools

[SOLVED] Access is denied

 
 
Proc Proc is offline
New Member
Join Date: May 2011
Posts: 15
Thanked: 0
 
      09-06-2011
I recently had my computer freeze and I was unable to boot into Windows. I use Ghost for my backup and I used the Ghost Recovery Disk to go to the latest restore point. Everything worked fine. Windows now works. When I opened up Windows Explorer and looked in the "my documents" section of the libraries, I get the following message "C;\users\Bill\Documents\my pictures is not accessible - access is denied". I go to the user file and the pictures are there. What can I do to get my document library to work as it did before?
 
Reply With Quote
 
 
 
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      09-06-2011
Save this as a .reg file, double click it, and restart. Once you've restarted, right click on the folder you can't access and take ownership.

Code:
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,621
Thanked: 881
 
      09-07-2011
Or you can just download the take ownership script from our Freeware DB. Then, as Thrax mentioned, install it and then within Windows Explorer right-click to take ownership of the folder you cannot access.
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      09-07-2011
The TakeOwnership script does the same thing mine does.
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,621
Thanked: 881
 
      09-07-2011
I understand that, I was saying the OP could just download it if that would be easier for them.
 
Reply With Quote
 
Proc Proc is offline
New Member
Join Date: May 2011
Posts: 15
Thanked: 0
 
      09-07-2011
Hooray to both of you. That took care of the problem. I chose to download the script since it was easier but the response was quick and great. I applaud you both.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Desperate..Plz Help..Admin Access Denied funkychick7 Windows 7 Support 11 02-16-2011 04:29 AM
Access denied on USB hard drive. Gluptak Hardware 6 02-01-2011 03:49 PM
"Flash Drives Access Denied in Win7 " markkoo93 Drivers 18 11-28-2010 12:29 PM
Help me The ARP entry addition failed: Access is denied cachua_0 Windows 7 Support 6 10-08-2010 05:33 PM
Access Denied Drive Letter dharmil007 Windows 7 Support 3 10-06-2009 05:32 AM


All times are GMT +1. The time now is 02:39 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

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