Skip to content

Instantly share code, notes, and snippets.

@winhelponline
Created January 20, 2021 15:17
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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