About Me

New Delhi, Delhi, India
"If I were asked to give what I consider the single most useful bit of advice for all humanity, it would be this: Expect trouble as an inevitable part of life, and when it comes, hold your head high. Look it squarely in the eye, and say, "I will be bigger than you. You cannot defeat me." E-Mail: dogra.rahul@gmail.com

Friday, September 21, 2007

Information about Administrator and User Passwords in Windows





If you set a computer for auto logon, anyone who can physically obtain access to the computer can gain access to all of the computer contents, including any network or networks it is connected to. In addition, if you enable autologon, the password is stored in the registry in plaintext. The specific registry key that stores this value is remotely readable by the Authenticated Users group.

As a result, this setting is only appropriate for cases where the computer is physically secured, and steps have been taken to ensure that untrusted users cannot remotely access the registry.

1. Start/Run/Regedit, and then locate the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon


2. Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.


3. Double-click the DefaultPassword entry, type your password, and then click OK.NOTE: The DefaultPassword value may not exist. If it does not:a. Click Add Value on the Edit menu.b. In the Value Name box, type DefaultPassword, and then click REG_SZ for the Data Typec. Type your password in the String box, and then save your changes.Also, if no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), thus disabling the AutoAdminLogon feature.


4. Click Add Value on the Edit menu, enter AutoAdminLogon in the Value Name box, and then click REG_SZ for the Data Type.


5. Type "1" (without the quotation marks) in the String box, and then save your changes.


6. Quit Regedit.


7. Click Start, click Shutdown, and then click OK to turn off your computer.


8. Restart your computer and Windows. You are now able to log on automatically.NOTE: To bypass the AutoAdminLogon process, and to log on as a different user, hold down the SHIFT key after you log off or after Windows restarts.Note that this procedure only applies to the first logon. To enforce this setting for subsequent logoffs, the administrator must set the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\WinlogonValue: ForceAutoLogonType: REG_SZData: 1





Password Has Expired Message


Start/Programs/Administrative Tools/Local Security Policy/Account Policies/Password Policy. In the right pane, right click, properties, modify (use accordingly).

And Start/Programs/Administrative Tools/Computer Management/Local Users and Groups/Right Click "User"(intended)/Properties...Or with Admin privileges, at a command prompt type: net accounts /maxpwage:unlimited.




Create a Shortcut to Lock Computer
Right click a blank space on the desktop, select new, shortcut. Copy and Paste this line: "rundll32.exe user32.dll,LockWorkStation" in the program location box. Click next and create a name for your shortcut, click finish.




Lock the Taskbar
This restriction is used to force the locking of the taskbar and restrict users from making any changes to its position. Start/Run/Regedit: Navigate to this key and create a new DWORD value, or modify the existing value, called 'LockTaskbar' and edit the value according to the settings below. Exit your registry, you may need to restart or log out of Windows for the change to take effect.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]


Value Name: LockTaskbar


Data Type: REG_DWORD (DWORD Value)


Value Data: (0 = Unlocked, 1 = Locked)

No comments:

Search: Powered by GOOGLE

Google