Notification

Icon
Error

Cmd - WSUS Offline Update installation - Starts the installation of a WSUS Offline Update package

Posted: Friday, June 19, 2015 2:34:04 PM(UTC)
Daniel.B

Daniel.B

Member Original PosterPosts: 1,150
0
Like
This package deploys a WSUS update package built with WSUS Offline Update (http://www.wsusoffline.net/). Please find details in the package description field.

For each OS version you would like to deploy updates to, you need to build an own package and download an own repository with WSUS Offline Update.
Cmd - Start WSUS Offline UpdateDownload Package
DescriptionStarts Windows update installation after building an OS specific offline WSUS repository with WSUS Offline Update (http://www.wsusoffline.net/)

- Download WSUS Offline Update from http://download.wsusoffline.net/
- Execute UpdateGenerator.exe
- Configure for which system and software you would like to download latest updates
- Under "USB medium" enable "Copy updates for selected products into directory:" and provide a target directory
- Start the download
- Place the content of the target directory onto your Package share into folder "WSUS update"
- Deploy the package (be attentive to only deploy to computers having the right operating system - use dynamic asset groups as deployment targets)

Attention: for installation, several GB of free HDD space are required on target computers. Change the temp folder directory in step 2 and 4 if required.
Final ActionShutdown
Shutdown Time 0 sec(s), 0 min(s), 0 hour(s)
Max. Duration0 min(s), 2 hour(s)
RescanYes
Steps
1. Inform user
TypeCommand
Return Codes 0,1641,3010
SuccessGo To Next
FailureStop (Failure)
Command Msg.exe * An automatic Windows update will be started in 20 minutes. Please close all your programs and log off from Windows. Do not shut down your computer!
2. Copy repository files to local HDD
TypeCommand
Return Codes 0,1641,3010,1,2,3,5,6,7
SuccessGo To Next
FailureStop (Failure)
Command robocopy "{PackageShare}\WSUS update" "c:\temp\WSUS update" /mir
3. Wait 20 minutes
TypeCommand
Return Codes 0,1641,3010
SuccessGo To Next
FailureStop (Failure)
Command timeout 1200 > NUL
4. Start update installation
TypeCommand
Return Codes 0,1,1641,3010,3011
SuccessStop (Success)
FailureStop (Failure)
Command cd "c:\temp\WSUS update\cmd\" && DoUpdate.cmd /verify /updatercerts /updatecpp /updatedx /instmssl /updatetsc /instdotnet4
RumbleZilla
#1RumbleZilla Member Posts: 4  
posted: 2/26/2019 9:19:05 PM(UTC)
This worked great. Thank you.

Is there a switch or .ini setting that will perform the "Automatic reboot and recall"?
Example: https://www.screencast.com/t/XXhXyVY4SDGn

I support several remote locations that require the PC's to be on, updated and ready to go when the users return.
Thanks for your help.
Esben.D
#2Esben.D Member Administration Posts: 1,982  
posted: 2/27/2019 2:45:45 PM(UTC)
Maybe there is a parameter you can add to do that?
RumbleZilla
#3RumbleZilla Member Posts: 4  
posted: 2/27/2019 8:39:19 PM(UTC)
Originally Posted by: Esben.D Go to Quoted Post
Maybe there is a parameter you can add to do that?


Thank you. That was my thought as well.
I ended up adding the "/autoreboot" switch at the end.
It got me further, but when it reboots into the temp user "WOUTempAdmin" it presents a dialog box that requires someone to click OK.

https://www.screencast.com/t/p75uMfpc55q

Dialog

I have done that using VNC, but sometimes it shuts all the way off for an unknown reason. I've tried it on three different machines so far and it's acted differently each time. (All Win7, 1 Dell Latitude laptop, 2 Dell Optiplex towers)

cd "c:\temp\WSUS update\cmd\" && DoUpdate.cmd /verify /updatercerts /updatecpp /updatedx /instmssl /updatetsc /instdotnet4 /autoreboot

Is there a switch that will bypass the dialog box?
Thanks again.
jadeesh
#4jadeesh Member Posts: 1  
posted: 11/12/2020 9:07:11 AM(UTC)
https://download.wsusoffline.net/

The latest Win 10 version 2004 updates are not available in WSUS program (12.03.2020 Version 12.0). the available version in the WSUS program is 1909 that is outdated one.

Anyone has overcome this issue? please share.
jadeesh attached the following image(s):
WSUS.JPG

Active Discussions

Lansweeper Software deployment initiated by user
by  LS_enthusiast_4444  
Go to last post Go to first unread
Last post: Yesterday at 9:28:18 PM(UTC)
Lansweeper Help Desk not disabling for regular users?
by  FrankSc   Go to last post Go to first unread
Last post: Yesterday at 8:18:38 PM(UTC)
Lansweeper Satisfaction Questionnaire after ticket close
by  mouaad  
Go to last post Go to first unread
Last post: Yesterday at 4:31:44 PM(UTC)
Lansweeper Microsoft EDGE browser support
by  Vapoured   Go to last post Go to first unread
Last post: Yesterday at 4:54:30 AM(UTC)
Lansweeper Asset Management - Unattached assets
by  MrDiamond  
Go to last post Go to first unread
Last post: 11/25/2020 8:15:16 PM(UTC)
Lansweeper Lansweeper Fresh Install Hanging, High CPU, Unusable
by  ebars   Go to last post Go to first unread
Last post: 11/24/2020 7:53:38 PM(UTC)
Lansweeper Forwarding tickets to regular email recipents
by  ChristerT  
Go to last post Go to first unread
Last post: 11/24/2020 9:48:15 AM(UTC)