Code: Alles auswählen
copy -s "%ScriptPath%\setup\LogonBackgroundImage\LockScreen_Z\*.*" "%CommonAppdataDir%\Microsoft\Windows\SystemData\S-1-5-21-*\ReadOnly\LockScreen_*\"
Code: Alles auswählen
copy -s "%ScriptPath%\setup\LogonBackgroundImage\LockScreen_Z\*.*" "%CommonAppdataDir%\Microsoft\Windows\SystemData\S-1-5-21-*\ReadOnly\LockScreen_*\"
Code: Alles auswählen
Get-ChildItem -Path "$env:ProgramData\Microsoft\Windows\SystemData\*\ReadOnly\*" -Directory -Force -ErrorAction SilentlyContinue | Select-Object FullName | Foreach-Object {Copy-Item %ScriptPath%\setup\LogonBackgroundImage\LockScreen_Z\*.* $_.FullName}