Cannot Rename or Delete Folders that have Subfolders

Page 2 of 2 FirstFirst 12

  1. Posts : 8
    Windows 7 Ultimate x64 (Live long and prosper)
       #11

    you and Administrator are members of the group "Administrators" yet separate users.

    chkdsk alone is harmless
      My Computer


  2. Posts : 514
    Windows 7 Pro x64
    Thread Starter
       #12

    Sunnysky said:
    you and Administrator are members of the group "Administrators" yet separate users.
    Thanks.

    So I guess I would need log in as Administrator.

    I just now looked under Users; I see myself, Default, and Public; is this Default the Administrator of which they are meaning ?

    The machine is Dell Optiplex 780 tower; I have no idea as to user-name, password, and what-have-you should I attempt to log in as Administrator.
      My Computer


  3. Posts : 7,351
    Windows 7 HP 64
       #13

    Some temp files can't be deleted because they are in use. Skip them.
    You should use Windows disk cleanup (%windir%\system32\cleanmgr.exe)

    You may have the Administrator status as a user but System Administrator has much more power than a Administrator User.
    To enable System administrator, open a CMD window as administrator and type:
    net user administrator /active:yes (to enable)

    net user administrator /active:no (to disable)

    Log off.
    Now you will have two options to log on, you and Administrator. As it is very powerful it can ruin your system if you do bad things. Use it with caution.

    It is very important that you do a disk check after a power down. Once started, don't interrupt it.
    Open a CMD window as administrator and type:
    chkdsk c: /f
    It will say your disk is in use and ask if you want to schedule to next start = yes
    Restart
    Pay attention on the results, specially bad blocks, bad clusters, bad sectors etc
      My Computers


  4. Posts : 514
    Windows 7 Pro x64
    Thread Starter
       #14

    Megahertz07 said:
    Some temp files can't be deleted because they are in use. Skip them.
    You should use Windows disk cleanup (%windir%\system32\cleanmgr.exe)
    Thanks; that is all very helpful; I will screenshot those instructions and save them where I can find them.

    So, I can use this Windows disk cleanup instead of deleting the Temp stuff manually, right ?

    Just from what I have already done, it seems like things are a bit quicker.
      My Computer


  5. Posts : 7,351
    Windows 7 HP 64
       #15

    You can set disk cleanup to run once a month automatically.
    How to automatically run Disk cleanup on Windows 7, 8.x and 10 - Windows 10 Forums
      My Computers


  6. Posts : 514
    Windows 7 Pro x64
    Thread Starter
       #16

    Megahertz07 said:
    You can set disk cleanup to run once a month automatically.
    Thanks for that.

    So far so good on my problem; hopefully it doesn't return in a few days.

    - - - Updated - - -

    UPDATE: Alas, I thought we had a winner; then I attempted to rename a folder and it refused, claiming it was open in another program which it was not.
    I moved the subfolders out to a temporary folder, renamed the offending folder with no refusals now that it did not contain subfolders, and moved my subfolders back.

    I then attempted to rename a few other folders containing subfolders and they refused me as well.

    That has been the way of it; I can get a day, maybe two, after a restart, and then the problem will return.

    I paid attention this time and I couldn't find any program that changed things when I opened it.

    - - - Updated - - -

    UPDATE: I can move the folders that it will not allow me to rename; I don't think I could do that if anything were open in another program.
      My Computer


  7. Posts : 7,351
    Windows 7 HP 64
       #17

    @BuckSkin, did you try to log in as built administrator (see post 13 on how to enable administrator) and see if you can rename them?
      My Computers


  8. Posts : 514
    Windows 7 Pro x64
    Thread Starter
       #18

    Megahertz07 said:
    @BuckSkin, did you try to log in as built administrator (see post 13 on how to enable administrator) and see if you can rename them?
    No, I have not; but, good idea and I will.

    I have just recently restarted the machine and for a bit it will allow me to manipulate the affected folders (any folder that contains subfolders).

    When it starts it's trick of refusing me again, then I will try the built administrator and see what happens.
      My Computer


  9. Posts : 514
    Windows 7 Pro x64
    Thread Starter
       #19

    I think I may have found the culprit --- maybe.....

    UPDATE: I have DEFINITELY found the culprit that has been causing me to pull my hair out.

    I almost daily use the program, digiKam; once digiKam is opened after a machine restart, it is seldom closed until the next machine restart, which may be three months if everything is going well.

    I used it for years, problem free; but, I now believe a gremlin has moved in on it and started this behavior.

    I paid especial close attention after my last machine restart and all was fine until I opened digiKam; and, after that, all the folders under the particular months that are listed in the digiKam database were then locked to where I couldn't do anything to any folder that contains sub-folders; folders that do not contain sub-folders are not affected.

    Curiously, the presence or absence of files within the folders has no bearing on the behavior.

    After the first half of my hair was pulled out, I had decided Advanced Renamer was the culprit; but, after several sleepless nights it dawned on me, all the affected folders are listed in digiKams database.

    I have been using digiKam for years without this problem; but, I had changed the way I was handling some things in digiKam and the changes were affecting the folders that were locking up on me.

    What has made this such a nightmare for me to get to the bottom of is that I could start at the deepest sub-folder of a folder that was locked and work my way back up to the root, deleting, moving, renaming, whatever, so long as there were no folders beneath that level, until I worked my right up to the root folder and then I could manipulate it however, even delete it, with no refusals.

    None of the problem folders were "Open" in digiKam; they hadn't been selected in digiKam; just the mere fact of digiKam being Open was enough to lock them tight --- so long as they contained even a single sub-folder.

    As things now stand, digiKam = Not Open = I have full control of things; digiKam = Open = folders that have sub-folders are locked tight.

    Thanks for everyone's help and patience with me as I stumbled through this mystery.

    Now I get to figure out how to get digiKam back on track and stop this frustrating behavior.
    Last edited by BuckSkin; 03 Nov 2022 at 23:29.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:35.
Find Us