[solved] how update from the network share

[solved] how update from the network share

Postby gruu » 08.10.2010, 08:22

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?
Attachments
screen.JPG
(103.55 KiB) Downloaded 788 times
gruu
 

Re: how update from the network share

Postby gruu » 08.10.2010, 08:52

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?
gruu
 

Re: how update from the network share

Postby -Iwan- » 08.10.2010, 09:30

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.
-Iwan-
 
Posts: 364
Joined: 02.11.2009, 17:49
Location: NRW, Germany

how to run update.cmd

Postby gruu » 13.10.2010, 05:22

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?
gruu
 

Re: how to run update.cmd

Postby -Iwan- » 13.10.2010, 06:14

Did you map the share as a network drive?
-Iwan-
 
Posts: 364
Joined: 02.11.2009, 17:49
Location: NRW, Germany

Re: how to run update.cmd

Postby gruu » 13.10.2010, 08:13

yes
gruu
 

Re: how to run update.cmd

Postby WSUSUpdateAdmin » 13.10.2010, 09:45

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
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: how to run update.cmd

Postby gruu » 14.10.2010, 05:06

I did mapping already. Applications (X). But the shedule task doesnt work ((
Attachments
screen.JPG
(65.15 KiB) Downloaded 755 times
gruu
 

Re: how to run update.cmd

Postby WSUSUpdateAdmin » 14.10.2010, 11:32

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
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: how to run update.cmd

Postby gruu » 15.10.2010, 07:20

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 )
gruu
 

Next

Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 36 guests