I have scripted NoWelcome.bat to hide user names on the Windows XP Welcome screen.
The syntax for using NoWelcome.bat is:
NoWelcome User1 \[User2 . . . UserN\]
Where only the first user name is required.
NoWelcome.bat contains:
@echo off setlocal if \{%1\}\{\} goto syntax ( @echo REGEDIT4 @echo. @echo \[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList\] )>"%TEMP%\NoWelcome.tmp" :loop if \{%1\}
\{\} goto finish set user=%1 shift set user=%user:"=% @echo "%user%"=dword:00000000>>"%TEMP%\NoWelcome.tmp" goto :loop :finish @echo.>>"%TEMP%\NoWelcome.tmp" @echo.>>"%TEMP%\NoWelcome.tmp" regedit /s "%TEMP%\NoWelcome.tmp" del /q "%TEMP%\NoWelcome.tmp" endlocal goto :EOF :syntax @echo Syntax: NoWelcome User1 \[User2 . . . UserN\] endlocal
0 comments
Hide comments