Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

windows update and remote desktop

Posted on 2013-06-29
10
Medium Priority
?
293 Views
Last Modified: 2013-09-06
I use remote desktop connection manager to login to multiple servers.

I then run windows update, custom scan to see what updates are available to install.

Is there a way I can push a script from RDP to run on the remote server to do all the clicking and run the windows update scanning process, so basiicaly when I logon onto all the servers it just shows me what windows updates are availble for installation?
0
Comment
Question by:Ikky786
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 

Author Comment

by:Ikky786
ID: 39287157
basically as soon I login to the servers with remote desktop connection I want
a small window to be displayed which shows me straight away what updates are availble to be installed. may be in a small command prompt
0
 
LVL 70

Expert Comment

by:KCTS
ID: 39287245
Why don't you just use WSUS ?
0
 

Author Comment

by:Ikky786
ID: 39287352
no wsus I'm afraid
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:Manjunath Sullad
ID: 39287708
Hi,

Try this -

psexec \\server -c -s -u domain\administrator -p password \\share\path_to_wuinstall\WUInstall.exe /install


Please refer :

http://smtpport25.wordpress.com/2010/08/06/installing-patchesapplication-remotely-on-windows-machine-using-psexec/ 

Regards,
~ Manju
0
 

Author Comment

by:Ikky786
ID: 39287985
Thanks for this, it's a very good script but it's not what I require. I require the following :

"Upon logging onto server I want the server to display to me what updates are available to install after it has done a scan"

And that's all I require. Even if there is a script which I can execute remotely from my laptop to all the servers - which then reports back to me what updates are available to install. That's all I need.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 39288820
Again, why are you not using WSUS ???????

You can then use option 3 in windows update---which is to "Download and Notify for install"

Managing the WSUS Automatic Updates Client Download, Install, and Reboot Behavior with Group Policy

http://technet.microsoft.com/en-us/library/cc512630.aspx

Best Practices with Windows Server Update Services 3.0

http://technet.microsoft.com/en-us/library/cc720525%28v=ws.10%29.aspx
0
 

Author Comment

by:Ikky786
ID: 39289604
Ok some new news.my company using wsus and sccm.

Sometime sccm works well and updates the machines and reboots them.

Sometime sccm fails so we have to login to the servers with rdp and then run a manual scan from windows updates (which I'm sure picks the available updates from the wsus server)

My question is what command can I run from powershell (from my laptop) to remotely perform a windows update scan on a single server to list which updates are available to download. all I want is a list if updates which are available for download. Is there a WMI class I can use which does this in powershell ? I don't want to use scripts from the Internet. I'm sure it's a one line something like get-wmiobject -class ?classname? . Invokemethod -computer name etc etc
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 2000 total points
ID: 39290012
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 39290030
0
 

Author Comment

by:Ikky786
ID: 39292374
I think this is what I'm looking for:

http://gallery.technet.microsoft.com/scriptcenter/0dbfc125-b855-4058-87ec-930268f03285

You give it a computer name and it throws back a list I updates which are pending I.e available for download. So basically this is like logging into the computer and running windows update through the browser which then lists updates which are ready to be download and installed.  Have I got this right ? Can I use JUST this script or is there something else I have I use with it ? and how do I specify login credentials to the command line ?

And any ideas on how I can actually install the updates once I have selected them through powershell ?
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question