Page 1 of 2

[solved] how update from the network share

PostPosted: 08.10.2010, 08:22
by gruu
The folder with wsus and all downloaded updates is located on the network share. From the client computer I go to that share and run UpdateInstaller.exe. I press start and see in cmd prompt this (attached). Нow should I understand it?

If I'd like to update clients from the share. should I use wsus scripts with windows sheduled task manager?

Re: how update from the network share

PostPosted: 08.10.2010, 08:52
by gruu
Sorry, I was unpatient. After some time I got it updated.
Advice please... If I want to update clients automaticly which scripts do I need to run from task maneger?

Re: how update from the network share

PostPosted: 08.10.2010, 09:30
by -Iwan-
Hello,

to use a network share, it is better to map it as a network drive.
For a planned task you can use the Update.cmd in the client directory.

how to run update.cmd

PostPosted: 13.10.2010, 05:22
by gruu
I'm trying to run update.cmd as a schedule task. I log in as ordinary user and create task (I also mark Run as administrator). But the task doesn't work. Then I try to run with double click. I go to My computer then open the share with updates and go to the folder client in it. After double click I get in console
you don't have administrative privilegies
I guess it has something to do with windows setup. How to make update.cmd run as a schedule task of ordinary user?

Re: how to run update.cmd

PostPosted: 13.10.2010, 06:14
by -Iwan-
Did you map the share as a network drive?

Re: how to run update.cmd

PostPosted: 13.10.2010, 08:13
by gruu
yes

Re: how to run update.cmd

PostPosted: 13.10.2010, 09:45
by WSUSUpdateAdmin
You have to map the network drive in the same, administrative context as the call of Update.cmd, otherwise it's not accessible.
You could create a wrapping cmd script to achieve this:
Code: Select all
net use ...
call Update.cmd


RTW

Re: how to run update.cmd

PostPosted: 14.10.2010, 05:06
by gruu
I did mapping already. Applications (X). But the shedule task doesnt work ((

Re: how to run update.cmd

PostPosted: 14.10.2010, 11:32
by WSUSUpdateAdmin
Ok, once again:

WSUSUpdateAdmin wrote:You have to map the network drive in the same, administrative context as the call of Update.cmd, otherwise it's not accessible.[...]


Your "pre-mapping" using the GUI doesn't work here :!:

RTW

Re: how to run update.cmd

PostPosted: 15.10.2010, 07:20
by gruu
Why then if I log in as administrator and mount share through gui and then go there and run update.cmd it works?
But if I log in as a ordinary user and try doing the same it doesn't work.
Should I add to update.cmd "net use (some disk letter)?
Sorry for my English )