Normales Thema wer Intresse hat (Gelesen: 1447 mal)
minibreaker
WSUS Junior Member
*
Offline


I Love WSUS!

Beiträge: 10
Mitglied seit: 26.10.10
wer Intresse hat
28.10.10 um 19:45:36
Beitrag drucken  
Hi all !

habe mal ein batch geschrieben zum updaten der clients.

wer will oder es brauchen kann, kann es benutzen

====================================================
@echo off
Echo Erzwingen von automatischen Updates :
Echo 1. Stoppen des Automatic Updates Service (wuauserv)
Echo 2. Löschen des  LastWaitTimeout registry key
Echo 3. Löschen des DetectionStartTime registry key
Echo 4. Löschen des NextDetectionTime registry key
Echo 5. Neustart des  Updates Service
Echo 6. Erkennung erzwingen
Pause
@echo on
net stop wuauserv
@echo off
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /V "WUServer" /T REG_SZ /F /D " (Du musst Dich Einloggen oder Registrieren um Multimediadateien oder Links zu sehen)."
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /V "WUStatusServer" /T REG_SZ /F /D " (Du musst Dich Einloggen oder Registrieren um Multimediadateien oder Links zu sehen)."
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /V "ElevateNonAdmins" /T REG_DWORD /F /D "00000000"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /V "TargetGroupEnabled" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /V "TargetGroup" /T REG_SZ /F /D "Testgruppe"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /V "AcceptTrustedPublisherCerts" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "NoAUShutdownOption" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "NoAUAsDefaultShutdownOption" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "AUPowerManagement" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "NoAutoUpdate" /T REG_DWORD /F /D "00000000"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "AUOptions" /T REG_DWORD /F /D "00000004"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "ScheduledInstallDay" /T REG_DWORD /F /D "00000000"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "ScheduledInstallTime" /T REG_DWORD /F /D "00000003"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "UseWUServer" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "DetectionFrequencyEnabled" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "DetectionFrequency" /T REG_DWORD /F /D "00000004"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "IncludeRecommendedUpdates" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "AutoInstallMinorUpdates" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "NoAutoRebootWithLoggedOnUsers" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "RebootRelaunchTimeoutEnabled" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "RebootRelaunchTimeout" /T REG_DWORD /F /D "00001440"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "RebootWarningTimeoutEnabled" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "RebootWarningTimeout" /T REG_DWORD /F /D "00000030"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "RescheduleWaitTimeEnabled" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "RescheduleWaitTime" /T REG_DWORD /F /D "00000030"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /V "EnableFeatureSoftware" /T REG_DWORD /F /D "00000001"
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpd
ate" /V "DisableWindowsUpdateAccess" /T REG_DWORD /F /D "00000000"
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
@echo on
net start wuauserv
wuauclt /detectnow
@echo off
Echo Der Client prueft nun ob neue Updates vorliegen.
Pause
  
Zum Seitenanfang
 
Bookmarks: Facebook Google Google+ Linked in Twitter Yahoo
 



Nutzungsbedingungen | Datenschutz
Kontakt | RSS | Feedback | Impressum
Facebook | News einsenden