Jump to content

Windows 10 update Script from Network Share help

Recommended Posts

Hi All,

First post, sorry if this is the wrong place or I'm asking the wrong question.  I'm a noob to Labtech Scripting and our Tools Admin is on a long PTO, but basically trying to run this command to push a Windows 10 update from a network share.  It works from command line on the computer so it's not permissions or a bad command, but when I push through Labtech it hangs on waiting no matter which computer I try.  It never fails, just hangs.  

I run Shell as admin:

start /wait \\Location\setup.exe /auto upgrade /compat IgnoreWarning /DynamicUpdate disable /showoobe none /uninstall enable

This is connectwise cloud.  If anyone has any thoughts I would love to hear.

Again, I'm new so please don't flame if I'm not supposed to be asking this here.


Edited by owlmatt

Share this post

Link to post
Share on other sites

Hi Matt,

Shell as admin can be tricky as it sometimes prompts for elevation, have you might want to copy it locally and then use shell to install it

Share this post

Link to post
Share on other sites

This is a bit late but if you are trying to do anything like this you will find it useful to write your batch file so that it writes a log to c:\windows\temp\, or similar. 

In the first line do something like echo %date% %time% >> c:\windows\temp\win10upd.log

In the last line do the same.

The above line should also have >> c:\windows\temp\win10upd.log added to it.

You could also add a few more diagnostics, like

net use >> c:\windows\temp\win10upd.log

dir \\server\share >> c:\windows\temp\win10upd.log

Echo %username% >> c:\windows\temp\win10upd.log

All of this will give you information on why the update may have failed to even start. As Mnewman mentioned, in this case its most likely that the admin credentials didn't work as expected.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...