Jump to content

Internet Connection Wizard


Recommended Posts

I have a problem disabling the Internet Connection Wizard under my unattended Win2k Pro installation

i have tried the following reg tweaks to remove it:

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Control Panel] Connection Wizard

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Control Panel] Connwiz Admin Lock

they have been set by a DWORD value of 1 :)

i have tried using them at the same time and only 1 of the time, but the wizard still pops up :realmad:

the internet Explorer is Version 6

if any off you has any suggestions please tell me so :) im all out of ideas now

Link to comment
Share on other sites


Removing Internet Connection Wizard from Windows 2000 Professional deployments :

During the installation this value :

"^SetupICWDesktop : REG_SZ : C:\Program Files\Internet Explorer\Connection Wizard\icwconn1.exe /desktop"

is added in key :

HKEY_USERS\%UserName%\Software\Microsoft\Windows\CurrentVersion\Runonce

M$ KB 250380 : How to remove Internet connection Wizard Icons from the Desktop in Windows 2000

Each time a new user log for the first time an "Internet Connection Wizard" desktop icon is created.

To remove this annoying "Connect to the Internet.LNK" on desktop from the current profile :

launch from cmdlines.txt (T12)

".\icw.cmd"

icw.cmd

ECHO OFF
REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v "^SetupICWDesktop" /t REG_SZ /d "||icwconn1.exe /restoredesktop" /f

this batch can't be launched at T12, there's is no LoggedOn %USERNAME% and %COMPUTERNAME% is not defined. Launch it from command line (not unattended) or through GuiRunOnce.

ICWoff.cmd

@ECHO OFF
:: SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

:: ==========================================================================
:: =  Portions of accompanying executable files (C) Microsoft Corporation   =
:: =  This includes:                                                        =
:: =  REG v2.0 Registry Console Tool For Windows 2000                       =
:: =  Portions of accompanying executable files (C) Sysinternals            =
:: =  http://www.sysinternals.com/ntw2k/freeware/pstools.shtml              =
:: =  PsLoggedOn v1.31 Logon Session Displayer                              =
:: =  PsGetSid v1.41 Translates SIDs to names and vice versa                =
:: =  EXEs should be copied onto your executable path ie %windir%\system32  =
:: =                                                                        =
:: =                                                                        =
:: =  Set Internet Connection Wizard to completed for the logged on user.   =
:: =                                                                        =
:: =  Registry Key HKCU\Software\Microsoft\Internet Connection Wizard       =
:: =  Completed binary value is changed from 00 to 01                       =
:: =  DesktopChanged dword value is changed from 0 to 1                     =
:: =                                                                        =
:: ==========================================================================

psloggedon -l %LOGONSERVER% | find /V "SMS" |find "\" >%TEMP%\%~n0.logon.tmp
for /F "tokens=1,2,3" %%k in (%TEMP%\%~n0.logon.tmp) do set mUser=%%m

psgetsid %mUser% | find "S-"> %TEMP%\%~n0.getsid.tmp
for /F %%k in (%TEMP%\%~n0.getsid.tmp) do set mSid=%%k

set mKey="HKU\%mSid%\Software\Microsoft\Internet Connection Wizard"

reg add %mKey% /v "Completed" /t REG_BINARY /d "01000000" /f
reg add %mKey% /v "Desktopchanged" /t REG_DWORD /d "1" /f

GOTO EOF


:EOF
if exist %TEMP%\%~n0.*.tmp del %TEMP%\%~n0.*.tmp
set mKey=
set mUser=
set mSid=

Link to comment
Share on other sites

These batches has been checked on Windows 2000 Professional MUI (English installation + French Language Pack). You don't need to understand French bur my poor english ;)

the first one icw.cmd owerwrites the value in registry key

"C:\Program Files\Internet Explorer\Connection Wizard\icwconn1.exe /desktop"

by

"||icwconn1.exe /restoredesktop"

the original command do desktop icon

the new command remove desktop icon

the second one ICWoff.cmd is self documented :

Set Internet Connection Wizard to completed for the logged on user

The first time you click on Internet Explorer icon after installation, you should normally have the Internet Connection wizard launched and have to answer to a few questions.

When you run the second batch, when you click on Internet Explorer icon, IE is launched.

To run the second batch you will need to :

download 2 freeware tools :

PsGetSid - display the SID of a computer or a user

PsLoggedOn - see who's logged on locally and via resource sharing

extract REG.EXE from support.cab file on your Windows 2000 source CD

Registry Console Tool For Windows 2000 - version 2.0

put the 3 tools in %windir%\system32

NOTE: You must have Administrative privileges or at least ability to have access to allow registry changes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...