Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2021-08-12 06:39:24
Size: 260
Editor: PieterSmit
Comment:
Revision 3 as of 2021-09-08 00:33:08
Size: 1702
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:


 * Images in ```c:\Windows\Web\4K\Wallpaper\Windows\``` , ```c:\Windows\Web\Wallpaper\Windows\img0.jpg```
== AWS Wallpaper ==
 * 20 sec after loggin in a user's wallpaper gets updated with server information.
   1. Find user with {{{
Get-WMIObject -Query "select * from Win32_UserAccount where Name='<username>'"
}}}
   2. Reggedit Using the user key e.g. {{{
Computer\HKEY_USERS\<S-1-5-...62>\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers
}}}
   3. This should show the previous and current wall paper e.g. {{{
BackgroundHistoryPath0 C:\Users\<username>\AppData\Local\Ec2Wallpaper_Info.jpg
BackgroundHistoryPath1 C:\Windows\web\wallpaper\Windows\img0.jpg
}}}
   
== Set for user ==
 * https://stackoverflow.com/questions/43187787/change-wallpaper-powershell {{{
 reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d h:\Quotefancy-1542-3840x2160.jpg /f
 Start-Sleep -s 10
 rundll32.exe user32.dll, UpdatePerUserSystemParameters, 0, $false
}}}
   
* https://superuser.com/questions/430508/how-to-change-desktop-background-of-a-specific-user-in-a-batch-file {{{
#PowerShell:
$user = Get-WMIObject -Query "select * from Win32_UserAccount where Name='<username>'"
$path = 'Registry::HKEY_USERS\' + $user.SID + '\Control Panel\Desktop\'
Set-ItemProperty -path $path -name Wallpaper -value 'C:\path\to\wallpaper.jpg'
rundll32.exe user32.dll UpdatePerUserSystemParameters
}}}

Windows/BackgroundWallpaper

  • 2021 - Win10 - Wallpaper in registry, regedit

    Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers
    • remove BackgroundHistoryPathX to get back windows wallpaper as option.
  • Images in c:\Windows\Web\4K\Wallpaper\Windows\ , c:\Windows\Web\Wallpaper\Windows\img0.jpg

AWS Wallpaper

  • 20 sec after loggin in a user's wallpaper gets updated with server information.
    1. Find user with

      Get-WMIObject -Query "select * from Win32_UserAccount where Name='<username>'"
    2. Reggedit Using the user key e.g.

      Computer\HKEY_USERS\<S-1-5-...62>\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers
    3. This should show the previous and current wall paper e.g.

      BackgroundHistoryPath0  C:\Users\<username>\AppData\Local\Ec2Wallpaper_Info.jpg
      BackgroundHistoryPath1  C:\Windows\web\wallpaper\Windows\img0.jpg

Set for user

* https://superuser.com/questions/430508/how-to-change-desktop-background-of-a-specific-user-in-a-batch-file

#PowerShell:
$user = Get-WMIObject -Query "select * from Win32_UserAccount where Name='<username>'"
$path = 'Registry::HKEY_USERS\' + $user.SID + '\Control Panel\Desktop\'
Set-ItemProperty -path $path -name Wallpaper -value 'C:\path\to\wallpaper.jpg'
rundll32.exe user32.dll UpdatePerUserSystemParameters

Windows/BackgroundWallpaper (last edited 2021-09-08 05:32:22 by PieterSmit)