zoukankan      html  css  js  c++  java
  • Windows wuauclt

    title: windows wuauclt - check for updates

    wuauclt.exe /detectnow
    wuauclt.exe /resetauthorization /detectnow
    wuauclt.exe /reportnow
    wuauclt.exe /updatnow
    

    If this is on Windows 10, wuauclt /detectnow has been deprecated and no longer functions. you must use powershell to do this.

    (New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()

    A more comprehensive Client side script is (Run from an admin CMD Prompt):

    net stop bits
    net stop wuauserv
    reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v AccountDomainSid /f
    reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v PingID /f
    reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v SusClientId /f
    reg delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v SusClientIDValidation /f
    rd /s /q "C:WINDOWSSoftwareDistribution"
    net start bits
    net start wuauserv
    wuauclt /resetauthorization /detectnow
    PowerShell.exe (New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()
    

    Reference

    WARNING: No any other purpose,keeping reminded! So sorry to offended,if necessary, contact me and I do change what I had done to protect your privileges!
  • 相关阅读:
    2017加油
    配置SSH框架的心得
    .net 中select和where的区别
    oracle查询中文数据出现乱码
    three.js 加载 obj模型
    下载别人的3D模型文件
    关闭按钮
    桌面截屏保存成gif形式(软件)
    vue 中引入 three.js
    three.js-地球贴图-TextureLoader
  • 原文地址:https://www.cnblogs.com/MimiSnowing/p/15055034.html
Copyright © 2011-2022 走看看