Page 1 of 2 12>
Topic Options
#46367 - 2003-10-07 03:04 AM Uninstall Norton ussing script
@lejo @rias Offline
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....

[Confused]
_________________________
Look always 4 the best...

Top
#46368 - 2003-10-07 03:35 AM Re: Uninstall Norton ussing script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Most likely, there are other processes still running from within that folder.

Why don't you uninstall the application the way it's meant to be, e.g. via the HKLM\UnInstall key? Additionally, Symantec has documentation available on how to uninstall manually.
_________________________
There are two types of vessels, submarines and targets.

Top
#46369 - 2003-10-07 02:33 PM Re: Uninstall Norton ussing script
Kdyer Offline
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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#46370 - 2003-10-07 03:30 PM Re: Uninstall Norton ussing script
@lejo @rias Offline
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.....)
[Frown]
_________________________
Look always 4 the best...

Top
#46371 - 2003-10-07 03:41 PM Re: Uninstall Norton ussing script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you don't need another window.
you just need to wait for the files to release.
so, you would need to wait for the appropiate processes to shutdown and then wait until file-locks are gone.

if you want to try another kix process, use this kinda line:
run '\\server\share\wkix32.exe " \\server\share\mydeletionscript.kix"'
_________________________
!

download KiXnet

Top
#46372 - 2003-10-07 03:48 PM Re: Uninstall Norton ussing script
@lejo @rias Offline
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
#46373 - 2003-10-07 03:57 PM Re: Uninstall Norton ussing script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
have you tried instead of:
Shell '%comspec% /c deltree /y "C:\Archivos de programa\Archivos comunes\Symantec Shared"'

simple:
del "C:\Archivos de programa\Archivos comunes\Symantec Shared" /h /s

this obviously needs at least 4.21 of kix.
_________________________
!

download KiXnet

Top
#46374 - 2003-10-07 03:58 PM Re: Uninstall Norton ussing script
Kdyer Offline
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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#46375 - 2003-10-07 04:07 PM Re: Uninstall Norton ussing script
Radimus Moderator Offline
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
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#46376 - 2003-10-07 04:07 PM Re: Uninstall Norton ussing script
@lejo @rias Offline
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 Offline
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
#46378 - 2003-10-07 04:55 PM Re: Uninstall Norton ussing script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
if wintosh deletes it but command prompt not, check the file-attributes.

you can use the kix delete just fine.
but if there is file-attribs, not sure do you need to reset them first.
something like setfileattrib($file,$normal)
_________________________
!

download KiXnet

Top
#46379 - 2003-10-07 04:56 PM Re: Uninstall Norton ussing script
Kdyer Offline
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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#46380 - 2003-10-07 05:01 PM Re: Uninstall Norton ussing script
Kdyer Offline
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. [Wink]

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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#46381 - 2003-10-07 08:10 PM Re: Uninstall Norton ussing script
NTDOC Administrator Offline
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
#46382 - 2003-10-07 08:16 PM Re: Uninstall Norton ussing script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Even if it prompts for the uninstall password, this can be disabled in the SCC console prior to removing the software.
_________________________
There are two types of vessels, submarines and targets.

Top
#46383 - 2003-10-07 08:51 PM Re: Uninstall Norton ussing script
NTDOC Administrator Offline
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. [Roll Eyes]

Top
#46384 - 2003-10-08 03:12 AM Re: Uninstall Norton ussing script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jalejo dude, could you report quickly back where you at?
did you check the file-attributes?
_________________________
!

download KiXnet

Top
#46385 - 2003-10-08 04:28 AM Re: Uninstall Norton ussing script
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Maybe you scared him off JLO
Top
#46386 - 2003-10-09 12:29 AM Re: Uninstall Norton ussing script
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
very very possible.
but, don't think so.
I'm afraid that this board gave him the answer and he does not come back to tell that.

anyway, I know my finnish-basta language can be little hursh from time to time, but ppl should know that I'm finn [Wink]
and if they still get scared, they normally rate my score lower.
this hasn't happened.
so, I think jalejo-dude is just lurking there but not willing to post yet.
_________________________
!

download KiXnet

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1636 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.075 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org