Saturday, October 18, 2008

Ubuntu: Lock screen when lapto lid closed

In terminal :
sudo gconf-editor

In gconf-editor:
/apps/gnome-power-manager/lock/blank_screen -tick the box

Tuesday, September 18, 2007

Hide user accounts and set login time in WinXP

How to hide inactive accounts from login screen

  • Open registry by running “regedit” command in run box.
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
  • Check if the same account name exists, If yes Double click on it and set the value to "1" to show it or "0" to hide it.
  • If not, right click and create a New > DWORD.
  • Give it the exact name as the users account name, and set the value as "0" or "1" as explained above.
How to control the login time of a user account

  • Go to run box
  • Type “NET USER /TIME:M-F,08:00-17 :00” without the quotes. This will let the particular user to login from Monday to Friday (M-F) between 08:00 am to 5:00 pm .
  • If you want to revert it and allows user to login all the time use “ /NET USERTIME all
  • If you want that user never to loging just say “NET USER /TIME” i.e dont give anything after time and it will not allow user to login.
  • If you want to setup time intervals for different days as following: " NET USER /TIME:W,10am-5pm;T,2pm-3pm;F-Sa,9:00-16:00"
NOTE: the week days’ abbreviations are M, T, W, Th, F, Sa, Su.


Links: