Is there any way of making the folder %appData%\Microsoft\Windows\Recent writable?

Read-only is always enabled - disabling it and applying the changes to the folder, subfolders, and files seems to take effect but does not.

enter image description here enter image description here

The reason I'm asking is because I'm trying to configure ShareX to add new screenshots to Recent Items by setting up an after-capture task / action configured with the equivalent of the CLI command "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" "$s=(New-Object -COM WScript.Shell).CreateShortcut('$Env:appData\Microsoft\Windows\Recent\<fileName>.lnk');$s.TargetPath='<path>\<fileName>.png';$s.Save()"

  • 1
    How did you determine that it is not writable? It is writable on all systems I've seen. – grawity Oct 11 at 12:40
  • @grawity The folder's checkbox "Read-only" is enabled regardless of what I do to it, all options of creating new items within it are greyed out, and the PowerShell command wouldn't create the LNK file in that folder but would in another. – mythofechelon Oct 11 at 12:42
  • Well, the "Read-only" attribute doesn't actually affect folders. It's been repurposed for something different though. – grawity Oct 11 at 12:49
  • @grawity I'm aware of that as the full wording of the checkbox is Read-only (Only applies to files in folder). – mythofechelon Oct 11 at 12:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.