The Welcome screen is available on Window XP Home Edition and on Window XP Professional Edition that is NOT joined to a domain.
The Welcome screen may display the number of unread e-mails next to each user, if their e-mail program updates the information.
I have scripted UnreadMail.bat, which runs from an Administrator's logon, without any parameters, to remove the count of unread emails and prevent the programs from posting it.
NOTE: UnreadMail.bat uses the corrected version of SubInAcl.exe, which must be installed in a folder that is in your PATH.
UnreadMail.bat contains:
@echo off setlocal for /f "tokens=*" %%a in ('reg query HKEY_USERS^|find "\"^|find /I /V "_Classes"') do ( call :doit %%a>nul 2>&1 ) endlocal goto:EOF :doit set key=%1\Software\Microsoft\Windows\CurrentVersion\UnreadMail set OK=N for /f "Tokens=*" %%x in ('reg query %key%^|find /i "HKEY_USERS\"') do ( set OK=Y ) if "%OK%" EQU "N" goto :EOF reg delete %key% /f reg add %key% /f subinacl /nostatistic /keyreg %key% /grant=System=R
0 comments
Hide comments