Access denied

jaca

New member
Member
Local time
7:39 PM
Messages
36
Location
Brasil
As administrator, yet there are folders whose access is denied to me (they have a small padlock icon). Is there a way to disable this restriction?
Thanks
 

My Computer

OS
SEVEN ultimate 64bits
CPU
AMD Phenom II
Motherboard
M5A78
Memory
4G
Graphics Card(s)
NVidia 9500
Internet Speed
1M

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
Hi Jaca,

A few things to try here, presuming that the lock file is not another users encrypted files.

1. Open an elevated CMD prompt and navigate to the directory in question (CD "C:\DIRECTORY IN\QUESTION")
and type in the following (see pic)
takeown /F . /R /A /D Y > NUL
icacls . /grant USER:(OI)(CI)(F) /L /T /Q

2. Is the issue the entire drive or just a few files (I have a batch file I wrote to fix the entire drive issue)

3. See attached the takeown script, install this reg patch and then right click on the file and take ownership.

EDIT:- I just saw Jonathons link above, this has even more details for taking ownership and is worth the read :)
 

Attachments

My Computer

Computer Manufacturer/Model Number
Custom Hack job
OS
Windows 7 Ultimate 64 bit
CPU
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Motherboard
GigaByte EP45-UD3
Memory
8 GB Kingston
Graphics Card(s)
Nvidia GeForce 9600GT
Sound Card
Soundblaster Audigy
Monitor(s) Displays
AOC x2 22"
Hard Drives
2 x Samsung 500GB (RAID)
2 x Samsung 2TB
1 x WD Green 2TB
1 x Seagate 1TB
1 x Samsung 500GB
PSU
Thermaltake QFan 750W
Case
CM Scout Gaming
Cooling
Coolermaster V10
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical 2000
Internet Speed
320
Other Info
Winfast PVR2000CP
LG DVD-RAM DVD/RW/DL Super Multi
Linksys WMP300Nx2 Wireless Adapter
Worked!!
 

My Computer

OS
SEVEN ultimate 64bits
CPU
AMD Phenom II
Motherboard
M5A78
Memory
4G
Graphics Card(s)
NVidia 9500
Internet Speed
1M

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
The command is taking ownership.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
The command is taking ownership.


@Jaca - Great I'm glad it worked.

@SIW2 - Well spotted, agreed and a good clarification for anyone else reading this, they are more or less the same :D (with the exception of the takeown /a switch to specify the user in the CMD line version), I think Jonathon meant which method exactly did Jaca use, the one he posted or the patch I posted. ;)

I always like to post both the reg and the command line as it's more educational and sometimes if a person is unable to install/use one method, the other works for them.

I'm guessing that you already know this ;), but to clarify for others - Jaca's situation is for admin access so it's not as important this time; but if we wanted to just change it for a particular user, the CMD line is easier as we just need to change the user name, where-as the reg patch requires more changes and would be of less use once changed anyway.
 

My Computer

Computer Manufacturer/Model Number
Custom Hack job
OS
Windows 7 Ultimate 64 bit
CPU
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Motherboard
GigaByte EP45-UD3
Memory
8 GB Kingston
Graphics Card(s)
Nvidia GeForce 9600GT
Sound Card
Soundblaster Audigy
Monitor(s) Displays
AOC x2 22"
Hard Drives
2 x Samsung 500GB (RAID)
2 x Samsung 2TB
1 x WD Green 2TB
1 x Seagate 1TB
1 x Samsung 500GB
PSU
Thermaltake QFan 750W
Case
CM Scout Gaming
Cooling
Coolermaster V10
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical 2000
Internet Speed
320
Other Info
Winfast PVR2000CP
LG DVD-RAM DVD/RW/DL Super Multi
Linksys WMP300Nx2 Wireless Adapter
This is a great forum. I am well pleased with the Seven, especially now, knowing a place of excellent technical support:cool:
 

My Computer

OS
SEVEN ultimate 64bits
CPU
AMD Phenom II
Motherboard
M5A78
Memory
4G
Graphics Card(s)
NVidia 9500
Internet Speed
1M
Back
Top