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

Interesting. Didn't know about those.

ElAlamein wrote:Can do it any problems ?

Yes, apparently. Rename the AutoRun value (or delete it) and then you should be able to use WSUS Offline.

Just to elaborate why your registry modification results in this issue. CMD always runs the command(s) in the AutoRun value when started. Since (one of) these commands changes the path and drive to your VirtualBox directory, WSUS Offline's Update.cmd script can't find DoUpdate.cmd, because it expects it in the current (working) directory.

---

However, there's room for improvement in Update.cmd. Changing the last line to

would resolve this specific issue as well. But it's unclear whether or not subsequent commands (in DoUpdate.cmd) could result in similar errors because the working directory is still wrong. Maybe change to the working directory in DoUpdate.cmd with something like this

Please check, if WMI is working properly by trying the following:Double-click .\client\cmd\DetermineSystemsProperties.vbs and post the content of WOUSystemProperties.txt (stored on your desktop) here. If there is an error message, please post a screenshot of it here.Also open an administrative command promot and post the result of this command:

You asked for the code-tags. Directly above the box, where you type the post, there is a button named "Code", click it and post the text, you want to post in code-tags between the "code" and "/code"-element.

@DalaiBoth (Update.cmd and DoUpdate.cmd) already perform "cd /d %~dp0", so there has to be something else, we should do.

@WSUSUpdateAdminCould we make the AutoIt-scripts add the full path to Update.cmd/DownloadUpdates.cmd and then check %0 against %cd% or %~dp0?

You're right. Should've taken a look at DoUpdate.cmd before posting . Still, using %~dp0cmd\DoUpdate.cmd in Update.cmd would make the path absolute which is less likely to fail. That is, unless someone "tweaked" their system to the limit...