Post Reply  Post Thread 
Somebody at Lenovo....
Author Message
06-27-2007 11:21 PM
Post: #1
Somebody at Lenovo....
 
MetalMan
Director
********


Posts: 797
Group: Directors
Joined: Mar 2006
Status: Offline
Reputation: 3

Forgot to do their job.

Code:
IF EXIST c:\SWSHARE\nowremove.txt GOTO REMOVEFILES
icacls.exe C:\swtools\lenovowelcome /grant BUILTIN\Users:F /T /C
start /w C:\SWTOOLS\LenovoWelcome\LenovoRegistration.exe /INIF="C:\SWSHARE\leadertech.ini"

REM (Matt needs to create a file for if registration fails 3x OR if successful called nowremove.txt so we know to remove the files on next boot)

REM do we need "C:\Program Files\Lenovo Registration\Lenovo.exe" /remind /language=ENU /INIF="C:\SWSHARE\leadertech.ini" /PRNM="Lenovo"

GOTO END

REM Below line deletes everything not needed anymore.

:REMOVEFILES
ICACLS.EXE  C:\SWSHARE\ /grant BUILTIN\Users:F /T /C
del c:\swshare\leadertech.ini
del c:\swshare\nowremove.txt
ICACLS.EXE  "%appdata%\Microsoft\Windows\Start Menu\Programs\startup" /grant BUILTIN\Users:F /T /C
del "%appdata%\Microsoft\Windows\Start Menu\Programs\startup\LenovoWelcome.lnk"
del "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\LenovoRegistration.lnk"
:END


I noticed that this little gem of a script that runs(ran) at startup on my new Lenovo Thinkpad T61.  Of course, now I know it doesn't do anything and can therefore be removed from my startup stuff.  However, I think those two REM (indicates a comment in DOS batch scripting, for those of you that don't know) statements in the middle are too priceless for this to go anywhere!

06-28-2007 09:28 AM
Post: #2
RE: Somebody at Lenovo....
 
AtomSmasher5
Community Operator
****


Posts: 592
Group: Community Operators
Joined: Mar 2006
Status: Away
Reputation: 3

Thats kind of funny. XD



06-28-2007 10:12 AM
Post: #3
RE: Somebody at Lenovo....
 
mwace
Director
********


Posts: 1 163
Group: Directors
Joined: Mar 2006
Status: Offline
Reputation: 2

Hahaha, thats pretty priceless.

Lenovo just got 0wned, having a customer clean up their own startup scripts.

Post Reply  Post Thread