Skip to content

Instantly share code, notes, and snippets.

@winhelponline
Created January 20, 2021 15:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save winhelponline/4dc635770d5b123f6c1a719326037880 to your computer and use it in GitHub Desktop.
Save winhelponline/4dc635770d5b123f6c1a719326037880 to your computer and use it in GitHub Desktop.
Decode TranscodedImageCache wallpaper file name using PowerShell
$TIC=(Get-ItemProperty 'HKCU:\Control Panel\Desktop' TranscodedImageCache -ErrorAction Stop).TranscodedImageCache
[System.Text.Encoding]::Unicode.GetString($TIC) -replace '(.+)([A-Z]:[0-9a-zA-Z\\])+','$2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment