In tip 7753, I documented How do I hide Outlook Express icons if I have already rolled out Windows 2000 SP4 or Internet Explorer 6?
In tip 7754, I documented How do I hide the Outlook Express icons on my Windows XP clients?
I have scripted HideOE.bat that you can call in a logon script.
The syntax for using HideOE.bat is:
call <PathToHideOE.bat>
where <PathToHideOE.bat> is the fully qualified path to the HideOE.bat file, as in call %LOGONSERVER%\NETLOGON\HideOE.bat
HideOE.bat contains:
@echo off setlocal set cv="%TEMP%\$$CV.reg" set sys32=%SystemRoot%\system32 regedit /a %cv% "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" for /f "Tokens=1,2 Delims==" %%u in ('type %cv% ^|Findstr /l "5.0 5.1"^|Findstr /i /l CurrentVersion') do ( if %%u EQU "CurrentVersion" call :ver %%v ) del /q %cv% endlocal goto :EOF :ver set version=%1 set version=%version:"=% if "%version:~0,3%" EQU "5.0" "%Sys32%\rundll32.exe" "%Sys32%\shell32.dll",OCInstall HideOE if "%version:~0,3%" EQU "5.1" "%Sys32%\shmgrate.exe" OCInstallHideOE
0 comments
Hide comments