Page 1 of 2

Installation of patches via network sharing resource

PostPosted: 29.09.2016, 02:29
by OREO
Hi guys,

I am trying to have WSUSuo service a bunch of domain administered computers.
However prior to approaching that level, I've decided to first test if it works with one machine accessing another machine to pick up the updates.

At this moment, I've ran into an issue where when calling DoUpdate.cmd, it starts the script but then runs into errors: "access is denied".
I've checked all permissions and can see that they are all in order.

I've tried running the UpdateInstaller but I didn't see any error which now I'm confused as to where the problem might be.

Are there any experts here that might be able to shed some light on what I might be doing wrong?

Image attached: https://drive.google.com/file/d/0B-hhFBwzbwqPdnFobXVlaV9nNXM/view?usp=sharing

Add on 1:
I've further investigated and found that UAC is the problem as when I run a command prompt with Administrator rights, I can get through and execute the DoUpdate.cmd with no issues.

In saying so, does anyone know of a way to bypass UAC just for this DoUpdate to work silently in the background.

Thank you.

Re: Installation of patches via network sharing resource

PostPosted: 29.09.2016, 11:23
by aker
I assume, that W: is some kind of network drive, correct?
How do you mount it? It needs to be mounted as admin and as normal user.

Re: Installation of patches via network sharing resource

PostPosted: 29.09.2016, 11:29
by WSUSUpdateAdmin

Re: Installation of patches via network sharing resource

PostPosted: 29.09.2016, 12:24
by boco
UAC can be bypassed silently with the Task Scheduler.

Re: Installation of patches via network sharing resource

PostPosted: 30.09.2016, 00:05
by OREO
boco wrote:UAC can be bypassed silently with the Task Scheduler.


Hi Aker,

But mounting it as an admin and a user, I'll have to embed the password in there.
Am I right?

Re: Installation of patches via network sharing resource

PostPosted: 30.09.2016, 00:07
by OREO
WSUSUpdateAdmin wrote:Kind of confusion here? ;)
:arrow: viewtopic.php?f=4&t=5611&p=20373#p20376


Hi WSUSUpdateAdmin,

The UpdateInstaller, can that just be called straight and ran at the background without the GUI?
Yes, I am indeed confused.

Is there anymore advice that you might be able to provide?

Thank you.

Re: Installation of patches via network sharing resource

PostPosted: 30.09.2016, 00:10
by OREO
boco wrote:UAC can be bypassed silently with the Task Scheduler.


Hi boco,

I tried.
But during the first run through DoUpdate, the task ran without stopping which I then reboot, there was an update waiting to be installed.
So my thoughts are to reboot after an hour, then run the update and reboot again.

Scratching my head away...

Re: Installation of patches via network sharing resource

PostPosted: 30.09.2016, 21:05
by aker
You may auto-mount it without embedding using the task-sheduler. Create two tasks, one runs with the rights of the current user, the other one with highest priviledges.

I never used the network-dive support, so I'd have to try...

Re: Installation of patches via network sharing resource

PostPosted: 04.10.2016, 00:29
by OREO
aker wrote:You may auto-mount it without embedding using the task-sheduler. Create two tasks, one runs with the rights of the current user, the other one with highest priviledges.

I never used the network-dive support, so I'd have to try...


Hi aker,

Are you able to just further explain the creating 2 task bit?
As in where or how are they created? I am a little confused.

Thank you.

Re: Installation of patches via network sharing resource

PostPosted: 05.10.2016, 03:01
by OREO
Just wondering if anyone has gotten DoUpdate.cmd to work successfully with Task Scheduler too as it seems to be stuck without in the update loop without knowing know how to get out (Update for 1.5 hours)

Really scratching my head now and I hope any experts here can point me in the right direction.

Thank you.