Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Windows Automatic Update Command?

Reply
Thread Tools Display Modes

Windows Automatic Update Command?

 
 
Will Vincent
Guest
Posts: n/a

 
      09-22-2006
I am trying to troubleshoot some problems with windows automatic
updates on our network. Problem is everything I try, I have to wait
until the next day to see if it worked.

Is there a command or .exe to run that will start an automatic update
request? Manual updates via update.microsoft.com work fine. I need to
test WAU. It would be nice to be able to see right away if something
worked.

Any help would be great....Thanks!!

 
Reply With Quote
 
 
 
 
Paul Pavlicko
Guest
Posts: n/a

 
      09-22-2006
This may be what you are looking for:

http://technet2.microsoft.com/Window....mspx?mfr=true

Manipulate Automatic Updates Behavior Using Command-line Options
Project Writer: WSUA Writer
There are two documented command-line options used for manipulating
Automatic Updates behavior. These options are meant to be run from a command
prompt. They are helpful for testing and troubleshooting client computers.
For comprehensive troubleshooting information for problems with both the WSUS
server and client computers, see "Microsoft Windows Server Update Services
Operations Guide."

Detectnow Option
Because waiting for detection to start can be a time-consuming process, an
option has been added to allow you to initiate detection right away. On one
of the computers with the new Automatic Update client installed, run the
following command at the command prompt:

wuauclt.exe /detectnow

Resetauthorization Option
WSUS uses a cookie on client computers to store various types of
information, including computer group membership when client-side targeting
is used. By default this cookie expires an hour after WSUS creates it. If you
are using client-side targeting and change group membership, use this option
in combination with detectnow to expire the cookie, initiate detection, and
have WSUS update computer group membership.

Note that when combining parameters, you can use them only in the order
specified as follows:

wuauclt.exe /resetauthorization /detectnow



"Will Vincent" wrote:

> I am trying to troubleshoot some problems with windows automatic
> updates on our network. Problem is everything I try, I have to wait
> until the next day to see if it worked.
>
> Is there a command or .exe to run that will start an automatic update
> request? Manual updates via update.microsoft.com work fine. I need to
> test WAU. It would be nice to be able to see right away if something
> worked.
>
> Any help would be great....Thanks!!
>
>

 
Reply With Quote
 
Paul Pavlicko
Guest
Posts: n/a

 
      09-22-2006
I posted the wrong link...here is the correct one.

http://technet2.microsoft.com/Window...f507d1033.mspx


"Paul Pavlicko" wrote:

> This may be what you are looking for:
>
> http://technet2.microsoft.com/Window....mspx?mfr=true
>
> Manipulate Automatic Updates Behavior Using Command-line Options
> Project Writer: WSUA Writer
> There are two documented command-line options used for manipulating
> Automatic Updates behavior. These options are meant to be run from a command
> prompt. They are helpful for testing and troubleshooting client computers.
> For comprehensive troubleshooting information for problems with both the WSUS
> server and client computers, see "Microsoft Windows Server Update Services
> Operations Guide."
>
> Detectnow Option
> Because waiting for detection to start can be a time-consuming process, an
> option has been added to allow you to initiate detection right away. On one
> of the computers with the new Automatic Update client installed, run the
> following command at the command prompt:
>
> wuauclt.exe /detectnow
>
> Resetauthorization Option
> WSUS uses a cookie on client computers to store various types of
> information, including computer group membership when client-side targeting
> is used. By default this cookie expires an hour after WSUS creates it. If you
> are using client-side targeting and change group membership, use this option
> in combination with detectnow to expire the cookie, initiate detection, and
> have WSUS update computer group membership.
>
> Note that when combining parameters, you can use them only in the order
> specified as follows:
>
> wuauclt.exe /resetauthorization /detectnow
>
>
>
> "Will Vincent" wrote:
>
> > I am trying to troubleshoot some problems with windows automatic
> > updates on our network. Problem is everything I try, I have to wait
> > until the next day to see if it worked.
> >
> > Is there a command or .exe to run that will start an automatic update
> > request? Manual updates via update.microsoft.com work fine. I need to
> > test WAU. It would be nice to be able to see right away if something
> > worked.
> >
> > Any help would be great....Thanks!!
> >
> >

 
Reply With Quote
 
Will Vincent
Guest
Posts: n/a

 
      09-22-2006
Thank you Paul. The command worked great. From the reading, I thought
this may have been just for WSUS, (which I do not use), but it worked.
Thanks again!

Here is the command for anyone else looking in the future.
wuauclt.exe /detectnow


Paul Pavlicko wrote:
> I posted the wrong link...here is the correct one.
>
> http://technet2.microsoft.com/Window...f507d1033.mspx
>
>
> "Paul Pavlicko" wrote:
>
> > This may be what you are looking for:
> >
> > http://technet2.microsoft.com/Window....mspx?mfr=true
> >
> > Manipulate Automatic Updates Behavior Using Command-line Options
> > Project Writer: WSUA Writer
> > There are two documented command-line options used for manipulating
> > Automatic Updates behavior. These options are meant to be run from a command
> > prompt. They are helpful for testing and troubleshooting client computers.
> > For comprehensive troubleshooting information for problems with both the WSUS
> > server and client computers, see "Microsoft Windows Server Update Services
> > Operations Guide."
> >
> > Detectnow Option
> > Because waiting for detection to start can be a time-consuming process, an
> > option has been added to allow you to initiate detection right away. On one
> > of the computers with the new Automatic Update client installed, run the
> > following command at the command prompt:
> >
> > wuauclt.exe /detectnow
> >
> > Resetauthorization Option
> > WSUS uses a cookie on client computers to store various types of
> > information, including computer group membership when client-side targeting
> > is used. By default this cookie expires an hour after WSUS creates it. If you
> > are using client-side targeting and change group membership, use this option
> > in combination with detectnow to expire the cookie, initiate detection, and
> > have WSUS update computer group membership.
> >
> > Note that when combining parameters, you can use them only in the order
> > specified as follows:
> >
> > wuauclt.exe /resetauthorization /detectnow
> >
> >
> >
> > "Will Vincent" wrote:
> >
> > > I am trying to troubleshoot some problems with windows automatic
> > > updates on our network. Problem is everything I try, I have to wait
> > > until the next day to see if it worked.
> > >
> > > Is there a command or .exe to run that will start an automatic update
> > > request? Manual updates via update.microsoft.com work fine. I need to
> > > test WAU. It would be nice to be able to see right away if something
> > > worked.
> > >
> > > Any help would be great....Thanks!!
> > >
> > >


 
Reply With Quote
 
Will Vincent
Guest
Posts: n/a

 
      09-22-2006
Thanks so much Paul. You have no idea how much time you just saved me!
This works great.



Paul Pavlicko wrote:
> I posted the wrong link...here is the correct one.
>
> http://technet2.microsoft.com/Window...f507d1033.mspx
>
>
> "Paul Pavlicko" wrote:
>
> > This may be what you are looking for:
> >
> > http://technet2.microsoft.com/Window....mspx?mfr=true
> >
> > Manipulate Automatic Updates Behavior Using Command-line Options
> > Project Writer: WSUA Writer
> > There are two documented command-line options used for manipulating
> > Automatic Updates behavior. These options are meant to be run from a command
> > prompt. They are helpful for testing and troubleshooting client computers.
> > For comprehensive troubleshooting information for problems with both the WSUS
> > server and client computers, see "Microsoft Windows Server Update Services
> > Operations Guide."
> >
> > Detectnow Option
> > Because waiting for detection to start can be a time-consuming process, an
> > option has been added to allow you to initiate detection right away. On one
> > of the computers with the new Automatic Update client installed, run the
> > following command at the command prompt:
> >
> > wuauclt.exe /detectnow
> >
> > Resetauthorization Option
> > WSUS uses a cookie on client computers to store various types of
> > information, including computer group membership when client-side targeting
> > is used. By default this cookie expires an hour after WSUS creates it. If you
> > are using client-side targeting and change group membership, use this option
> > in combination with detectnow to expire the cookie, initiate detection, and
> > have WSUS update computer group membership.
> >
> > Note that when combining parameters, you can use them only in the order
> > specified as follows:
> >
> > wuauclt.exe /resetauthorization /detectnow
> >
> >
> >
> > "Will Vincent" wrote:
> >
> > > I am trying to troubleshoot some problems with windows automatic
> > > updates on our network. Problem is everything I try, I have to wait
> > > until the next day to see if it worked.
> > >
> > > Is there a command or .exe to run that will start an automatic update
> > > request? Manual updates via update.microsoft.com work fine. I need to
> > > test WAU. It would be nice to be able to see right away if something
> > > worked.
> > >
> > > Any help would be great....Thanks!!
> > >
> > >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Initiating automatic update through command prompt R Karthick Windows Update 1 06-14-2005 02:50 PM
Command-line switches for Windows software update packages Urs F. Windows Update 0 05-19-2005 06:46 AM
On Demand Windows Update from the command line. Tim Munro Windows Update 0 07-22-2004 12:20 PM
Windows Update from the command line. Tim Munro Windows Update 0 07-07-2004 07:13 PM
Windows Update Command Line Vince Windows Update 1 02-18-2004 06:56 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59