Windows 10: Cannot Delete File - Administrator ID Does Not Elevate

Discus and support Cannot Delete File - Administrator ID Does Not Elevate in Windows 10 Software and Apps to solve the problem; Hi. I accidentally created some files in "C:\Program Files x86\Acronis\TrueImageHome". I thought there would be no problem - just delete them. Well I... Discussion in 'Windows 10 Software and Apps' started by B L H, Apr 23, 2022.

  1. B L H Win User

    Cannot Delete File - Administrator ID Does Not Elevate


    Hi. I accidentally created some files in "C:\Program Files x86\Acronis\TrueImageHome". I thought there would be no problem - just delete them. Well I can't!My user ID is an administrator and I even tried activating the built-in Administrator account and using it. I even changed the ownership of one of the files to my user ID and it still fails.Here's what happens with a file that I own:I think "No problem. Just click Continue and I can grant the permission." No such luck:The ID that it says I need permission from is my ID! If I try on another file for which I did not change the owners

    :)
     
    B L H, Apr 23, 2022
    #1

  2. Never prompted to elevate privilege as administrator


    OK, I tried Dinesh's tutorial. First, here's a list of accounts for my machine:


    Cannot Delete File - Administrator ID Does Not Elevate [​IMG]


    I held down Shift and rebooted, and got the WinRE splash screen. I was prompted to log in, with "Dan" my only option:


    Cannot Delete File - Administrator ID Does Not Elevate [​IMG]


    If I clicked on "Don't see your account", I got this:


    Cannot Delete File - Administrator ID Does Not Elevate [​IMG]


    Is it suggesting that "Dan" is an administrator account? Oh, that it were so... I went back, selected the "Dan" account, and it booted into command prompt. I then attempted the first of Dinesh's instructions:


    Cannot Delete File - Administrator ID Does Not Elevate [​IMG]


    Hello darkness, my old friend... "Access Denied."

    Dan
     
    shortmort37, Apr 23, 2022
    #2
  3. ddelo Win User
    Export All Administrative Events to Excel

    To analyze events, from the Windows Event Viewer, there is a simple way to export all Administrative Events to Excel, with PowerShell.

    Exporting all Administrative Events to Excel is a simple two Step process, as described here:

    Step 1 - Create the Administrative Events View .xml file
    1. Open Eventviewer (%windir%\system32\eventvwr.msc)
    2. Navigate to: Event Viewer (Local) > Custom Views > Administrative Events
    3. In the “Actions” pane select “Filter Current Custom View”.
    4. Select the the XML tab.
    5. Press Ctrl+A to select all the XML code of the Custom View.
    6. Open a notepad, paste the selected code and save the file to your Desktop as AdmEvtView.xml


    Step 2 - Create the csv file with the events
    1. Download the ExportEvtCSV.zip file, which contains the script ExportEvtCSV.ps1 and unzip it, on your Desktop.
      It's not a fancy script, just basic PowerShell commands to create a csv file on the Desktop.
    2. In Windows Search, type “ISE” (without the quotes) to open “Windows PowerShell ISE” and Run as administrator
    3. To allow running the script, change the ExecutionPolicy, for this session. To do that, in the Console pane type:
      Code:
    4. In the Windows PowerShell ISE, open and run the script: ExportEvtCSV.ps1
      The script will create a csv file with a name YYYYMMDD.HHMM.csv on the Desktop
    5. When done, open the newly created .csv file, format the columns as needed and optionally save it as .xlsx, if you wish.
    That’s it! You now have all the Administrative Events in Excel for filtering and further analysis. Cannot Delete File - Administrator ID Does Not Elevate :)

    Now to the more technical hard stuff... *Confused

    There is a reason for running the script from within PowerShell ISE!

    It would be great if everything was also working perfectly, when running the script from an elevated PowerShell too.

    We can run it from an elevated PowerShell, which means that you just follow the Step 1, as above but for the Step 2 instead of the ISE you run the script from an elevated PowerShell.

    The problem is that it will work only for anybody who has en-US format for the dates. Everyone else, who has another format (i.e. en-GB, fr-FR, el-GR etc.), the dates are not translated properly by Excel (although the script uses the –UseCulture switch) and remain as text in the en-US format.

    I'm not sure if this a bug of the "export-csv" cmdlet, but although it runs the way it supposed to from within the ISE, from PowerShell there is a problem with the dates format.
    As I haven’t found a way to overcome this obstacle, any suggestion from the PowerShell gurus of the forum (like my good friend Shawn @Brink, for instance), is welcome.
     
    ddelo, Apr 23, 2022
    #3
  4. Nergal Win User

    Cannot Delete File - Administrator ID Does Not Elevate

    App for deleting files while being used by another process...

    Most of the time, booting in safe mode, as administrator, will enable you to remove those files (maps).

    however, there are some programs out there to do just whatyou ask, I once found one after some searching on google. So either try my suggestion, or in fact search on google perhaps?

    "Force delete" will bring up enough info on this.
     
    Nergal, Apr 23, 2022
    #4
Thema:

Cannot Delete File - Administrator ID Does Not Elevate

Loading...
  1. Cannot Delete File - Administrator ID Does Not Elevate - Similar Threads - Cannot Delete File

  2. delete files as administrator

    in Windows 10 Gaming
    delete files as administrator: I just noticed that I have about 10 years of pictures on my camera roll in Onedrive which I assume are taking up a lot of storage.I have managed to delete some with difficulty as there is no delete option on the Onedrive web page but I did it using the desktop app.However, I...
  3. delete files as administrator

    in Windows 10 Software and Apps
    delete files as administrator: I just noticed that I have about 10 years of pictures on my camera roll in Onedrive which I assume are taking up a lot of storage.I have managed to delete some with difficulty as there is no delete option on the Onedrive web page but I did it using the desktop app.However, I...
  4. Cannot Delete File - Administrator ID Does Not Elevate

    in Windows 10 Network and Sharing
    Cannot Delete File - Administrator ID Does Not Elevate: Hi. I accidentally created some files in "C:\Program Files x86\Acronis\TrueImageHome". I thought there would be no problem - just delete them. Well I can't!My user ID is an administrator and I even tried activating the built-in Administrator account and using it. I even...
  5. Cannot Delete File - Administrator ID Does Not Elevate

    in Windows 10 Gaming
    Cannot Delete File - Administrator ID Does Not Elevate: Hi. I accidentally created some files in "C:\Program Files x86\Acronis\TrueImageHome". I thought there would be no problem - just delete them. Well I can't!My user ID is an administrator and I even tried activating the built-in Administrator account and using it. I even...
  6. windows 10 administrator cannot delete files

    in Windows 10 Customization
    windows 10 administrator cannot delete files: I see millions of people have this problem and it is not fixed so here goes again...I am the administrator of my laptop yet I cannot delete some folders and files I have created on it. I've looked through and tried to apply numerous "fixes" and none work. Most have about 20...
  7. I cannot get an elevated permission for administrator

    in AntiVirus, Firewalls and System Security
    I cannot get an elevated permission for administrator: I cannot get an elevated administrator position to use sfc. Any ideas? https://answers.microsoft.com/en-us/windows/forum/all/i-cannot-get-an-elevated-permission-for/5edf3757-d340-44d2-a83f-862750cba3da"
  8. Never prompted to elevate privilege as administrator

    in User Accounts and Family Safety
    Never prompted to elevate privilege as administrator: I recently upgraded my W8.1 system to W10. I'm assuming my administrator password is the same as it was - I don't recall being prompted to change and save it - but, I'm never prompted for it. Instead, everytime I try to do something that requires administrative privilege...
  9. Elevated administrator name

    in User Accounts and Family Safety
    Elevated administrator name: On the cmd prompt I entered a name for the "elevated administrator". Now I want to change it but I forgot what it was, and I need to know what it is to change it. How or where can I go in win 10 to see what it is?*Redface 36592
  10. Cannot delete files owned by "Administrators" group

    in Windows 10 Support
    Cannot delete files owned by "Administrators" group: Hi, I have a non-Windows 10 specific problem. I want to delete a Windows.old folder and it is owned by the Administrators group to which I belong. I actually use the built-in-Administrator-account with UAC completely turned off via registry hack. When I open the command...