1. Hello Guest, selamat datang di Forum WinPoin. Kamu bisa bertanya, berdiskusi, sharing, dan ngobrolin apapun seputar Windows, Windows Phone, PC, Gadget, atau hal seputar Teknologi lainnya. Selamat berkomunitas! ;)

Alternatif Windows Update via WindowsPowerShell

Discussion in 'Windows 8' started by mabaega, Dec 21, 2013.

  1. mabaega

    mabaega Well-Known Member

    Joined:
    Nov 9, 2013
    Messages:
    2,739
    Alternatif Windows Update via WindowsPowerShell

    Hasil Jalan-jalan.
    Khabarnya beberapa permasalahan update windows bisa tertangani dengan cara ini.
    Meski aku juga bingung, apa bedanya melalui GUI dengan melalui PS. tidak ada yang tampak unik.
    Aku belum coba, Belum ada System yang updatenya error nich

    Tapi apa salahnya mencoba. (buat yang bermasalah dengan Windows Update)
    untuk system yang masih berjalan normal, sebaiknya biarkan saja, kecuali pingin coba2 seperti saya.

    Standar Penanganan Masalah Windows Update :
    Jalankan Disk Clean Up , Klick Clean Up System File, dan OK
    Reboot Komputer
    Buat Restore Poin (*optional)

    Koneksikan Internet
    Download PS Script di mari:
    http://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc

    Extract module Beserta Foldernya (PSWindowsUpdate ke
    %WINDIR%\System32\WindowsPowerShell\v1.0\Modules

    [attachment=296]

    Buka PowerShell as Admin
    (Start - Search - ketik PowerShell, Klick Kanan Windows PowerShell - run as administrator)


    *Daftarkan Module

    PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned
    PS C:\Windows\system32> Import-Module PSWindowsUpdate

    * Periksa Update

    PS C:\Windows\system32>Get-WUList

    * Install Update

    PS C:\Windows\system32> Get-WUInstall


    Code:
    
    Windows PowerShell
    Copyright (C) 2013 Microsoft Corporation. All rights reserved.
    ;(* Daftarkan Module *)
    PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned
    
    Execution Policy Change
    The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
    you to the security risks described in the about_Execution_Policies help topic at
    http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
    [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):
    PS C:\Windows\system32> Import-Module PSWindowsUpdate
    
    ;(* Periksa Update *)
    PS C:\Windows\system32>Get-WUList 
    
    ;(* Install Update *)
    PS C:\Windows\system32> Get-WUInstall
    
    Confirm
    Are you sure you want to perform this action?
    Performing the operation "Definition Update for Windows Defender - KB2267602 (Definition 1.165.351.0)[108 MB]?" on
    target "XXXX".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    
    X Status     KB          Size Title
    - ------     --          ---- -----
    2 Accepted   KB2267602 108 MB Definition Update for Windows Defender - KB2267602 (Definition 1.165.351.0)
    3 Downloaded KB2267602 108 MB Definition Update for Windows Defender - KB2267602 (Definition 1.165.351.0)
    4 Installed  KB2267602 108 MB Definition Update for Windows Defender - KB2267602 (Definition 1.165.351.0)
    
    PS C:\Windows\system32>
    
    (* Selesai *)
    
    Periksa Update History

    [attachment=297]
     

    Attached Files:

  2. Febian

    Febian Administrator Staff Member

    Joined:
    May 7, 2013
    Messages:
    7,952
    kayaknya bs dicoba nih bwt temen2 yg gagal update via GUI
    thanks sob bwt infonya
     

Share This Page