I’ve been playing around with custom lock screens for a bit and I can’t seem to get DSC to update the file each time I replace the backgroundDefault file in the C:\windows\system32\oobe\info\backgrounds directory. I had about a 80% success rate on deploying this to around 200 users.
Registry 'ScreenLock' { Ensure = ”Present” Key = ”HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background” ValueName = 'OEMBackground' ValueType = ”DWord” ValueData = ”1” } File 'Screens' { SourcePath = '\\x\x\backgroundDefault.jpg' DestinationPath = 'C:\Windows\System32\Oobe\info\backgrounds\backgroundDefault.jpg' Recurse = $True Type = 'File' MatchSource = $True Ensure = 'Present' Force = $True }