fixem2 Posted January 12, 2009 Posted January 12, 2009 Can someone identify or point me in the direction to set the connections displayed in the tray when connected option, for all network connectiions?
Ponch Posted January 12, 2009 Posted January 12, 2009 There is no such option in nLite. I think you should post that in the XP or in the "Unattended Windows" forum.
johnhc Posted January 12, 2009 Posted January 12, 2009 fixem2, I use this batch file that I found here in the forum via a search - try it, searching that is. I run the batch file out of RunOnce. Enjoy, John. @ECHO OFFSETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONFOR /F "TOKENS=1 DELIMS= " %%A IN ('REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}') DO (SET TEMP1=%%ASET TEMP2=!TEMP1:~99,38!SET TEMP3=!TEMP2:~-1!IF "!TEMP3!"=="}" (IF NOT "!TEMP2!"=="{4D36E972-E325-11CE-BFC1-08002BE10318}" ( SET REGSTR1=HKLM\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\!TEMP2!\Connection SET REGSTR2=HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\!TEMP2! REG ADD !REGSTR1! /v ShowIcon /t REG_DWORD /d 1 /f REG ADD !REGSTR2! /v IPAutoconfigurationEnabled /t REG_DWORD /d 0 /f)))
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now