ouais avec un script vbs tu dois pouvoir faire ca, du genre,
Code :
- const HKEY_USERS = &H80000003
- strComputer = "."
- Set StdOut = WScript.StdOut
- Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
- strComputer & "\root\default:StdRegProv" )
- strKeyPath = ".DEFAULT/Control Panel/Desktop/"
- strValueName = "wallpaper"
- strValue = "tonwallpaper"
- oReg.SetStringValue HKEY_USERS,strKeyPath,strValueName,strValue
|
a voir si ca fonctionne ou pas j'ai pas le temp de tester.
Message édité par knives le 07-07-2004 à 12:39:48