Go Back   Computer Juice > Computer Software > Windows Operating Systems
Register Points Site Spy New Posts Donate Unanswered Posts Members Search

>>> Get Paid to Hang Out Here! Activity = Points = Prizes. Want to Know More? <<<

Reply
 
LinkBack Thread Tools
  #1  
Old 14th Jan 2008
hewybo's Avatar
hewybo  United States
CJ Donator
 
hewybo is offline
Send a message via MSN to hewybo
 
Join Date: 27th Dec 2007
Last Online: 4 Weeks Ago 08:41 PM
Age: 59
Posts: 22
iTrader: (0)
hewybo is on a distinguished road
Default Access denied

Now my wonderful Vista will not let me write to my "D" hard drive. Have changed all permissions to "allow." No sucess!!! Ideas?? Thanks..............
__________________

My System: Hewybilt

CPU(s):
Core2 E6600,Core2E6750
Motherboard:
MSI, Gigabyte
RAM:
4GB OCZ, 4GB A-Data
Graphics Card(s):
7600GS?, 7950GT
Sound Card:
X-Fi XtremeMusic, Audigy2ZS
Hard Drive(s):
4x Seagate SATA 250GB
Optical Drive(s):
2 Lite-On,2 ASUS
Case / PSU:
Apevia X-Infinity, Thermaltake Tsunami D
Cooling:
Thermalright XP90C, Scythe somethin or o
Network / Internet:
Cox Cable 6MB
Monitor(s):
Chimei 22"WS, ViewSonic 19"WS
Operating System(s):
Vista Home Prem, XP Pro

Want your system info in your signature?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 14th Jan 2008
Dave Hybrid's Avatar
CJ Administrator
Intel Nvidia
Dave Hybrid is offline
 
Join Date: 18th Apr 2006
Last Online: 3 Hours Ago 03:57 AM
Age: 26
Posts: 7,507
iTrader: (0)
Dave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond reputeDave Hybrid has a reputation beyond repute
Default Access denied

If the drive was used in a different machine prior to using it with Vista it is possibly password locked.

You will need some 3rd party software to unlock it I think.
__________________

Computer Juice raffle
- Win PC hardware of your choice worth £500 / €680 / $1000 - Enter HERE!
__________________

My System: The Hybrid Lappy

CPU(s):
AMD Turion 64 x2 TL-64 2.2GHz
Motherboard:
HP nForce 560
RAM:
2GB DDR2 PC2-5300
Graphics Card(s):
Nvidia 7150M Onboard Integrated
Sound Card:
5.1 Onboard Integrated
Hard Drive(s):
250GB 5400RPM SATA300
Optical Drive(s):
18x CD/DVDRW-DL ATA
Case / PSU:
Stock HP
Cooling:
Stock HP
Network / Internet:
10/100 Nic / 10MB Virgin Cable
Monitor(s):
17" WXGA+ HD BrightView Widescreen
Operating System(s):
Windows Vista Home Premium 32 SP1

Want your system info in your signature?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #3  
Old 14th Jan 2008
serverguy's Avatar
CJ Donator
Intel ATi
serverguy is online now
 
Join Date: 16th Nov 2007
Last Online: 8 Minutes Ago 07:41 AM
Posts: 1,923
iTrader: (0)
serverguy will become famous soon enoughserverguy will become famous soon enoughserverguy will become famous soon enough
Default Access denied

I have seen this question come up before. I assume that you have taken the drive from a system that previously used Windows XP and now can't write to it.

In Windows XP you were running as a member of the Built-in Administrators Group, and you could write to it just fine. In Vista, you are also a member of the Built-in Administrators group, but now you can't write to it.

Explaination

The reason is permissions, but the reason they become a problem is because of User Account Control (UAC). If you run "whoami /all /fo list" on Vista you get a printout of your permissions token. It will have a few lines that look like this:

Group Name: BUILTIN\Administrators
Type: Alias
SID:
Attributes: Group used for deny only

You are a member of Administrators, but your security token does not actually have the Administrators group in it in the normal way. UAC marks that group as a "deny" which means it is never used to grant permissions, only to allow them. If you now look at the Access Control List (ACL i.e. the permissions) for the drive:
C:\Users\foo>icacls d:\
d:\ NT AUTHORITY\SYSTEM:(OI)(CI)(F)
BUILTIN\Administrators:(OI)(CI)(F)
BUILTIN\Users:(OI)(CI)(RX)


The parts causing you trouble are the last two lines. The second line grants Administrators full control. You are an Administrator, but because you are running under a non-elevated token, you do not have Administrators in your token, so that membership doesn't help you. The second line grants users read. You are also a member of users. Thus, when running in admin approval mode under UAC, your total rights to this drive is read.

Fix

To fix this, you need to grant Users modify privileges to the drive. Really simple to do.

Option 1:

Right-click the drive letter in Explorer and select properties
Click the security tab
Click "Edit." You will be asked to elevate. Remember, until you do you are still in admin approval mode and for all practical purposes you are not an admin
Select "Users" and check the Modify box
Click OK enough times to get back to where you were.

Option 2: (A bit more complicated but easy if you like syntax)

From an elevated command line.

Click the Window circle
Click All Programs: Accessories
Right-click on Command Prompt and select "Run as administrator"
Elevate
Run this command: icacls d:\ /grant BUILTIN\Users:(oi,cl,m)
Substitute whatever drive letter your external drive is mapped to for d:\. oi means "let objects (files) inherit this ACE". cl means "let containers (directories) inherit this ACE". m means "modify". An ACE is an Access Control List Entry, in other words, the entries in the ACL that grants or denies someone permission to the object.

Once you do this regular users will be able to read and write to the drive. As long as you have not broken inheritance somewhere along the directory hierarchy of the drive you will not need to modify any more ACLs on this whole drive.
__________________
serverguy




Last edited by serverguy : 14th Jan 2008 at 06:51 PM. Reason: Few spellings and grammar
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #4  
Old 14th Jan 2008
serverguy's Avatar
CJ Donator
Intel ATi
serverguy is online now
 
Join Date: 16th Nov 2007
Last Online: 8 Minutes Ago 07:41 AM
Posts: 1,923
iTrader: (0)
serverguy will become famous soon enoughserverguy will become famous soon enoughserverguy will become famous soon enough
Default Access denied

The syntax for the second method should have been

Click the Window circle
Click All Programs: Accessories
Right-click on Command Prompt and select "Run as administrator"
Elevate
Run this command: icacls d:\ /grant BUILTIN\Users:(OI)(CL)(M)
Substitute whatever drive letter your external drive is mapped to for d:\. (OI) means "let objects (files) inherit this ACE". (CL) means "let containers (directories) inherit this ACE". (M) means "modify". An ACE is an Access Control List Entry, in other words, the entries in the ACL that grants or denies someone permission to the object.
__________________
serverguy




Last edited by serverguy : 14th Jan 2008 at 06:57 PM.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #5  
Old 14th Jan 2008
hewybo's Avatar
hewybo  United States
CJ Donator
 
hewybo is offline
Send a message via MSN to hewybo
 
Join Date: 27th Dec 2007
Last Online: 4 Weeks Ago 08:41 PM
Age: 59
Posts: 22
iTrader: (0)
hewybo is on a distinguished road
Default Access denied

Ran both versions in command line - both say the "BUILTIN..............etc. is invalid prompt. Tho other method has had no effect. ??
__________________

My System: Hewybilt

CPU(s):
Core2 E6600,Core2E6750
Motherboard:
MSI, Gigabyte
RAM:
4GB OCZ, 4GB A-Data
Graphics Card(s):
7600GS?, 7950GT
Sound Card:
X-Fi XtremeMusic, Audigy2ZS
Hard Drive(s):
4x Seagate SATA 250GB
Optical Drive(s):
2 Lite-On,2 ASUS
Case / PSU:
Apevia X-Infinity, Thermaltake Tsunami D
Cooling:
Thermalright XP90C, Scythe somethin or o
Network / Internet:
Cox Cable 6MB
Monitor(s):
Chimei 22"WS, ViewSonic 19"WS
Operating System(s):
Vista Home Prem, XP Pro

Want your system info in your signature?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #6  
Old 14th Jan 2008
serverguy's Avatar
CJ Donator
Intel ATi
serverguy is online now
 
Join Date: 16th Nov 2007
Last Online: 8 Minutes Ago 07:41 AM
Posts: 1,923
iTrader: (0)
serverguy will become famous soon enoughserverguy will become famous soon enoughserverguy will become famous soon enough
Default Access denied

Forget the command prompt. I can't seem to get that to work either.

I don't understand why the first way doesn't work...

Have you tried taking ownership?

Right Click the D:\ Drive icon from My Computer --> Properties --> Security --> Advanced --> Take Ownership
__________________
serverguy




Last edited by serverguy : 14th Jan 2008 at 08:11 PM.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #7  
Old 16th Jan 2008
hewybo's Avatar
hewybo  United States
CJ Donator
 
hewybo is offline
Send a message via MSN to hewybo
 
Join Date: 27th Dec 2007
Last Online: 4 Weeks Ago 08:41 PM
Age: 59
Posts: 22
iTrader: (0)
hewybo is on a distinguished road
Default Access denied

Have tried numerous times to take ownwership - -have not tried to write since the last..... been busy with a blown PSU and a black screen POST. I appreciate your efforts, and will apprise you of the outcome. Thanks...............
__________________

My System: Hewybilt

CPU(s):
Core2 E6600,Core2E6750
Motherboard:
MSI, Gigabyte
RAM:
4GB OCZ, 4GB A-Data
Graphics Card(s):
7600GS?, 7950GT
Sound Card:
X-Fi XtremeMusic, Audigy2ZS
Hard Drive(s):
4x Seagate SATA 250GB
Optical Drive(s):
2 Lite-On,2 ASUS
Case / PSU:
Apevia X-Infinity, Thermaltake Tsunami D
Cooling:
Thermalright XP90C, Scythe somethin or o
Network / Internet:
Cox Cable 6MB
Monitor(s):
Chimei 22"WS, ViewSonic 19"WS
Operating System(s):
Vista Home Prem, XP Pro

Want your system info in your signature?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Denied rbscooby Windows Operating Systems 7 10th May 2008 12:40 AM
Access Denied hannyp Virus, Spyware & Security 14 27th Nov 2007 07:37 PM
denied acess to banking sites tonysurfin Web Browsers & FTP Clients 3 25th Nov 2007 10:24 PM
Access is denied...all of a sudden Quityourjibbajabba Windows Operating Systems 3 14th Nov 2007 01:10 PM
How to delete files when "Access denied"? Rob8UrChips Windows Operating Systems 6 17th Oct 2007 09:53 PM


Copyright ©2006 - 2008 Computer Juice - Forums - Free PC Help, IT Support and Repairs.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.

Page copy protected against web site content infringement by Copyscape