Windows Desktop wallpaper eka Group policy walin update wenna .bat file ekka hadaganna puluwanda?
Any source that I can referIn a Domain setup you can use the Group Policy Management Console and create a GPO.
On workstation basis you should be able to write a powershell script or even a .bat file with commands to set the registry keys & then use Rundll32.exe
https://gallery.technet.microsoft.com/scriptcenter/Change-the-Desktop-b5b2141cAny source that I can refer
Yes quite easy with a GPO specially when you are in a domain.GPO walin puluwan
Tfs this really helps
Tfs this really helps
GPO walin lesi thama
But I need to do the whole process just using one click (by running the powershell script)![]()
This is working fine...This should work too.....in a batch file.
@echo off
reg add "HKCU\control panel\desktop" /v wallpaper /t REG_SZ /d "" /f
reg add "HKCU\control panel\desktop" /v wallpaper /t REG_SZ /d "C:\[LOCATION OF WALLPAPER HERE]" /f
reg delete "HKCU\Software\Microsoft\Internet Explorer\Desktop\General" /v WallpaperStyle /f
reg add "HKCU\control panel\desktop" /v WallpaperStyle /t REG_SZ /d 2 /f
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
exit
Note: Once you set the registry then only needs to run the last line.