About
Careers
Support
Partners
Community
Contact
Product
Overview
IT Discovery
IT Inventory
IT Analytics
Features
Integrations
Use Cases
IT Asset Management
Cybersecurity
Active Directory Audit
Installing Software & Patches
Automated IT Inventory
Pricing
Resources
Support Knowledge Base
Videos
Testimonials
Vulnerability Updates
Patch Tuesday
Blog
Free Download
Lansweeper
»
Installers
»
Lenovo System Update
Active Topics
Search
Join Now
Login
Notification
Error
OK
Lenovo System Update -
Lenovo System Update Install and Search for Driver / Utilities
Posted:
Wednesday, December 27, 2017 1:17:44 PM(UTC)
laengu
Member
Original Poster
Posts: 2
2
Like
This installer will install the Lenovo System Update if not already installed, then afterwards search for new drivers and utilities in the background.
After giving the tool 2 minutes it will ask the user how to proceed with the installation of the packages.
The user has the choice between:
1. Now
2. After next restart
3. Postpone
As a limitation the user can only postpone the installation twice, which in our company is 2 months. After that the user has only the choice between now and after the next restart.
Handles attachments
LenovoSystemUpdate.zip
(4kb) downloaded
310
time(s).
Lenovo System Update
Download Package
Description
v5.07.0065
Starts the Levono System Update in the background and installs all updates, if not installed will be installed first and then starts the processes.
The script takes the inputs:
/UpdateSeverity:<C> / <R>/ <A>
C = only critical updates
R = critical and recommended updates
A = all updates
/RebootPackagesInclusion:<1> /& <3> /& <4>
1: The reboot that is forced by the package.
3: The reboot that is required for the package to take effect.
4: The shutdown that is forced by the package.
1,3,4: every package included in the search (standard)
Final Action
Nothing
Max. Duration
0 min(s), 1 hour(s)
Rescan
No
Steps
1. Check: LSU installed
Type
Condition
Success
Go To Step 3
Failure
Go To Step 2
Conditions
File
C:\Program Files (x86)\Lenovo\System Update\
Tvsukernel.exe
Exists
2. Install: LSU
Type
Installer
Return Codes
0,1641,3010
Success
Go To Next
Failure
Stop (Failure)
Command
"{PackageShare}\Installers\LenovoSystemUpdate\systemupdate5.07.0065.exe" /verysilent /norestart
3. Message: Starting LSU
Type
Command
Return Codes
0,1641,3010
Success
Go To Next
Failure
Stop (Failure)
Command
msg.exe * The IT department is starting an update installation on your computer. Please follow instructions onscreen and do NOT close the black window!
4. Script: LSU Start Download
Type
Script
Return Codes
0,1641,3010
Success
Go To Next
Failure
Stop (Failure)
Command
"{PackageShare}\Scripts\LenovoSystemUpdate.vbs" /UpdateSeverity:A /UpdateAction:DOWNLOAD /RebootPackagesInclusion:1,3,4
5. Wait: 30s
Type
Command
Return Codes
0,1641,3010
Success
Go To Next
Failure
Stop (Failure)
Command
timeout /t 120 /nobreak
6. Check: Registry Postpone Number Exists
Type
Condition
Success
Go To Step 7
Failure
Go To Step 8
Conditions
Registry
HKLM\SOFTWARE\Lenovo
SystemUpdatePostpone
Exists
7. Check: Registry Postpone Number
Type
Condition
Success
Go To Step 8
Failure
Go To Step 15
Conditions
Registry
HKLM\SOFTWARE\Lenovo
SystemUpdatePostpone
Has Not Value
3
8. Message: Beginn of Installation
Type
Script
Return Codes
0,1641,3010
Success
Go To Step 16
Failure
Go To Step 9
Command
"{PackageShare}\Scripts\AskUserForUpdateInstall1.vbs"
9. Message: Postpone Installation
Type
Script
Return Codes
0,1604,1641,3010
Success
Go To Step 17
Failure
Go To Step 10
Command
"{PackageShare}\Scripts\AskUserForUpdateInstall2.vbs"
10. Check: Registry Postpone Number 1st
Type
Condition
Success
Go To Step 11
Failure
Go To Step 12
Conditions
Registry
HKLM\SOFTWARE\Lenovo
SystemUpdatePostpone
Has Value
1
11. Registry: LSU Postpone Number 2nd
Type
Command
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Failure)
Command
REG ADD HKLM\SOFTWARE\Lenovo /v SystemUpdatePostpone /t REG_DWORD /d 2 /f
12. Check: Registry Postpone Number 2nd
Type
Condition
Success
Go To Step 13
Failure
Go To Step 14
Conditions
Registry
HKLM\SOFTWARE\Lenovo
SystemUpdatePostpone
Has Value
2
13. Registry: LSU Postpone Number 3rd
Type
Command
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Failure)
Command
REG ADD HKLM\SOFTWARE\Lenovo /v SystemUpdatePostpone /t REG_DWORD /d 3 /f
14. Registry: LSU Postpone Number 1st
Type
Command
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Failure)
Command
REG ADD HKLM\SOFTWARE\Lenovo /v SystemUpdatePostpone /t REG_DWORD /d 1 /f
15. Message: Postpone Installation Expired
Type
Script
Return Codes
0,1604,1641,3010
Success
Go To Step 16
Failure
Go To Step 17
Command
"{PackageShare}\Scripts\AskUserForUpdateInstall3.vbs"
16. Script: LSU Updates Installation
Type
Script
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Failure)
Command
"{PackageShare}\Scripts\LenovoSystemUpdate.vbs" /UpdateSeverity:A /UpdateAction:INSTALL /RebootPackagesInclusion:1,3,4
17. Registry: LSU to RunOnce
Type
Command
Return Codes
0,1641,3010
Success
Go To Step 18
Failure
Stop (Failure)
Command
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v LenovoSystemUpdate /t REG_SZ /d "\\lansweeper\defaultpackageshare$\Scripts\LenovoSystemUpdate.vbs /UpdateSeverity:A /UpdateAction:INSTALL /RebootPackagesInclusion:1,3,4"
18. Message: LSU Updates Installation
Type
Command
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Failure)
Command
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v UpdateMessage /t REG_SZ /d "msg.exe * Your computer is installing the postponed updates, it might restart soon."
#1
Charlie.X
Member
Administration
Posts: 1,982
posted:
1/2/2018 1:44:45 PM(UTC)
Very nice showcase of what is possible with the deployment module
Two quick things to help people who want to use this package.
Don't forget to put the scripts in PackageShare\Scripts and the executable in PackageShare\Installers\LenovoSystemUpdate
You can download the executable here:
https://support.lenovo.c...be/en/downloads/ds012808
User Profile
View All Posts by User
View helpful posts
#2
laengu
Member
Original Poster
Posts: 2
posted:
1/3/2018 7:31:23 AM(UTC)
Originally Posted by: Charles.X
Very nice showcase of what is possible with the deployment module
Two quick things to help people who want to use this package.
Don't forget to put the scripts in PackageShare\Scripts and the executable in PackageShare\Installers\LenovoSystemUpdate
You can download the executable here:
https://support.lenovo.c...be/en/downloads/ds012808
Thanks, and yes you're right, forgot to mention that you have to put the files into the correct folders.
It was a bit try and error at first, but I'm quite satisfied with the result.
User Profile
View All Posts by User
View helpful posts
#3
kaldoand
Member
Posts: 5
posted:
3/3/2020 9:36:22 AM(UTC)
Hi, seems this stops in step 4 because of timeout. i added double time but still same. What can be wrong?
User Profile
View All Posts by User
View helpful posts
#4
TheITGuy
Member
Posts: 32
posted:
3/12/2020 5:43:51 PM(UTC)
Originally Posted by: kaldoand
Hi, seems this stops in step 4 because of timeout. i added double time but still same. What can be wrong?
I was having problems to with the latest version, found an older version and it worked fine. Looks like 5.07.0093 might have an issue.
User Profile
View All Posts by User
View helpful posts
Active Discussions
Report Request - List assets with old software when newer versions are found
by
Tyler M.
Last post:
Yesterday
at 8:34:35 PM(UTC)
Hardware Inventory
by
Brandon
Last post:
Yesterday
at 7:07:50 PM(UTC)
Calls closed within SLA
by
TimHolmes1973
Last post:
Yesterday
at 5:25:38 PM(UTC)
Report that ties O365 Group Member to Asset?
by
Chrisy Mullins
Last post:
Yesterday
at 1:34:26 PM(UTC)
Report with working time, closed state, ticket type and custom filed
by
Dimitar Staykov IT
Last post:
Yesterday
at 12:47:30 AM(UTC)
Windows 10 Pro
by
dc74
Last post:
4/9/2021 8:42:31 PM(UTC)
Need Help Editing a Report
by
Tyler M.
Last post:
4/9/2021 6:26:37 PM(UTC)
Adding computer type to Windows 10 report
by
Brandon
Last post:
4/8/2021 9:16:40 PM(UTC)