Installation of patches via network sharing resource

Installation of patches via network sharing resource

Postby OREO » 29.09.2016, 02:29

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.
OREO
 

Re: Installation of patches via network sharing resource

Postby aker » 29.09.2016, 11:23

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.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Installation of patches via network sharing resource

Postby WSUSUpdateAdmin » 29.09.2016, 11:29

WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Installation of patches via network sharing resource

Postby boco » 29.09.2016, 12:24

UAC can be bypassed silently with the Task Scheduler.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2398
Joined: 24.11.2009, 17:00
Location: Germany

Re: Installation of patches via network sharing resource

Postby OREO » 30.09.2016, 00:05

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

Re: Installation of patches via network sharing resource

Postby OREO » 30.09.2016, 00:07

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.
OREO
 

Re: Installation of patches via network sharing resource

Postby OREO » 30.09.2016, 00:10

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...
OREO
 

Re: Installation of patches via network sharing resource

Postby aker » 30.09.2016, 21:05

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...
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Installation of patches via network sharing resource

Postby OREO » 04.10.2016, 00:29

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.
OREO
 

Re: Installation of patches via network sharing resource

Postby OREO » 05.10.2016, 03:01

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.
OREO
 

Next

Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 22 guests

cron