Can’t Delete or Rename a File from the Desktop Despite Admin Permissions

Over the course of the last few days, I’d searched for images and dragged ones I wanted on to the desktop. This morning, I saw a shortcut on the desktop, what looked like a broken link with the name “data image_jpeg;base64 [whole buncha’ hex values]

The problems with this file were:

  • Can’t delete it
  • Can’t drag it to Recycle Bin
  • Can’t edit its file name
  • Attempting to delete with CMD or PowerShell results in “file not found” (IT’S RIGHT THERE!!!!!)

All permissions are as expected. I’m the admin on my machine. It didn’t come from a badly written GPO.

The Fix

Open WinRAR, of all things. Navigate to the file’s location (in my case, the desktop). Delete the file from within WinRAR’s explorer with Shift+DEL.

UEFI? Book it!

This past week, my Win10 task sequences were failing on the Latitude E7470s.  Yet they were fine on my testbed Intel NUCs.  The same task sequences, so it wasn’t the software.  What the hell was going on here?

Then I started piecing it together.  Intel NUCs vs. Lat 7470s.  The task sequence on the Lats go really quickly to Applying Operating System where it failed.  SMSTS.log said:

There are no more volumes available for use.

The requested target could not be resolved to a valid volume on this computer. Check your task sequence to ensure this drive is correct and that it is being createdThe requested target could not be resolved to a valid volume on this computer. Check your task sequence to ensure this drive is correct and that it is being createdThe parameter is incorrect. (Error: 80070057; Source: Windows) ApplyOperatingSystem 6/15/2017 9:03:44 AM 1596 (0x063C)

I then noticed that the step where the TS should be formatting my drive to UEFI was not actually starting.  Why?  It had to be that step, because the NUCs, which are on legacy boot, partition normally as BIOS.  I looked at my task sequence variables, because everything else looked fine.  Then, I saw it:

The variable “_SMSTSBootUEFI” had somehow changed to “_SMSTSBookUEFI.”

And since I copy/paste tasks from sequence to sequence, I had inadvertently copied this error to all of my Win 10 task sequences.  After correcting that, my Lat 7470s partitioned, formatted, and applied the OS correctly.

But how in the hell did that get changed in the first place?