Open Win updates

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
gymiv
Posts: 38
Joined: 10 Jul 2012 13:47

Open Win updates

#1 Post by gymiv » 01 Aug 2012 11:21

I need to finish a batch and the last part of it I want to open the windows update gui, for xp or 7, and just check for updates. I want to bring up gui and check for updates to verify they have all been installed, this is done in the first part of my batch using WUinstall. Does anyone know the command for XP and 7 to open windows update and do a check for updates? wuapp /startmenu opens the gui for win7 but does not do a check.


gymiv
Posts: 38
Joined: 10 Jul 2012 13:47

Re: Open Win updates

#3 Post by gymiv » 01 Aug 2012 11:38

Thanks for the reply. The purpose of doing this is to have the actuall gui for windows update open up so i can see if there are any more updates that need installing after my previous batch is finished. Thats why i need the gui to open it is a visual thing. This all has to do with the previous batch you helped me with

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Open Win updates

#4 Post by Squashman » 01 Aug 2012 11:45

wuauclt /ShowWUAutoScan

gymiv
Posts: 38
Joined: 10 Jul 2012 13:47

Re: Open Win updates

#5 Post by gymiv » 01 Aug 2012 11:47

fantastic do you know how i could do this in xp?

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Open Win updates

#6 Post by Squashman » 01 Aug 2012 12:10

All I have been doing is Google searching. I hope you are too.
I found the commands for Windows 7 on these two sites.
http://www.msfn.org/board/topic/143031- ... there-any/
http://social.technet.microsoft.com/For ... a7bf2617f/

I will keep Google searching for the XP commands. Whoever finds it first gets a virtual beer!

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Open Win updates

#7 Post by Squashman » 01 Aug 2012 12:18

This article says the switches are the same for XP and 7 but some of them do not work on XP.
http://www.paulscomputerservice.net/art ... php?ID=185

I can't test as we have this disabled at work. We use HP's Radia client for updates.

gymiv
Posts: 38
Joined: 10 Jul 2012 13:47

Re: Open Win updates

#8 Post by gymiv » 01 Aug 2012 12:28

Thanks. i have been googling on the net. But i could not find anything. My apologies i will be more diligent from now on

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Open Win updates

#9 Post by Squashman » 01 Aug 2012 12:37

[edit by Ed Dyreen] changed poster
fyi that command does not work in xp sp3

I read on another website that Automatic Updates must be enabled for that command to work as well. But that was a site that was talking about Windows 7. It may just be it doesn't work for XP. You may be out of luck for Xp.

gymiv
Posts: 38
Joined: 10 Jul 2012 13:47

Re: Open Win updates

#10 Post by gymiv » 01 Aug 2012 14:18

Okay thanks. I will just use wupdmgr to bring up WU in xp

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Open Win updates

#11 Post by Squashman » 01 Aug 2012 14:51

Oops!
I think I accidently edited your post with my comment. I meant to quote your post. Got to ge used to these new powers that have been bestowed upon me.

gymiv
Posts: 38
Joined: 10 Jul 2012 13:47

Re: Open Win updates

#12 Post by gymiv » 01 Aug 2012 15:05

I looked at that and laughed. Nice way to answer a question though

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Open Win updates

#13 Post by Squashman » 01 Aug 2012 15:20

I tried the -z -q option but it didn't do anything.
http://folarblogger.blogspot.com/2011/0 ... mands.html

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: Open Win updates

#14 Post by Ed Dyreen » 01 Aug 2012 23:15

Squashman wrote:Oops!
I think I accidently edited your post with my comment. I meant to quote your post. Got to ge used to these new powers that have been bestowed upon me.
Just click back in your browser and repost the original message, you can change posters through control panel :roll: :wink:

Dos_Probie
Posts: 233
Joined: 21 Nov 2010 08:07
Location: At My Computer

Re: Open Win updates

#15 Post by Dos_Probie » 11 Aug 2012 19:59

Why dont you run the portable app WinUpdatesList.exe file last in your batch file to show your installed updates..
url: http://www.nirsoft.net/utils/wul.html

Post Reply