Showing results for 
Search instead for 
Do you mean 
Reply
What's DOS?
Posts: 1
Registered: ‎05-02-2017
Location: DK
Message 1 of 3 (674 Views)

Lenovo update - automatic update from commandline

Hi

 

How can I run "Lenovo update" automatically from fresh installation? - I tried different parameters from the documantation, but nothing happens.

 

 

Thanks

Bit Torrent
Posts: 3,589
Registered: ‎11-22-2011
Location: US
Message 2 of 3 (614 Views)

Re: Lenovo update - automatic update from commandline

What is your machine type and model?

Are you referring to Thinkvantage System Update?

Bit Torrent
Posts: 3,589
Registered: ‎11-22-2011
Location: US
Message 3 of 3 (585 Views)

Re: Lenovo update - automatic update from commandline

[ Edited ]

If TVSU, I can offer 2 .cmds. Experimental.

Lenovo changed TVSU logic, but not the deployment guide.

-all becomes - critical.

All said, avoid any use of the .cmd interface. 

"%PROGRAMFILES(x86)%\Lenovo\System Update\tvsu.exe"/CM -search A -action LIST -noicon
echo   "%PROGRAMFILES(x86)%\Lenovo\System Update\tvsu.exe"/CM -search A -action LIST -noicon
if %ERRORLEVEL% EQU 0 goto DOUPGRADE
pause
echo bad run

GOTO END

:DOUPGRADE
echo good run
pause

GOTO END

:END
pause

==

"%PROGRAMFILES(x86)%\Lenovo\System Update\tvsuShim.exe"/CM -search R -action INSTALL -includerebootpackages 1,3,4 -noicon -noreboot -nolicense 

if %ERRORLEVEL% EQU 0 goto DOUPGRADE
pause
echo bad run

GOTO END

:DOUPGRADE
echo good run
pause

GOTO END

:END
echo   "%PROGRAMFILES(x86)%\Lenovo\System Update\tvsuShim.exe"/CM -search R -action LIST -noicon
pause

==

Bonus .cmd if egather fails.

echo this is ia test -silent removed

pause

"C:\Program Files (x86)\Lenovo\System Update\egather\ia.exe" -filename"D:\afileofpics\me...testt"  -local  -listsections -listtables
echo %ERRORLEVEL% 
pause

If I left out welcome to Lenovo, opps!

Welcome to the forum. 

Top kudoed Authors