260
Comment:
|
1702
|
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.
Find user with
Get-WMIObject -Query "select * from Win32_UserAccount where Name='<username>'"
Reggedit Using the user key e.g.
Computer\HKEY_USERS\<S-1-5-...62>\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers
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
#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