Bonjour,
Pour commencer voici mon batch :
Cela fonctionne sur certains PC en windows 7 et pour certains l'image n'est pas cochée et donc mon fond d'écran n'est pas modifié. Mon thème est créé et sélectionné mais l'image n'est pas cochée.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 @echo off del /q /f %UserProfile%\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper.jpg xcopy "c:\Windows\System32\tools760\PrintScreenGenerator\dCTBL.bmp" "c:\windows\" /c /f /h /y xcopy "c:\Windows\System32\tools760\PrintScreenGenerator\TranscodedWallpaper.jpg" "%UserProfile%\AppData\Roaming\Microsoft\Windows\Themes\" /c /f /h /y reg DELETE "HKCU\Control Panel\Desktop" /v "WallPaper" /f reg add "hkcu\control panel\desktop" /v wallpaper /t REG_SZ /d "c:\windows\dCTBL.bmp" /f reg add "hkcu\control panel\desktop" /v WallpaperStyle /t REG_SZ /d 2 /f reg add "hkcu\control panel\desktop" /v TileWallpaper /t REG_SZ /d 0 /f reg ADD "HKCU\Control Panel\Colors" /v Background /d "1 85 175" /f RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
Si vous avez une idée je suis preneur
Merci d'avance
PS ça doit fonctionner sur XP aussi
Partager