Author: nextgens Date: 2007-04-21 14:38:11 +0000 (Sat, 21 Apr 2007) New Revision: 12841
Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd Log: new_installer: hide the freenet user from the welcome screen on windows; thanks to FuriousRage for the tip (http://www.intelliadmin.com/blog/2006/09/hide-user-accounts-from-windows-xp.html) Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd =================================================================== --- trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd 2007-04-21 14:11:41 UTC (rev 12840) +++ trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd 2007-04-21 14:38:11 UTC (rev 12841) @@ -51,6 +51,14 @@ @net user freenet %PASSWORD% /add /comment:"this user is used by freenet: do NOT delete it!" /expires:never /passwordchg:no /fullname:"Freenet dedicated user" > NUL @echo wrapper.ntservice.password=%PASSWORD%>> wrapper.conf + at echo - Hiding the freenet user from the login screen + at echo "Registering .fref file extension" + at echo Windows Registry Editor Version 5.00 >> hide_user.reg + at echo [HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList] >> hide_user.reg + at echo "freenet"=dword:00000000 >> hide_user.reg + at regedit /s hide_user.reg > NUL + at del /F hide_user.reg > NUL + @echo - Tweaking the permissions of the freenet user :: yes it belongs to the ressource kit... But the licence specifies that it's redistribuable. @bin\ntrights.exe -u freenet +r SeServiceLogonRight > NUL
