vb script machts m�glich. ist mit tweakomatic1.0 erstellt = ungetestet

mfg

HH

--------------------------Script for retrieving the current task setting
On Error Resume Next
HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer &
"\root\default:StdRegProv")
strKeyPath = "Control Panel\Desktop"
ValueName = "Wallpaper"
    objReg.GetStringValue HKEY_CURRENT_USER, strKeyPath, ValueName, strValue
If IsNull(strValue) Then
    Wscript.Echo "Set the name of the wallpaper:  The value is either Null
or could not be found in the registry."
Else
    Wscript.Echo "Set the name of the wallpaper: ", strValue
End If
--------------------------

--------------------------Script for carrying out this task 
HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer &
"\root\default:StdRegProv")
strKeyPath = "Control Panel\Desktop"
objReg.CreateKey HKEY_CURRENT_USER, strKeyPath
ValueName = "Wallpaper"
strValue = "c:\windows\web\wallpaper\autumn.bmp"
objReg.SetStringValue HKEY_CURRENT_USER, strKeyPath, ValueName, strValue
--------------------------

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von Stefan H�sler
> Gesendet: Donnerstag, 15. J�nner 2004 16:13
> An: [EMAIL PROTECTED]
> Betreff: [Coffeehouse] GP + Anzeige
> 
> 
> Hallo!
> 
> Hab doch vor kurzem von meinem kleinen Problem erz�hlt, dass 
> ich den Server
> nicht dazu �berreden kann, mich wieder das 
> Desktop-Hintergrundbild �ndern zu
> lassen. Das nervt mich jetzt schon seit 3 Tagen. Ich bekomm 
> das einfach
> nicht mehr hin. Hab die Gruppenrichtlinie jetzt schon 
> mehrmals �berpr�ft und
> das auch in anderen GPs versucht.
> Wenn ich die Richtlinienvererbung ausschalte, funktioniert's. 
> Kann ich in
> meinem Fall aber nicht ausschalten.
> 
> Ich hab Euch mal ein paar Screenshots gemacht, die die wichtigen
> Einstellungen und das Ergebnis zeigen. Finde das n�mlich extrem
> faszinierend. Und vielleicht hat dann jemand auch noch einen 
> Tipp f�r mich,
> was ich da falsch mache.
> 
> http://www.drhirn.com/test/index.html
> 
> Gru� + Dank
> 
> Stefan
> 
> _______________________________________________
> Coffeehouse mailing list
> [EMAIL PROTECTED]
> http://www.glengamoi.com/mailman/listinfo/coffeehouse
> 
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an