I found out I can copy a file using the GPO editor, but if the user isn't connected to my network (in local or with VPN), would the GPO still applied and the wallpaper displayed? And what if the user computer reboots without access to the DC?
Essentially yes, if the computer has the below GPO applied and is then unplugged or takes computer/laptop home the wallpaper/background would still apply.
This is because the Client/Computer caches the GPO and still applies while turned on.
To have this working you would need the following setup within your GPO
- Copy Wallpaper File to a set location on the Computer.
- Set GPO to Set the Wallpaper/Background to path where the file is stored on the local computer (This means when user is no on the network the GPO can still apply the Wallpaper/Background when the user has no connection)
Hopefully this answers your question?
See below a .bat (Batch file) to copy the wallpaper to machines, you can probably run this at logon or computer startup? Whichever you prefer. You will need to set the first two variables.
REM ** YOU MUST CHANGE THIS TO THE FOLDER ON THE LOCAL MACHINE WHERE THE WALLPAPER FILE WILL BE SAVED **
REM ** You must change this to the folder/path where the wallpaper file is located on the server which the computer has access to **
IF EXIST "%wallpaperloc%\wallpaper.jpg" (
xcopy "%copyfromloc%" "%wallpaperloc%" /k/y
Then the GPO Below to set Wallpaper / Background
Go to GPO - > User Configuration -> Policies ->
Administrative Templates -> Desktop -> Desktop
Then Configure Desktop Wallpaper
Local Path where the Wallpaper where the file will be located and set Style
(e.g. Fill, Stretch etc.)