Check Windows Update and Remote by Azure PowerShell

Hi everyone,
I've been dealing with a case in which my recent security update has broken the AD authentication. As a result, I can't remotely connect to the virtual machine by RDP. I'm wondering whether it's possible to check and remove Windows Update by Azure PowerShell
from my laptop.
Your suggestion would be greatly appreciated.
Regards,
-T.s
Thuan Soldier
A 23-year-old man loving Microsoft technologies and making crazy ideas on business journey.
SharePoint Vietnam |
Blog | Twitter

Hi Thuan;
This script is tested on these platforms by the author.:
Verified on the following platforms
Windows Server 2012
Yes
Windows Server 2008 R2
Yes
Windows Server 2008
Yes
Windows Server 2003
No
Windows 8
Yes
Windows 7
Yes
Windows Vista
Yes
Windows XP
No
Windows 2000
No
Regards
Prasant

Similar Messages

  • Intel Matrix Storage Manager disables Windows Update and Windows Validation on Windows 7 64-bit

    I have a Lenovo ThinkPad R61 8918CTO on which I did a clean install of Windows 7 Ultimate SP1 (64-bit) on a new Seagate Momentus XT 750GB drive. The installation was trouble-free, as were all of the post-install Windows Updates.
    Then I installed ThinkVantage System Update 4.03 and used it to install most of the available Lenovo updates. Big mistake. I'll spare you a detailed account of the hours I wasted troubleshooting, rolling back to previous restore points, and doing more troubleshooting, but it turns out that installing Intel Matrix Storage Manager driver v. 8.9.2.1002 caused Windows Update and Windows Validation to fail.
    Symptoms: Windows Update control panel can't check for updates and reports that the Windows Update service isn't running when it actually is. Online Windows Validation fails and the standalone Windows Validation utility won't install. Microsoft programs that require a validated copy of Windows (e.g., Microsoft Security Essentials) won't install. 
    Solution: Roll back the driver for the relevant SATA controller to the previous driver.
    I've reinstalled ThinkVantage System Update 4.03 and hidden the proposed Intel Matrix Storage Manager update; since then, I've used it to complete my Lenovo updates without issue.
    I hope this post will help other people with this problem find the solution a lot faster than it took me!

    This happened after installing a new advanced format drive with 4k-byte sectors, I'd guess.  If the storage driver doesn't report the physical sector size to Windows, update fails.
    I just ran across this myself (again) putting Win 7 on a T400.
    I don't know why this is still going on.  It may be that the update lists for older machines still have pre-AF-drive drivers listed.
    FYI, another fix is going to the Intel site and installing the latest Matrix Storage Manager AHCI driver.  This may be more desirable than rolling back to an older driver in some cases.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • I don't know why whenever i choose " check for updates " and download itunes 11.1 , it never shows any downloads , and i need itunes 11.1 so i can restore my iphone again .. help please

    I don't know why whenever i choose " check for updates " and download itunes 11.1 on my desktop , it never shows any downloads .. even when i tried downloading it from the website, and i need itunes 11.1 so i can restore my iphone again .. help please

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • I have installed itunes 10.7 several times.  All goes well.  After reboot, I go into itunes and check for updates and it says I need to download the update 10.7! (And so cant sync with my Iphone)

    I have installed itunes 10.7 several times, all goes well. After reeboot, I go to check for updates and it still wants to update to version 10.7! I cant sync to my iphone4 because I get an error message saying I need version 10.6.3 or later. Help

    Thank you for getting me started on the track by mentioning "Revo" Uninstaller.  The results of "Revo" spoke volumns on why a successful install of ITunes is so difficult to achieve.  It is the evil "BONJOUR".
    I then tripped upon the following site by Apple and the detailed directions (I read, printed, re-read and followed the instructions.  It was intense) brought a successful ITunes, Quick Time and the lovely Bonjour home.  Thank you for the start JD42.
    http://support.apple.com/kb/HT1923

  • I had downloaded and installed one of those automatic Windows update and now whenever I try to open my Firefox I get an error message, "Platform version 6.0.2 is not compatible with minVersion 6.0.1 maxVersion 6.0.1

    I had downloaded and installed one of those automatic Windows update and now whenever I try to open my Firefox I get an error message, "Platform version 6.0.2 is not compatible with minVersion >6.0.1 maxVersion <6.0.1

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    Do a clean reinstall and delete the Firefox program folder.
    * http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    *[[/questions/869812]]
    *[[/questions/869951]]

  • Windows Update and MSE will not update

    The Windows Update and MSE on my wife's netbook will not run. I've tried making sure the BITS and WU are running in the Services. BITS is running but Update won't run. When I try to get it to run I get an error 1067. When I try to run update I get the Update
    in not running message. When I try to update MSE I get an error 0x80080005.
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Validation Code: 0
    Cached Online Validation Code: N/A, hr = 0xc004f012
    Windows Product Key: *****-*****-FJT32-QMPGB-GCFF6
    Windows Product Key Hash: KGSsbuo1+06XJlvCBpYnFCqWv54=
    Windows Product ID: 00342-OEM-8992752-30004
    Windows Product ID Type: 2
    Windows License Type: OEM SLP
    Windows OS version: 6.1.7601.2.00010300.1.0.011
    ID: {76BA4188-6989-4312-891C-65EFCE4499D4}(1)
    Is Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/A, hr = 0x80070002
    Signed By: N/A, hr = 0x80070002
    Product Name: Windows 7 Starter
    Architecture: 0x00000000
    Build lab: 7601.win7sp1_gdr.140303-2144
    TTS Error: 
    Validation Diagnostic: 
    Resolution Status: N/A
    Vista WgaER Data-->
    ThreatID(s): N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    Windows XP Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    File Exists: No
    Version: N/A, hr = 0x80070002
    WgaTray.exe Signed By: N/A, hr = 0x80070002
    WgaLogon.dll Signed By: N/A, hr = 0x80070002
    OGA Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    OGAExec.exe Signed By: N/A, hr = 0x80070002
    OGAAddin.dll Signed By: N/A, hr = 0x80070002
    OGA Data-->
    Office Status: 100 Genuine
    Microsoft Office Enterprise 2007 - 100 Genuine
    OGA Version: N/A, 0x80070002
    Signed By: N/A, hr = 0x80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3_E2AD56EA-765-d003_E2AD56EA-766-0_E2AD56EA-134-80004005_E2AD56EA-765-b01a_E2AD56EA-766-0_E2AD56EA-148-80004005_16E0B333-89-80004005_B4D0AA8B-1029-80004005
    Browser Data-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default Browser: C:\Program Files\Google\Chrome\Application\chrome.exe
    Download signed ActiveX controls: Prompt
    Download unsigned ActiveX controls: Disabled
    Run ActiveX controls and plug-ins: Allowed
    Initialize and script ActiveX controls not marked as safe: Disabled
    Allow scripting of Internet Explorer Webbrowser control: Disabled
    Active scripting: Allowed
    Script ActiveX controls marked as safe for scripting: Allowed
    File Scan Data-->
    File Mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\npwatweb.dll[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0x80070003]
    File Mismatch: C:\Windows\system32\wat\watweb.dll[Hr = 0x80070003]
    Other data-->
    Office Details: <GenuineResults><MachineData><UGUID>{76BA4188-6989-4312-891C-65EFCE4499D4}</UGUID><Version>1.9.0027.0</Version><OS>6.1.7601.2.00010300.1.0.011</OS><Architecture>x32</Architecture><PKey>*****-*****-*****-*****-GCFF6</PKey><PID>00342-OEM-8992752-30004</PID><PIDType>2</PIDType><SID>S-1-5-21-2535747627-2150558150-2755165369</SID><SYSTEM><Manufacturer>Acer</Manufacturer><Model>AOD257</Model></SYSTEM><BIOS><Manufacturer>INSYDE</Manufacturer><Version>V1.14</Version><SMBIOSVersion
    major="2" minor="6"/><Date>20110922000000.000000+000</Date></BIOS><HWID>B8970100018400E4</HWID><UserLCID>0409</UserLCID><SystemLCID>0409</SystemLCID><TimeZone>Eastern Standard
    Time(GMT-05:00)</TimeZone><iJoin>0</iJoin><SBID><stat>3</stat><msppid></msppid><name></name><model></model></SBID><OEM><OEMID>ACRSYS</OEMID><OEMTableID>ACRPRDCT</OEMTableID></OEM><GANotification/></MachineData><Software><Office><Result>100</Result><Products><Product
    GUID="{90120000-0030-0000-0000-0000000FF1CE}"><LegitResult>100</LegitResult><Name>Microsoft Office Enterprise 2007</Name><Ver>12</Ver><Val>7480B9502DF0D86</Val><Hash>oYWOW5ayFE3pZ+jvTpuXYsY64JE=</Hash><Pid>89388-707-8722531-65301</Pid><PidType>14</PidType></Product></Products><Applications><App
    Id="15" Version="12" Result="100"/><App Id="16" Version="12" Result="100"/><App Id="18" Version="12" Result="100"/><App Id="19" Version="12"
    Result="100"/><App Id="1A" Version="12" Result="100"/><App Id="1B" Version="12" Result="100"/><App Id="44" Version="12" Result="100"/><App
    Id="A1" Version="12" Result="100"/><App Id="BA" Version="12" Result="100"/></Applications></Office></Software></GenuineResults>  
    Spsys.log Content: 0x80070002
    Licensing Data-->
    Software licensing service version: 6.1.7601.17514
    Name: Windows(R) 7, Starter edition
    Description: Windows Operating System - Windows(R) 7, OEM_SLP channel
    Activation ID: 8be4a481-9b5c-4588-a5ec-5dad4b1f15da
    Application ID: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00342-00178-927-530004-02-1033-7601.0000-2202011
    Installation ID: 017622677721141361630283562192842876556872428761495962
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial Product Key: GCFF6
    License Status: Licensed
    Remaining Windows rearm count: 2
    Trusted time: 7/3/2014 5:24:05 PM
    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: N/A
    HealthStatus: 0x0000000000000000
    Event Time Stamp: N/A
    ActiveX: Not Registered - 0x80040154
    Admin Service: Not Registered - 0x80040154
    HealthStatus Bitmask Output:
    HWID Data-->
    HWID Hash Current: LgAAAAAAAQABAAIAAAABAAAAAwABAAEAnJ+cKQYqGLB8r/QoxPLejAzc4NhcMw==
    OEM Activation 1.0 Data-->
    N/A
    OEM Activation 2.0 Data-->
    BIOS valid for OA 2.0: yes
    Windows marker version: 0x20001
    OEMID and OEMTableID Consistent: yes
    BIOS Information: 
      ACPI Table Name OEMID Value
    OEMTableID Value
      APIC ACRSYS
    ACRPRDCT
      FACP ACRSYS
    ACRPRDCT
      HPET ACRSYS
    ACRPRDCT
      BOOT ACRSYS
    ACRPRDCT
      MCFG ACRSYS
    ACRPRDCT
      WDAT INSYDE
    INSYDE  
      SLIC ACRSYS
    ACRPRDCT
      SSDT ACRSYS
    ACRPRDCT
      SSDT ACRSYS
    ACRPRDCT
      SSDT ACRSYS
    ACRPRDCT
    If someone could help me with this asap, the wife is anxious to be able to use her computer again

    Hi,
    Regarding Windows Update issue, please have a share with your CBS.log ( Find the log in C:\Windows\Logs\CBS\CBS.log ) and
    Windowsupdate.log, and we could find the windowsupdate.log in (%windir%\Windowsupdate.log).
    For Windows update troubleshooting, we might first take a look at the following articles:
    Troubleshooting update issues for Microsoft Security Essentials
    Troubleshoot problems with installing updates
    Fix Microsoft Windows Update Issues 
    Best regards
    Michael Shao
    TechNet Community Support

  • When firefox checking for updates and updates found but due to proxy restrictions it unable to download the updates then it continue trying to download that and this time it creating problem on running javascript

    When firefox checking for updates and updates found but due to proxy restrictions it unable to download the updates then it continue trying to download that and this time it creating problem on executing javascript and raising errors.

    What are the error messages you are seeing?

  • I can't open D7200 NEF file with Photoshop CS6. I checked the updates and there are no updates available. What do I do?

    Hi,
    I can't open D7200 NEF files with Photoshop CS6.I checked the updates and there are no updates available.What do I do?
    Nitin

    For the time being, shoot JPEG images. At this time there is no support for NEF files from the D7200 in any Adobe product. It was released at such a time that it wasn't included in the last Camera Raw update. And Lightroom hasn't been updated either. Consequently, there is no DNG converter available at this time. We will have to wait and see what programs will be able to accommodate the D7200 when Adobe releases updates or upgrades that support the camera.

  • Windows Update and MI424-WR Router

    I have seen this happen a few times where if I am updating large files through Windows Update, the MI424-WR Router seems to lose its DNS info and I lose the internet connection.  I can still communicate between computers in the house.  That is why I think it is the DNS is getting corrupted.  It happens a lot more with the VISTA OS than with the XP OS.  Anyway I have to do one of two things.  I can flush the dns which solves the problem a small percentage of the time (10%? of the time).  The other is I turn the router off and on.  This works pretty much all of time.  Any ideas?  This appears to only happen with Windows update and not with any other internet activity.  Also, it happen one time with XP but it was downloading a 284M update (full .NET SP pack).  The VISTA seems to cause problem after about 30 to 45 seconds into the downloading process.  To get around this, I try to update in small batches so I don't have to download a large amount at one time.  This seems to work pretty well but it is a pain to have to babysit the computer during the update process.  In the VISTA world, the update process seems to be a different process than going through the browser as in XP.  Don't know who to contact.  I looked on the Microsoft site and got some suggestions but they didn't solve the problem, just reduced the affect.

    This sounds more like a router issue. I would first try to find a firmware update for your router and if there is one update it and see if that helps. If not I would call Verizon for a replacement.

  • Why won't my iMac print consistantly to my compatible HP 6500A? I've checked for updates and downloaded the lasted software...still can't print. All my other Mac devices find the printer but the iMac is hit and miss. I'm operating the Mac OS X Lion 10.7.

    Why won't my iMac print consistantly to my compatible HP 6500A? I've checked for updates and downloaded the lasted software...still can't print. All my other Mac devices find the printer but the iMac is hit and miss. I'm operating the Mac OS X Lion 10.7.

    When you say hit and miss do you mean sometimes you print a whole document with no problems, or do you mean each document has problems? This is from HP's website for your printer:
    Your sig says 10.6.7 but your message says 10.7. So if it's really Lion, this printer isn't officially supported. Elsewhere on HP's site it says updated drivers will be available on your Mac via Software Update. Have you run that recently?

  • Should I use HPSA application to install recommended HP updates, windows updates and tune-ups?

    Should I use HPSA application to install recommended HP updates, windows updates and tune-ups?  I understand you can select the updates that you want to install but I always select and install the recommended updates through HPSA.
    Thanks.
    This question was solved.
    View Solution.

    Yes you can except for BIOS update. Rest if you like, you could confirm if the version and date of the driver notified is that which is given in your HP support page.
    You can follow the suggestions given in your other thread: http://h30434.www3.hp.com/t5/Notebook-Operating-Systems-and-Software/HP-Support-Assistant-gt-HP-Upda...
    Regards
    Visruth
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • HT4623 When I go into settings and general the option to download ios7 is not there when it then says "checking for updates" and I recieve an error

    When I go into settings and general the option to download ios7 is not there when it then says "checking for updates" and I recieve an error

    What version of iOS is the device currently running?
    In order to update over the air on the device, it must be running iOS5 or higher.

  • FF lets me access Facebook but I can't click or select any icons nor will it let me access Facebook games. IE will let me but its so slow. I've alread checked for updates and everything is fine.

    FF lets me access Facebook but I can't click or select any icons nor will it let me access Facebook games. IE will let me but its so slow. I've alread checked for updates and everything is fine.

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • My macbook air 13.3 keeps checking for updates and nothing is happening

    While trying to update the newest bundle from turning on this new computer - I can't get it to stop checking for updates and actually update.

    Just tried that, and it won't let me restart without closing the app store, and it won't let me close the app store until all the updates are completed (and the updates are not completing). It's a vicious cycle. Other ideas?

  • Problems with windows update and fingerprint

    HI
    My windows was out of date and in the coarse of trying to update it, the system runned into a problem and the only way i could get back my information was to let the system settings go back to its default settings. Following that, i find it difficult to download new updates and the fingerprint is also not working any more. Please what should i do ?

    Hi @CLEPRIS ,
    Thank you for visiting the HP Support Forums and Welcome.It is a great site for information and questions. I have looked into your issue about your HP-ENVY m6 Notebook and issues with Windows Updates and the Fingerprint reader software. Here is a link to the HP Support Assistant if you need it. Just download and run the application and it will help with the software and drivers that might need updating on your system.
    It shows me that there seems to be interference with Software task, usually your virus protection.
    You might have to disable this software and then run the Windows update.
    I would suggest to uninstall HP SimplePass and reinstalled the latest version for Windows 8.1.
    I would be happy to assist if needed. How Do I Find My Model Number or Product Number?
    I hope this fixes things up for you.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

Maybe you are looking for

  • Customer and Vendor Account statments

    Hi , can we get any standard report for customer/vendor accounts statements on monthly basis to be sent to customer/vendors? My client is asking in the report ,they should have invoice number, description of the transaction, debit, credit and balance

  • How to get instance of all components in a frame  dynamically

    Hai , I want to know how to get the instance names and values of components on a frame . if any body knows anything on this Please help me Advance Thanks

  • Needing help with an error message

    I currently have both updated ver. of software for the iPod and iTunes, yet everytime I try to sync my iPod with my music library from iTunes it comes up with this: "Attempting to copy to the disk "GHOST" failed. The disk could not be read or written

  • For whatever reason, I am frequently getting delays in seeing the characters after I type.

    For whatever reason, I am frequently getting delays in seeing the characters after I type when using Firefox- ie- Firefox, G mail, etc- but not when using other apps like Skype. I have downloaded the latest add-ons and Flow Scroll w no improvement an

  • GETWA_NOT_ASSIGNED error while running abap prog

    Hi. I am getting a runtime error GETWA_NOT_ASSIGNED while running an ABAP program in process chain. But when i execute pro in SE38 , it's not giving any error. Please any one can suggets what will be error.