Forum: Win32/Win64 API (native code)
by Jonas Shinaniganz,
1. Nov 2012
Auslesen der Automatischen Update-Konfiguration von Windows
Programm:
Getestet auf: Windows XP 32 Bit, Windows 7 64 Bit
Forum: Win32/Win64 API (native code)
by Jonas Shinaniganz,
1. Nov 2012
Cool...
Naja jedenfalls wird mir hier irgendwas vorgegaukelt.
Weiter oben habe Ich mich ja schon gefragt: "Wo schreibt er das jetzt hin?"
Ich habe jetzt unter:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
Forum: Win32/Win64 API (native code)
by Jonas Shinaniganz,
1. Nov 2012
So.. hiermit sollte es jetzt funktionieren... OpenKeyReadOnly gibt true zurück, in der nächsten Zeile bekomme ich die "Fehler beim holen der Daten Meldung", ich habe Admin Rechte und habe das Tool auch entsprechend Rechtsklick -> Mit Admin Rechten, ausgeführt.
var
regist : TRegistry;
begin
regist := TRegistry.Create(KEY_READ);
try
regist.RootKey:= HKEY_LOCAL_MACHINE;
Forum: Win32/Win64 API (native code)
by Jonas Shinaniganz,
31. Okt 2012
Okay den Pfad, so wie er von dir kommt, den gibt es. Da stehen auch die erwarteten Werte.
var
AUOptions : DWORD;
begin
AUOptions := 0;
Registry := TRegistry.Create;
Registry.RootKey := HKEY_LOCAL_MACHINE;
Forum: Win32/Win64 API (native code)
by Jonas Shinaniganz,
31. Okt 2012
Okay Ich dachte erst das der folgende Pfad ungültig ist:
HKEY_LOCAL_MACHINE\ Software\ Policies\ Microsoft\ Windows\ WindowsUpdate\ AU
Hab grade noch das hier gefunden:
http://support.microsoft.com/kb/328010#method3
Scheinbar muss Ich die Einträge erst soweit anlegen.
Danke erstmal. Falls jemand noch was dazu loswerden will, immer gerne.
Forum: Win32/Win64 API (native code)
by Jonas Shinaniganz,
31. Okt 2012
Hi. Ich würde gerne wissen, ob die Automatischen Updates auf einem W7-PC so gesetzt sind:
"Updates automatisch installieren"
Die anderen 3 Einstellungsmöglichkeiten sind Ay-Okay, Ich müsste nur wissen, ob speziell diese Einstellung gesetzt ist.
Hat jemand eine Idee? Grüße