DosTips.com

A Forum all about DOS Batch
It is currently 27 Sep 2016 00:55

All times are UTC-06:00




Post new topic  Reply to topic  [ 16 posts ]  Go to page 1 2 Next
Author Message
 Post subject: Open Win updates
PostPosted: 01 Aug 2012 11:21 
Offline

Joined: 10 Jul 2012 13:47
Posts: 38
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.


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 11:26 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3220
http://www.vigus.eu/tech-brain-dump/win ... mand-line/


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 11:38 
Offline

Joined: 10 Jul 2012 13:47
Posts: 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


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 11:45 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3220
wuauclt /ShowWUAutoScan


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 11:47 
Offline

Joined: 10 Jul 2012 13:47
Posts: 38
fantastic do you know how i could do this in xp?


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 12:10 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3220
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!


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 12:18 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3220
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.


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 12:28 
Offline

Joined: 10 Jul 2012 13:47
Posts: 38
Thanks. i have been googling on the net. But i could not find anything. My apologies i will be more diligent from now on


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 12:37 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3220
[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.


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 14:18 
Offline

Joined: 10 Jul 2012 13:47
Posts: 38
Okay thanks. I will just use wupdmgr to bring up WU in xp


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 14:51 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3220
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.


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 15:05 
Offline

Joined: 10 Jul 2012 13:47
Posts: 38
I looked at that and laughed. Nice way to answer a question though


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 15:20 
Offline
Expert

Joined: 23 Dec 2011 13:59
Posts: 3220
I tried the -z -q option but it didn't do anything.
http://folarblogger.blogspot.com/2011/0 ... mands.html


Top
   
 Post subject: Re: Open Win updates
PostPosted: 01 Aug 2012 23:15 
Offline
Expert

Joined: 16 May 2011 08:21
Posts: 1433
Location: Flanders(Belgium)
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:


Top
   
 Post subject: Re: Open Win updates
PostPosted: 11 Aug 2012 19:59 
Offline

Joined: 21 Nov 2010 08:07
Posts: 233
Location: At My Computer
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 16 posts ]  Go to page 1 2 Next

All times are UTC-06:00


Who is online

Users browsing this forum: balubeto and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited