Page 1 of 2

DoUpdate.cmd error

PostPosted: 29.10.2017, 19:23
by ElAlamein
Hi , I am a new member and I have a problem using WSUS ver.11.03
When I launch "UpdateInstaller.exe" , it returns with an error (see the attachment)
I have a Lenovo desktop , with Windows 8.1 x64.
Thanks a lot and kind reguards

Re: DoUpdate.cmd error

PostPosted: 29.10.2017, 20:06
by Dalai
Hi and welcome to the forums :).

Unfortunately your screenshot doesn't show where your wsusoffline directory is located. I guess that it's on a network drive, and since you launch UpdateInstaller as administrator, it can't find any WSUS Offline scripts. If so, you need to connect the network drive as administrator as well. To do that, open a command prompt (cmd.exe) as administrator and connect it there via "net use" command, and then run UpdateInstaller from this command prompt window.

Regards
Dalai

Re: DoUpdate.cmd error

PostPosted: 29.10.2017, 21:48
by ElAlamein
Hi Dalai , thanks for yuor answer.
The path is C:\Users\myprofile\Downloads\wsusoffline1103\wsusoffline\client.
Best Reguards

Re: DoUpdate.cmd error

PostPosted: 29.10.2017, 22:45
by aker
Hello ElAlamein,

could you try the following:
- manually open a cmd-prompt with administrative rights (right click, run as administrator)
- enter the following commands (each one followed by pressing enter)
Code: Select all
cd /d "C:\Users\myprofile\Downloads\wsusoffline1103\wsusoffline\client"
Update.cmd /updatecpp /instmssl /instwmf

(If you replaced your username with "myprofile", remember to exchange "myprofile" with your username, when using this method)

Please tell us, if it succedes or still fails.

Re: DoUpdate.cmd error

PostPosted: 30.10.2017, 22:31
by ElAlamein
Hi , thanks for the reply , but I have same issue (see attachment).
After 2nd line , I have entered.
The error says ' "DoUpdate.cmd" is not identified like external or internal command , an executable or batch'.
Kind Regards

Re: DoUpdate.cmd error

PostPosted: 30.10.2017, 23:28
by boco
Did you extract WOU completely from the ZIP archive before running it? It will not run from inside the ZIP, even if it appears as a directory.

Re: DoUpdate.cmd error

PostPosted: 31.10.2017, 12:01
by aker
Please check, if .\client\cmd\DoUpdate.cmd exists.

Re: DoUpdate.cmd error

PostPosted: 31.10.2017, 22:31
by ElAlamein
Hi , thanks a lot for the answers.
For replying to boco :
I have extracted completely from zipped folder (see the Path.gif attachment)
For replying to aker:
in the \client\cmd , DoUpdate.cmd exists (see the Path2.gif attachment)
Best reguards

Re: DoUpdate.cmd error

PostPosted: 31.10.2017, 22:56
by aker
Did you modify anything inside the Windows registry or command prompt-related.
I'm a little confused, as the cmd always changes to VirtualBox's install path.

Please open regedit and check if one of those keys exist. If yes, please post its content:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor->AutoRun
HKEY_CURRENT_USER\Software\Microsoft\Command Processor->AutoRun

Also I'd like to check, if some environment var is set to something strange.
Please open a command prompt and enter (followed by enter):
Code: Select all
set

Please post the result here (text in [Code]-tags is preferred instead of screenshot; better readability and saves bandwidth)

Re: DoUpdate.cmd error

PostPosted: 31.10.2017, 23:20
by ElAlamein
Hi Aker , yes , I have modified HKEY_CURRENT_USER\Software\Microsoft\Command Processor->AutoRun in "cd /d C:\Program Files\Oracle\VirtualBox".
Can do it any problems ?
What it means "text in [Code]-tags" , how can do it ?
Thanks a lot