Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > runas for windows update

Reply
Thread Tools Display Modes

runas for windows update

 
 
zzz
Guest
Posts: n/a

 
      08-20-2004
Hi,
I'd like to authorise user account to launch Windows
Update.

I want to transmit a password to the "runas" command, in a
batch file :

echo pwd | runas /user:adm wupdmgr.exe

But that don't work. Why ? Do someone know other way ?
thanks
 
Reply With Quote
 
 
 
 
hallstein
Guest
Posts: n/a

 
      08-21-2004
The runas command does not support passwords.

There is some hacks, like this VBScript:

http://www.tek-tips.com/faqs.cfm?fid=2760

I would recommend you to install SUS and use this SUS-server for your
clients. Visit http://www.susserver.com/ to learn about this.

zzz wrote:

> Hi,
> I'd like to authorise user account to launch Windows
> Update.
>
> I want to transmit a password to the "runas" command, in a
> batch file :
>
> echo pwd | runas /user:adm wupdmgr.exe
>
> But that don't work. Why ? Do someone know other way ?
> thanks

 
Reply With Quote
 
zzz
Guest
Posts: n/a

 
      08-23-2004
Thanks for the vbscript, that's work.

About SUS, I'm not sure it's good for notebooks users :
- Only users know when and how long they connect their
notebook in the network
- Do user accounts received messages if Windows Update is
being installed by SUS ?
- What will be the consequences if users shutdown their
notebook when Windows Update is being installed ?


>-----Original Message-----
>The runas command does not support passwords.
>
>There is some hacks, like this VBScript:
>
>http://www.tek-tips.com/faqs.cfm?fid=2760
>
>I would recommend you to install SUS and use this SUS-

server for your
>clients. Visit http://www.susserver.com/ to learn about

this.
>
>zzz wrote:
>
>> Hi,
>> I'd like to authorise user account to launch Windows
>> Update.
>>
>> I want to transmit a password to the "runas" command,

in a
>> batch file :
>>
>> echo pwd | runas /user:adm wupdmgr.exe
>>
>> But that don't work. Why ? Do someone know other way ?
>> thanks

>.
>

 
Reply With Quote
 
zzz
Guest
Posts: n/a

 
      08-23-2004
.... Do you know another script that make updating
automatically only the critical update (without using SUS)
when the user run the script ?



>-----Original Message-----
>Thanks for the vbscript, that's work.
>
>About SUS, I'm not sure it's good for notebooks users :
>- Only users know when and how long they connect their
>notebook in the network
>- Do user accounts received messages if Windows Update is
>being installed by SUS ?
>- What will be the consequences if users shutdown their
>notebook when Windows Update is being installed ?
>
>
>>-----Original Message-----
>>The runas command does not support passwords.
>>
>>There is some hacks, like this VBScript:
>>
>>http://www.tek-tips.com/faqs.cfm?fid=2760
>>
>>I would recommend you to install SUS and use this SUS-

>server for your
>>clients. Visit http://www.susserver.com/ to learn about

>this.
>>
>>zzz wrote:
>>
>>> Hi,
>>> I'd like to authorise user account to launch Windows
>>> Update.
>>>
>>> I want to transmit a password to the "runas" command,

>in a
>>> batch file :
>>>
>>> echo pwd | runas /user:adm wupdmgr.exe
>>>
>>> But that don't work. Why ? Do someone know other way ?
>>> 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
runas /user:USER problem and a strange behavior of runas Stefan Helmig Windows Vista Administration 1 01-31-2007 05:51 PM
I can't run a Windows Explorer as Administrator with runas Joachim Windows Vista Administration 4 11-01-2006 07:07 AM
I can't run a Windows Explorer as Administrator with runas Joachim Windows Vista Administration 0 08-29-2006 08:33 PM
I can't run a Windows Explorer as Administrator with runas Joachim Windows Vista Administration 0 08-29-2006 08:33 PM
I can't run a Windows Explorer as Administrator with runas Joachim Windows Vista Administration 0 08-29-2006 08:32 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