#46367 - 2003-10-07 03:04 AM
Uninstall Norton ussing script
|
@lejo @rias
Starting to like KiXtart
Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
|
Hi, I make this script
DelKey("HKEY_CLASSES_ROOT\*\Shellex\ContextMenuHandlers\LDVPMenu\LDVPMenu") DelTree("HKEY_LOCAL_MACHINE\SOFTWARE\Intel\DLLUsage\VP6") WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","vptray","","REG_SZ") DelKey("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\RTVSCN95") WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices","Defwatch","","REG_SZ") WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices","Rtvscn95","","REG_SZ") DelTree("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{BD12EB47-DBDF-11D3-BEEA-00A0CC272509}") DelTree("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\Symevnt") DelTree("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\LiveUpdate") DelTree("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\Application\Defwatch") DelTree("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\Application\Norton AntiVirus Server") DelTree("HKEY_LOCAL_MACHINE\SOFTWARE\Symantec") DelTree("HKEY_LOCAL_MACHINE\SOFTWARE\Intel") DelTree("HKEY_USERS\.Default\Software\Intel") DelTree("HKEY_USERS\.Default\Software\Microsoft\Installer")
Shell '%comspec% /c REN C:\WINDOWS\WEB\SAFEMODE.HTT *.OLD' ;PARA NO ACTIVE DESKTOP RESTAURAR Shell '%comspec% /c C:\PROCESSVIEW\PV.EXE -k -f explorer.exe' Shell '%comspec% /c c:\windows\explorer.exe' Shell '%comspec% /c REN C:\WINDOWS\WEB\SAFEMODE.OLD *.HTT' ;PARA NO ACTIVE DESKTOP RESTAURAR Sleep 5 Shell '%comspec% /c deltree /y "C:\Archivos de programa\Archivos comunes\Symantec Shared"' Shell '%comspec% /c deltree /y "C:\Archivos de programa\Norton AntiVirus"' Shell '%comspec% /c deltree /y "C:\Archivos de programa\Symantec"' Shell '%comspec% /c deltree /y "C:\windows\temp\*.*"'
But the folders C:\Archivos de programa\Norton AntiVirus C:\Archivos de programa\Archivos comunes\Symantec Shared
Remaing whit files, but if a try to download manually work,
History: I need uninstall norton manually whitout programs of symantec. SO: 1. Delete registry entrys that keep nortno alive 2. Kill explorer.exe to make changes effective 3. Delete folders.... but itīs remaing files.
Pls helpme.
thanks....
_________________________
Look always 4 the best...
|
|
Top
|
|
|
|
#46369 - 2003-10-07 02:33 PM
Re: Uninstall Norton ussing script
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Jens brings up a great point - if you try to surgically remove a program in this manner you will most likely have left-overs, background processes left, etc. Again, you will be better served by using the uninstall routine provided by Symantec. Further to the uninstall of the program, you should also be able to perform this silently.. For example, there are a number switches available for the MSIEXEC (MSI) installer as well as the InstallSheild, and WISE Instlllers too.
How do we deploy an application? - InstallShield and others
KiXtart FAQ & How to's
Kent
|
|
Top
|
|
|
|
#46370 - 2003-10-07 03:30 PM
Re: Uninstall Norton ussing script
|
@lejo @rias
Starting to like KiXtart
Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
|
OK, I have many pcīs. I try to uninstall with symantec software, msi, registry keys, posted on Knowledge Base of symantec etc. but some pcīs have registry problems or the first installation is working bad. Symantec only have 3 services in memory. defwatch.exe (look 4 new definitions file) rtvscn95.exe (service that canīt be killed) vptray.exe (program antivirus) I need that kix afer delete registry keys, and kill explorer for that changes take effect, delete the folders, this work fine, but some files still, so if I try to delete manually after kixx execution, the files can be deleted.... My question is, how to load another window with another kixx to delete de folders.... (If I use Call function or shell %comspec%... the program is loaded in the same exectuion window, this not work, must be in another window I think.....)
_________________________
Look always 4 the best...
|
|
Top
|
|
|
|
#46372 - 2003-10-07 03:48 PM
Re: Uninstall Norton ussing script
|
@lejo @rias
Starting to like KiXtart
Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
|
Hi Lonkero, I use sleep 15 seg, but donīt work, but if I use explorer windows delete command, this folder is deleted inmediatle... Tnks.
_________________________
Look always 4 the best...
|
|
Top
|
|
|
|
#46374 - 2003-10-07 03:58 PM
Re: Uninstall Norton ussing script
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Can you paste the the command used to unininstall Norton from this location?
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
and it's Key and command?
Kent
|
|
Top
|
|
|
|
#46375 - 2003-10-07 04:07 PM
Re: Uninstall Norton ussing script
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
will not this uninstall Norton?
shell "MsiExec.exe /X{0EFC6259-3AD8-4CD2-BC57-D4937AF5CC0E} /q"
You may ned to verify the GUID for your version of Norton...
Found in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
|
|
Top
|
|
|
|
#46376 - 2003-10-07 04:07 PM
Re: Uninstall Norton ussing script
|
@lejo @rias
Starting to like KiXtart
Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
|
Thk Lonkero, but donīt work. I have a last question. I try to delete in DOS manually with deltree and donīt work, but if try to delete in windows explorer (File-delete) works, what happens ?
_________________________
Look always 4 the best...
|
|
Top
|
|
|
|
#46377 - 2003-10-07 04:22 PM
Re: Uninstall Norton ussing script
|
@lejo @rias
Starting to like KiXtart
Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
|
TKS Radimus but, these process donīt work for me, because the process ask a password to uninstall, and I need that be silent for the user...
_________________________
Look always 4 the best...
|
|
Top
|
|
|
|
#46379 - 2003-10-07 04:56 PM
Re: Uninstall Norton ussing script
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Here you go -
code:
IF KEYEXIST('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0EFC6259-3AD8-4CD2-BC57-D4937AF5CC0E}') RUN 'MsiExec.exe /qn /x{0EFC6259-3AD8-4CD2-BC57-D4937AF5CC0E}' ENDIF
Note: the switches /qn /x
HTH,
Kent
|
|
Top
|
|
|
|
#46380 - 2003-10-07 05:01 PM
Re: Uninstall Norton ussing script
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
FYI..
Here is one where we had asked the client to uninstall the program and we "forced" it off his system anyway.
code:
IF @USERID='BADUSER' AND KEYEXIST('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2DFE1608-BDCA-11D1-B7AE-00C04FB92F3D}') RUN 'MsiExec.exe /qn /x{2DFE1608-BDCA-11D1-B7AE-00C04FB92F3D}' $mailhost = 'smtp.company.com' $recipient = 'admin@@company.com' $sender = @userid+'@@company.com' $mailLine = @ldrive+'Programs\blat.exe - -to $recipient -server $mailhost -subject "MS Project removed!!" ' $mailLine = $mailLine+'-body "MS Project has been removed for - @userid (@fullname)" -f $sender -q' SHELL $mailLine ENDIF
He never knew it was removed.
Kent
|
|
Top
|
|
|
|
#46381 - 2003-10-07 08:10 PM
Re: Uninstall Norton ussing script
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Sorry Kent
Your method will not work.
Jalejo said: quote: TKS Radimus but, these process donīt work for me, because the process ask a password to uninstall, and I need that be silent for the user
Your method would still prompt for the uninstall password.
I can script the removal, but I'm not sure I'm really willing to do that. This could/would possibly be found later on by others with poor intentions and use it as a method to disable antivirus and launch an attack. I'm getting tired of fighting viruses. They usually happen when I'm off and cause me to come in or work late. [ 07. October 2003, 20:13: Message edited by: NTDOC ]
|
|
Top
|
|
|
|
#46383 - 2003-10-07 08:51 PM
Re: Uninstall Norton ussing script
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
You can also contact your TAM at Symantec and ask for a GRC editor to allow you to modify and save a special GRC.DAT file that would disable the password.
Many ways to achieve the task. Hopefully these answers help you out with your endeavor. Sorry, no Silver Platter scripts today for this.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1452 anonymous users online.
|
|
|