Users sometimes get hung up with there Juniper Network Connect Client so I wrote this batch file to uninstall all fofthe setup client files and remove the dsncadpt using devcon.exe.
Devcon.exe download location: http://support.microsoft.com/kb/311272
Here is the text for a creation of a batch file add the devcon and batch file in same location. You can keep adding the client file locations using the method below.
If not exist "C:\Program Files\Juniper Networks\Network Connect 6.3.0\uninstall.exe" goto 530
"C:\Program Files\Juniper Networks\Network Connect 6.3.0\uninstall.exe"
:530
If not exist "C:\Program Files\Juniper Networks\Network Connect 5.3.0\uninstall.exe" goto 540
"C:\Program Files\Juniper Networks\Network Connect 5.3.0\uninstall.exe"
:540
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Setup\uninstall.exe" goto 550
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Setup\uninstall.exe"
:550
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Host Checker\uninstall.exe" goto 560
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Host Checker\uninstall.exe"
:560
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 6.3.0\uninstall.exe" goto 570
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 6.3.0\uninstall.exe"
:570
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 5.3.0\uninstall.exe" goto 580
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 5.3.0\uninstall.exe"
:580
If not exist "C:\Documents and Settings\Default User\Application Data\Juniper Networks\Setup\uninstall.exe" goto 590
"C:\Documents and Settings\Default User\Application Data\Juniper Networks\Setup\uninstall.exe"
:590
If not exist "C:\Documents and Settings\Default User\Application Data\Juniper Networks\Host Checker\uninstall.exe" goto 600
"C:\Documents and Settings\Default User\Application Data\Juniper Networks\Host Checker\uninstall.exe"
:600
If not exist "C:\Documents and Settings\Default User\Application Data\Juniper Networks\Cache Cleaner 6.3.0\uninstall.exe" goto 610
"C:\Documents and Settings\Default User%\Application Data\Juniper Networks\Cache Cleaner 6.3.0\uninstall.exe"
:610
If not exist "C:\Documents and Settings\Default User\Application Data\Juniper Networks\Cache Cleaner 5.3.0\uninstall.exe" goto 620
"C:\Documents and Settings\Default User%\Application Data\Juniper Networks\Cache Cleaner 5.3.0\uninstall.exe"
:620
If not exist "C:\Program Files (x86)\Juniper Networks\Network Connect 6.5.0\uninstall.exe" goto 630
"C:\Program Files (x86)\Juniper Networks\Network Connect 6.5.0\uninstall.exe"
:630
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Setup Client\uninstall.exe" goto 640
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Setup Client\uninstall.exe"
:640
If not exist "C:\Documents and Settings\mcqueesl\Application Data\Juniper Networks\Setup Client\uninstall.exe" goto 650
"C:\Documents and Settings\mcqueesl\Application Data\Juniper Networks\Setup Client\uninstall.exe"
:650
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 6.4.0\uninstall.exe" goto 660
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 6.4.0\uninstall.exe"
:660
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 6.5.0\uninstall.exe" goto 670
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Cache Cleaner 6.5.0\uninstall.exe"
:670
If not exist "C:\Documents and Settings\%username%\Application Data\Juniper Networks\Setup Client\uninstall.exe" goto 680
"C:\Documents and Settings\%username%\Application Data\Juniper Networks\Setup Client\uninstall.exe"
:680
If not exist "C:\Documents and Settings\Default User\Application Data\Juniper Networks\Cache Cleaner 6.4.0\uninstall.exe" goto 690
"C:\Documents and Settings\Default User\Application Data\Juniper Networks\Cache Cleaner 6.4.0\uninstall.exe"
:690
If not exist "C:\Documents and Settings\Default User\Application Data\Juniper Networks\Setup Client\uninstall.exe" goto 700
"C:\Documents and Settings\Default User\Application Data\Juniper Networks\Setup Client\uninstall.exe"
:700
If not exist "C:\Program Files\Juniper Networks\Network Connect 6.5.0\uninstall.exe" goto 710
"C:\Program Files\Juniper Networks\Network Connect 6.5.0\uninstall.exe"
:710
cd \
cd "C:\WINDOWS\Downloaded Program Files>"
JuniperSetupClientCtrlUninstaller.exe
cd \
cd C:\Documents and Settings\All Users\Start Menu\Programs"
devcon.exe remove hwids dsncadpt
After the batch files runs it will uninstall all the client files and remove the devcon driver for you.
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.