Solved Permission issues. Fed up with "You do not have permission to....."

CShark

New member
Local time
4:48 PM
Messages
10
Permission issues. Fed up with "You do not have permission to....."

First, the important intro: I'm running two Win7 systems: my desktop runs 64bit Win7 Ultimate, the laptop is Win7 64bit home version. Both were clean installs, are routinely scanned for viruses, malware, hardware problems, regularly defragged, etc. I run lean machines; the only TSR (for all you DOS gurus!!) I run is Antivir (running in the background).

The problems

Most of us have seen these error msgs from time to time: "you need permission to perform this action", or "you require permission from the computer's administrator...", and less often "you cannot delete file as it is open in another....".

Every now and then, my computers tell me I cannot rename, delete, move, or open a particular folder or file. The folders//files in question are NOT system, hidden, page, shared, locked, etc. They could be something I've installed yesterday, a game for my wife for example, mp3s, whatever. For the love of Pete I can't figure out WHY this is happening!!!! But wait, there's more! This does NOT occur all of the time, but seems to be a hit and miss event...joy!

Example: A folder contains a bunch of files, plus one or two sub-folders. I click on the folder, tap the delete key, or use the context menu delete command, then one of the above errors pop up. OK, I open the folder, select all, tap the delete key, and poof, everything IS deleted. Back up one level, delete the folder. WTF is going on ? I may have to drill down to the lowest sub-folder level before I can start deleting their contents; sometimes I can delete files and sub-folders in one go, other times I cannot.

Another scenario: Let's use the same ordinary folder setup we just discussed. I'll try to delete the folder...nope, error. If I then wait....say 4-5 minutes, then try again, guess what ? It works now!!! Nothing is done during that 4-5 minute period that would influence the outcome, e.g. no other software is open or closed. Please note that the delay in deletion is not universal, i.e. it does not work every time, not is the time interval between the original unsucessful 'delete' request and the second, now successful attempt consistent. Seems almost 'random'...the worst bugs.


Now, a little personal info: I have a deep background in programming, beginning in the early 80's. I've built numerous systems, worked on private and government software projects, and have a thorough knowledge of Windows. I am saying this in an effort to avoid the usual responses doled out to newbs - 'have you tried running in safe mode', or 'check for a virus'... please! This sort of this did not happen under XP, 98, 95, even 3.1! I am convinced it has something to do with permissions and/or Win7's biggest drawback: treating users like we are all morons. I had hoped that foolishness dies with Vista.... sadly, it did not.

PLEASE do not tell me to:

- try changing the permissions for each file I cannot delete
- reboot each time this happens
- do a clean re-install on both systems
- check for viruses, hard drive issues, defrag, etc.
- buy the whole UAC crap.

Lastly, I AM the system admin on both machines, I have UAC disabled (duh!). I do not want nor need 'protection' from myself. I simply want Win7 to work at least as well as 98, which means let me make the decisions.


I am looking for a solution to this constant source of irritation. The only idea I could come up with was to run my systems using the hidden Admin account, but alas my attempts at copying my user profiles to this account has so far been unsuccessful :(
I am not asking to have access to rewrite the kernel, just to perform basic file manipulation without calling down the wrath of the gods on the MS coders who created this ...mess!

Thanks so much for taking the time to read and respond to my thread.
 

My Computer My Computer

At a glance

Win7 64bit
OS
Win7 64bit

My Computer My Computer

At a glance

win 7 ultimate32bit, Win8.1pro wmc 32bitamd phenom x4 9600corsair twinxs 2x2gb2x nvidia 1gb 8500gt
Computer type
PC/Desktop
Computer Manufacturer/Model Number
self build
OS
win 7 ultimate32bit, Win8.1pro wmc 32bit
CPU
amd phenom x4 9600
Motherboard
asus m2n32-sli deluxe
Memory
corsair twinxs 2x2gb
Graphics Card(s)
2x nvidia 1gb 8500gt
Sound Card
onboard
Monitor(s) Displays
23" PB Viseo 233d
Screen Resolution
1920x1080
Hard Drives
maxtor sata 500gb
maxtor sata 320gb
fujitsu sata200gb
PSU
oryxx tornado 750w
Case
thermaltake xaser lll
Cooling
artic freezer64 pro + 7 case fans
You can Enable the (Hidden) built-in Administrator account on Windows 7 or Vista. It requires setting up a new User Account desktop so it's best done after a clean reinstall unless you want to copy over your files and create new settings - always a nice fresh start that leaves behind much corruption.

This is not recommended except for those who know what they're doing (you know who you are) but it gives back full control and i do not get prompted for permissions at all.

The risk is that rogue elements from the internet will get in and take enough control to install themselves, which UAC is supposed to guard against. Running as hidden Admin is pretty much the same as turning off UAC.
 
Last edited by a moderator:
Thanks for the reply Greg, but as I did mention, I had thought of this alternative, but do not wish to wipe 2 terabytes of installs and start over with a clean install!

What I am describing has nothing whatsoever to do with normal OS file management, which is why this problem is so frustrating. This issue is so intrusive, it affects other software's file manipulations. E.G. Visual Studio cannot open a newly created exe file, as it does not have the proper permissions!!! Give me a break! This is complete nonsense, nothing less.

Oh, to the person who recommended I 'take ownership', has anyone actually found that this does anything at all ? Personally, I've found that particular Win7 function to be a waste of context menu space, as it (seems) to do nothing whatsoever.

Surely someone has an answer to this ? I've spent a lot of time scouring the net for an answer, so I know how prevalent this is. I'd hoped by now someone has come across an actual solution, and not a work-around or band-aid fix. I apologize if I sound irritated, it's probably because I am :mad:
 

My Computer My Computer

At a glance

Win7 64bit
OS
Win7 64bit
I use Take Ownership to root out Windows files when forced to delete an OS manually. Even then it's cantankerous and not fully reliable.

You can enable Hidden Admin to run on that account for awhile as a test. If it's relieved then I'd either migrate over to that account or clean reinstall as something in your current account settings is on your back - could even be malware or its residue.
 
Hey Greg, once again a big thanks for the reply.

I have to ask: is this issue faced by all Win7 users, or is it a sporadic problem ? I can almost understand MS not letting users delete specific system files, but cannot fathom why this would apply to non-system, non-critical files or folders. In my opinion the worst of these problems is the apparent lag between trying to delete a folder and being denied permission, then if I wait long enough, I am then able to delete it after all!!!!

As it happens, my laptop was corrupted by a freeware partition program: tried to reduce the size of an empty partition: ended up with a dead boot sector. So, after reinstalling Win7, I am now using the hidden admin account as my account, i.e. I took your advice.

My desktop, now two years old, has nearly three terabytes of files, programs etc. It would be less than a fun experience to have to reinstall everything from scratch just to change user accounts to admin.

If you know of a way to copy a 'regular' user account to the hidden admin, please let me know: I have tried without success.

Well, looks like this problem will not be solved. Let's hope Win8 does a better job!
 

My Computer My Computer

At a glance

Win7 64bit
OS
Win7 64bit
You don't really want to copy the account since hidden AppData settings files are a corruption path, so it's best to start fresh with settings. Just move the files over to their respective folders by opening the old folder, click Select All on Organize tab, then carefully drag the group to the corresponding folder in Explorer bar at left. Don't release the group until the bar stops expanding which is another annoyance.

Once you're sure your files are all moved over and any Programs reinstalled to all accounts if necessary, you can delete the old account although if it is the original owner's Account it will remain listed in Explorer until reinstall due to another annoying security policy. You can have it save the old account files on the desktop if you have any doubt.

It sounds like you had a file system problem - did Disk Check repair it for you? Shrinking or resizing a partition in Disk Mgmt or using free Partition Wizard bootable CD will always check the file system as it works.

I'd also run SFC -SCANNOW Command to make sure you don't have a damaged System file.
 
Hello CShark,

Have you already tried using the free program Unlocker to delete these items. It's a great option for this type of situation when access is denied for whatever reason.

Hope this helps,
Shawn
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hey Greg, Brink, thanks for the posts.

Brink, up to now I have not tried Unlocker, but have recently installed it, just in case. Although clearly not a direct answer to this problem, it probably will, however, 'fix things'.

Greg, for fun I did a clean install on my other machine, a laptop. Once completed, I enabled the hidden admin account, and have used it as my logon, i.e. I am now supreme leader on that system :) Your suggestion regarding moving the user data is a good one, something I will have to try asap. Thanks for the help guys, I will post back when and if anything works.

Cheers
 

My Computer My Computer

At a glance

Win7 64bit
OS
Win7 64bit
Hello CShark,

Have you already tried using the free program Unlocker to delete these items. It's a great option for this type of situation when access is denied for whatever reason.

Hope this helps,
Shawn

Shawn, thanks for the response. Yes, I took your advice and gave Unlocker a try. So far, it has not helped, i.e. 'unlocking' a file or folder does not change anything: still cannot delete the offending file.

I'm beginning to realize the best idea may be to (gulp) start over with a fresh install. I just wish there was a way to hang onto all my installs, and not spend hours reinstalling everything :(
 

My Computer My Computer

At a glance

Win7 64bit
OS
Win7 64bit
Please forgive my intrusion. I'm not an expert at anything. :)

Just out of curiosity did you run the System File Checker scan suggested by Greg in an earlier post? Any problems detected? If yes, it's been recommended to run the scan 3 times rebooting in between each scan due to system file dependencies.

Since Unlocker didn't work for you I'm not sure if FileAssassin will help, but it's a free utility from a respected company.

Malwarebytes : Remove any locked file with FileASSASSIN

Again, sorry for butting in.
 

My Computer My Computer

At a glance

Win 7 Pro 64-bitIntel i5 2.4 Ghz8GB DDR3Intel HD 3000
Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCEB47GM Laptop
OS
Win 7 Pro 64-bit
CPU
Intel i5 2.4 Ghz
Memory
8GB DDR3
Graphics Card(s)
Intel HD 3000
Sound Card
IDT High Definition
Monitor(s) Displays
15.6 WGXA Anti-Glare LED
Screen Resolution
1280x800
Hard Drives
640Gb 7200rpm
Antivirus
MSE
Browser
Opera (primary) with IE9 backup
If the excellent suggestions by Shawn and Lee don't help then you may have corruption that can be repaired by System File Checker as suggested.

You can also utilize the System Resources and logs to find clues using these troubleshooting steps leading up to a Repair Install as a last resort before Clean Reinstalling Windows 7.

As you read about and consider these, do you have the latest installer with SP1?
 
I have to ask: is this issue faced by all Win7 users, or is it a sporadic problem ? I can almost understand MS not letting users delete specific system files, but cannot fathom why this would apply to non-system, non-critical files or folders. In my opinion the worst of these problems is the apparent lag between trying to delete a folder and being denied permission, then if I wait long enough, I am then able to delete it after all!!!!

This is not a common problem in Windows 7, so it's not some feature built into it. What you're experiencing is a problem with your particular system that is not an intended or deliberate programmed feature of Windows 7. You've got a program or service running that is putting locks on your files for certain time periods. Why, I'm not sure, but that appears to be the underlying issue. Given that you say you have 2-3 TB of installed programs and data, it could be any number of them that have gone haywire and are unduly locking access to files. You could try a repair install, but it doesn't sound like that might do much good for you at this point.
 

My Computer My Computer

At a glance

XP / Win7 x64 ProIntel Quad-Core Q9450 @ 3.2GHz2x2GB GSkill DDR2NVIDIA GeForce 8600 GTS (EVGA)
OS
XP / Win7 x64 Pro
CPU
Intel Quad-Core Q9450 @ 3.2GHz
Motherboard
Asus P5-E
Memory
2x2GB GSkill DDR2
Graphics Card(s)
NVIDIA GeForce 8600 GTS (EVGA)
Monitor(s) Displays
Dell 2408WFP
Screen Resolution
1920x1200
Please forgive my intrusion. I'm not an expert at anything. :)

Just out of curiosity did you run the System File Checker scan suggested by Greg in an earlier post? Any problems detected? If yes, it's been recommended to run the scan 3 times rebooting in between each scan due to system file dependencies.

Since Unlocker didn't work for you I'm not sure if FileAssassin will help, but it's a free utility from a respected company.

Malwarebytes : Remove any locked file with FileASSASSIN

Again, sorry for butting in.


Please do not apologize for butting in, you are not hijacking my thread, but adding to it, for which I am grateful.

To be honest, I've been afk for a week or so due to health issues.

No, I have not tried running SFC (which is something I should have thought of... but alas my dos days are a long way back! I actually remember telling a friend that dos would never die as Windows at that time was pretty sad.

I will give this a go and get back to you guys. Yes, I do have over 2 tb of programs and data installed, but I try to run a tight ship, eliminating unnecessary services, TSR's (Terminate and Stay Resident) stubs, etc. It is not impossible that at least one services I've disabled is at least an indirect cause of my woes.

I've recently partitioned my drives, chkdsk was fine. All drives are regularly scanned for usual blemishes, viruses, bad clusters... as well as defragged. I do not use free defraggers or partition managers, as I've been burned by them from time to time.


Thanks you guys for all the good suggestions. As mentioned, I will post any results, as I am not the only person who hates to see "Oh, I found it" as the final post in a thead I'm reading.

Cheers
 

My Computer My Computer

At a glance

Win7 64bit
OS
Win7 64bit

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
I have to ask: is this issue faced by all Win7 users, or is it a sporadic problem ? I can almost understand MS not letting users delete specific system files, but cannot fathom why this would apply to non-system, non-critical files or folders. In my opinion the worst of these problems is the apparent lag between trying to delete a folder and being denied permission, then if I wait long enough, I am then able to delete it after all!!!!

This is not a common problem in Windows 7, so it's not some feature built into it. What you're experiencing is a problem with your particular system that is not an intended or deliberate programmed feature of Windows 7. You've got a program or service running that is putting locks on your files for certain time periods. Why, I'm not sure, but that appears to be the underlying issue. Given that you say you have 2-3 TB of installed programs and data, it could be any number of them that have gone haywire and are unduly locking access to files. You could try a repair install, but it doesn't sound like that might do much good for you at this point.

A big thanks for this post. I assumed my little problem was mine alone, but you never know for certain till you ask :)
 

My Computer My Computer

At a glance

Win7 64bit
OS
Win7 64bit
Can we use an Emergecy Boot CD?

I have the same issue.

Maybe, we can boot with an "emergency" boot CD, with other Operating System, like Linux.

Don't know if taking the HDD out and plug it via USB to an Apple could work for deleting.

Sorry if don't work, just trying to add a couple more alternatives.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1 64bit
OS
Windows 7 Home Premium SP1 64bit
Hi guys

Thanks for your post CShark, you wrote the perfect "here's my problem, tried these things, don't tell me to try these silly default A+ troubleshooting things".

The reason for my post is not because I found a solution, but to give some input of when I experience the same problem.

On one of my machines in particular this happens a lot. That machine is configured as a file server (for Windows shares and also FTP access using FileZilla FTP Server). The hardware specs are as follow: 3d gen i3, 8GB RAM, 14TB total storage. This machine (lets call it the file server) is used to store company data, including pictures, video clips, drawings etc. Video files vary from 100MB - 2GB (depending on quality and length off course).

We never have any issues with this "server", except when sorting files according to relevance.

Let's say I have an "unsorted" folder with all videos from the last month, I would create folders under the sorted section and place relevant files in there. Usually this is not a problem, but the moment we have eg 5 videos under "/unsorted/project xyz/roof videos" or "/unsorted/project xyz/conference videos" and I move the "roof videos" or "conference videos" sub folders I note this problem. Please note this only seems to happen when moving to a different partition, I've never seen the issue when moving to a different location on the same drive.

Those folders would move as expected, but then gets stuck at some point. Then I manually move the individual files across. Sometimes, when going back to the "roof videos" folder, the files are still there and can't be moved or deleted. Give it a couple of minutes and you can usually delete them (like CShark also commented). But here comes the tricky part, when you try to delete the (now empty) "roof videos" folder, you get the "you don't have permission" error. Sometimes Windows complains about the thumbs.db file being in use, but if you change into the folder and out again, the thumbs.db is no longer a problem and you can delete the folder, or so you'd think. Carry on doing something else, come back to your "project xyz" folder, and whoops, "roof videos" are back. Only THIS time you can't even open the "roof videos" folder, it gives you that "administrator needed" permissions error. In this instance you HAVE to reboot. After a reboot the folder is gone.

I first noted this problem on 1TB Seagate HDD's. I thought it could have had something to do with the drives, but then I had the same problem with 1.5TB, 2TB, 3TB and now with 4TB Seagate drives. I have not seen the problem on other makes of drives (I don't really own other makes of this size so I can't tell).

At some point I even thought it could have to do with the power supply, that Windows (or the drive's built-in AI) is trying to protect you from data corruption due to a weak PSU, but even after upgrading the PSU (to more than is needed) the problem persist.

My solution to the problem is to never delete (or move) these sub folders. I would move the content to where they need to be, but leave the folder in tact, as I sometimes use the same folders again. Only once the project is completed and I do wish to get rid of the folder I would remove it. Sometimes it deletes fine, other times it would just sit there until I reboot.


Sorry for my detailed reply, but just maybe it gives a better insight of the problem.

I do still suspect the problem could have to do with built-in AI from the drive, or a bug in NTFS for larger drives. I have never seen these problems on smaller drives (up to 320GB).

Thanks for your time and effort!

G
 

My Computer My Computer

At a glance

Windows 7 x64 Pro
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Many, mostly Acer
OS
Windows 7 x64 Pro
Simple

Simple. Share the hard drive or folder you can not access because of a permissions problem
 

My Computer My Computer

At a glance

All
Computer type
PC/Desktop
OS
All
I found this worked for me for various folders especially the Windows System folder...

wheres I could not modify certain folders, I need to take care of the Wallpaper folder so I could add all my custom wallpaper and get rid of the default wallpaper..

and to modify the Microsoft Managements Consoles .msc files to customize their layout...
to make them more manageable....


ps: I just wanted to add some of my thoughts to this thread... :o;)
 

My Computers My Computers

  • At a glance

    Windows 11 Pro (x64)AMD Ryzen 9 3900X 12-Core Processor32GB, 2x G.Skill 16GB (PC3200)(DDR4-2137)NVIDIA GeForce RTX 3070 Ti 8GB XC3 model by EVGA
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    [Self-built](custom-build)(June 2020)
    OS
    Windows 11 Pro (x64)
    CPU
    AMD Ryzen 9 3900X 12-Core Processor
    Motherboard
    Asus PRIME X570-PRO
    Memory
    32GB, 2x G.Skill 16GB (PC3200)(DDR4-2137)
    Graphics Card(s)
    NVIDIA GeForce RTX 3070 Ti 8GB XC3 model by EVGA
    Sound Card
    Realtek® ALC1220A 8-Channel High Definition Audio CODEC
    Monitor(s) Displays
    24" DELL Gaming Monitor - G2422HS - DisplayPort used
    Screen Resolution
    1920x1080p at 165Hz (16:9 Aspect Ratio)
    Hard Drives
    1TB Samsung 980 Pro (NVMe)(SSD)
    2TB Samsung 980 Pro (NVMe)(SSD)
    2TB Samsung 870 EVO (SSD)

    NVMe 1TB
    -- OS(Win10 Pro x64),
    -- programs,
    -- programming(MS Visual Studios 2022 Community Ed.),
    -- music

    NV
    PSU
    Thermaltake TOUGHPOWER DPS G RGB Titanium Certified 1250Watt
    Case
    Corsair Graphite Series 780T Full Tower PC Case
    Cooling
    AMD Wraith cooler (stock) & 3x Corsair case fans
    Keyboard
    Alienware Low Profile RGB Mechanical USB Gaming Keyboard - A
    Mouse
    Redragon M602 RGB Wired USB Gaming mouse
    Internet Speed
    2100Mbps Download, 350Mbps Upload
    Antivirus
    n/a aka "ABOVE TOP SECRET!" lol ;)
    Browser
    Firefox & Google Chrome
  • At a glance

    Windows 11 ProAMD Ryzen 7 5800H16GB DDR4Ryzen 7 5800H integrated AMD Radeon Graphics ...
    Computer type
    Laptop
    System Manufacturer/Model Number
    DELL G15 Ryzen edition, model 5515
    OS
    Windows 11 Pro
    CPU
    AMD Ryzen 7 5800H
    Motherboard
    DELL G15 Ryzen edition
    Memory
    16GB DDR4
    Graphics Card(s)
    Ryzen 7 5800H integrated AMD Radeon Graphics and Nvidia GeForce 3060 6GB
    Sound Card
    Realtek ALC3254 with Nahimic 3D Audio for Gamers
    Monitor(s) Displays
    built-in
    Screen Resolution
    1920x1080
    Hard Drives
    500GB NVMe SSD
    PSU
    DELL power brick.
    Case
    laptop
    Cooling
    laptop cooling
    Keyboard
    built-in
    Mouse
    Microsoft basic optical scroll mouse
    Internet Speed
    1000Mbps download, 20Mbps upload
    Browser
    Firefox & Waterfox Classic
Back
Top