Solved

Command Line Uninstall AVG

Posted on 2006-07-13
5
13,058 Views
Last Modified: 2011-06-26
I am rolling out a virus package (via a batch file logon script) and I need to automate the uninstall of AVG Free edition from the computers.  The computers have a mix of version 6 and 7.  Does anyone know a command line to do this completely automatically?  I have this command:

"C:\Program Files\Grisoft\AVG Free\setup.exe" /UNINSTALL

but it prompts you whether you want to uninstall, and a few other questions.  Does anyone have any more information?

Thanks in advance.
0
Comment
Question by:mantech1
5 Comments
 
LVL 8

Expert Comment

by:kaliyugkaarjun
ID: 17106252
Do you have Windows XP?

If so try this...

1) Put in your XP CD. Exit if it autostarts.

2) Go to Start > Run, and type:

cmd <Enter>

3) Then, at the command prompt, type (where D: is your CD-ROM drive letter
and "Windows" is your installation directory):

expand D:\i386\config.nt_ c:\windows\system32\config.nt <Enter>
expand D:\i386\autoexec.nt_ c:\windows\system32\autoexec.nt <Enter>
expand D:\i386\command.co_ c:\windows\system32\command.com <Enter>
exit <Enter>

If that doesn't work, then
1) Start Notepad.

2) In Notepad, type the following entries:
dos=high, umb
device=%SYSTEMROOT%\system32\himem.sys
files=40

3) On the File menu, click Save As.

4) In the File Name box, type Config.nt, and then click Save. Close the
Config.nt file.

5) On the File menu, click New.

6) In the new blank document, type the following entries:
@echo off
lh %SYSTEMROOT%\system32\mscdexnt.exe
lh %SYSTEMROOT%\system32\redir
lh %SYSTEMROOT%\system32\dosx
SET BLASTER=A220 I5 D1 P330 T3

7) On the File menu, click Save As.

8) In the File Name box, type Autoexec.nt, and then click Save. Close the
Autoexec.nt file.

9) Start Windows Explorer. Locate the Config.nt file, right-click the
Config.nt file, and then click Copy.

10) Right-click the %SYSTEMROOT%\System32 (usually Windows\System32) folder,
and then click Paste.

11) Locate the Autoexec.nt file, right-click the Autoexec.nt file, and then
click Copy.

12) Right-click the %SYSTEMROOT%\System32 folder, and then click Paste.

13) Locate the Command.com file, right-click the expanded Command.com file,
and then click Copy.

14) Right-click the %SYSTEMROOT%\System32 folder, and then click Paste.

15) Restart your computer.
0
 
LVL 4

Expert Comment

by:jcdesign4u
ID: 17106369
Maybe C:\Program Files\Grisoft\AVG Free\setup.exe" /UNINSTALL /Y works
Or:
C:\Program Files\Grisoft\AVG Free\setup.exe" /UNINSTALL /yes
or:
C:\Program Files\Grisoft\AVG Free\setup.exe" /UNINSTALL \yes

0
 

Author Comment

by:mantech1
ID: 17108823
I found the answer in some old documentation on the internet.  The /HIDE switch is the one I was looking for.  Thanks anyway for your help.
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 17631428
PAQed with points refunded (250)

CetusMOD
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Software doesn't automaticly start up 5 65
Windows 10 4 39
Edit header 19 101
Need job search tool for follow-ups 6 79
A list of useful business intelligence software.
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now