Skip to content

Instantly share code, notes, and snippets.

@dengsauve
Created September 22, 2022 18:11
Show Gist options
  • Save dengsauve/bebfc8829fe6f53a271c5a8145085229 to your computer and use it in GitHub Desktop.
Save dengsauve/bebfc8829fe6f53a271c5a8145085229 to your computer and use it in GitHub Desktop.
Find and Change Your Assigned Desktop Background
# 1. Find and decode where your assigned desktop background is located
$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'
# 2. Open the file location in Explorer
# 3. Copy the image you wish to have as your BG into that directory
# 4. Copy the name of the assigned desktop background, then rename it to something like justInCase.jpg
# 5. Rename the new image as the old image
# 6. Restart and log back in, you should see your new image as the background.
# 7. Repeat if the company pushes new images out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment