21 Sept 2009

Auto login in Windows XP Pro

If you set a computer for automatic logon, anyone who can physically gain access to the computer can also gain access to everything that is on the computer, including any network or networks that the computer is connected to. Additionally, if you turn on automatic logon, the password is stored in the registry in plain text. The specific registry key that stores this value is remotely readable by the Authenticated Users group. Therefore, only use this setting if the computer is physically secured and if you make sure that users who you do not trust cannot remotely see the registry.

You can use Registry Editor to add your log on information. To do this, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
  4. Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.

    If there is no DefaultPassword value, create the value. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type DefaultPassword as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type your password in the Value Data box.
    If no DefaultPassword string is specified, Windows XP automatically changes the value of the AutoAdminLogon registry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature.
  5. Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.

    If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps:
    1. In Registry Editor, click Edit, click New, and then click String Value.
    2. Type AutoAdminLogon as the value name, and then press ENTER.
    3. Double-click the newly created key, and then type 1 in the Value Data box.
  6. Quit Registry Editor.
  7. Click Start, click Restart, and then click OK.
After your computer restarts and Windows XP starts, you can log on automatically.

If you want to bypass the automatic logon to log on as a different user, hold down the SHIFT key after you log off or after Windows XP restarts. Note that this procedure applies only to the first logon. To enforce this setting for future logoffs, the administrator must set the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Value:ForceAutoLogon
Type: REG_SZ
Data: 1
You can also use turn on automatic logon without editing the registry in Microsoft Windows XP Home Edition and in Microsoft Windows XP Professional on a computer that is not joined to a domain. To do this, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type control userpasswords2, and then click OK.

    Note When users try to display help information in the User Accounts window in Windows XP Home Edition, the help information is not displayed. Additionally, users receive the following error message:
    Cannot find the Drive:\Windows\System32\users.hlp Help file. Check to see that the file exists on your hard disk drive. If it does not exist, you must reinstall it.
  3. Clear the "Users must enter a user name and password to use this computer" check box, and then click Apply.
  4. In the Automatically Log On window, type the password in the Password box, and then retype the password in the Confirm Password box.
  5. Click OK to close the Automatically Log On window, and then click OK to close the User Accounts window.

20 Sept 2009

Change IP of JetDirect 170X - Howto

If JetDirect 170x has been used on a real network then the address will almost certainly have been changed. You can get it back to the default address by doing a cold reset. Unplug the power cord, then hold down the TEST button for 5 to 30 seconds while plugging in the power cord. The default address after reset is 192.0.0.192 so you need a crossover cable if you are plugging the JetDirect into a PC, and a normal cable if using hub or switch.

How to check the current IP: attach a PCL compatible printer, press the test button on the 170X and this should tell you what IP address the 170X currently has.


Change IP (You may can not see what you typed in telnet windows but don't worry just go ahead. It will be displayed after you press Enter :-))

C:\> telnet 10.50.100.8
Trying 10.50.100.8...
Connected to 10.50.100.8.
Escape character is '^]'.
HP JetDirect
Please type "?" for HELP, or "/" for current settings
> /
===JetDirect Telnet Configuration===
Firmware Rev.   : F.08.20
MAC Address     : 00:01:e6:28:03:e0
Config By       : USER SPECIFIED 
IP Address      : 10.50.100.8
Subnet Mask     : 255.255.255.0
Default Gateway : 10.50.100.82
Syslog Server   : Not Specified
Idle Timeout    : 90 Seconds
Set Cmnty Name  : Not Specified
Host Name       : Not Specified
DHCP Config     : Disabled 
Passwd          : Disabled 
IPX/SPX         : Disabled 
DLC/LLC         : Disabled 
Banner page     : Enabled 
> ?
To Change/Configure Parameters Enter: 
Parameter-name: value 
Parameter-name  Type of value 
ip:             IP-address in dotted notation 
subnet-mask:    address in dotted notation (enter 0 for default) 
default-gw:     address in dotted notation (enter 0 for default) 
syslog-svr:     address in dotted notation (enter 0 for default) 
idle-timeout:   seconds in integers 
set-cmnty-name: alpha-numeric string (32 chars max) 
host-name:      alpha-numeric string (upper case only, 32 chars max) 
dhcp-config:    0 to disable, 1 to enable 
allow:           [mask] (0 to clear, list to display, 10 max) 
addrawport:      ( 3000-9000) 
deleterawport:    
listrawport:    (No parameter required) 
ipx/spx:        0 to disable, 1 to enable 
dlc/llc:        0 to disable, 1 to enable 
banner:         0 to disable, 1 to enable 
Type passwd to change the password.
Type "?" for HELP, "/" for current settings or "quit" to save-and-exit.
Or type "exit" to exit without saving configuration parameter entries 

Let's change the IP address, subnet mask, and default gateway:
> ip: 10.50.100.9
> subnet-mask: 255.255.255.0
> default-gw: 10.50.100.8

Type quit to save the changes:

> quit
===JetDirect Parameters Configured===
IP Address      : 10.50.100.9
Subnet Mask     : 255.255.255.0
Default Gateway : 10.50.100.82
Syslog Server   : Not Specified
Idle Timeout    : 90 Seconds
Set Cmnty Name  : Not Specified
Host Name       : Not Specified
DHCP Config     : Disabled
Passwd          : Disabled
IPX/SPX         : Disabled
DLC/LLC         : Disabled
Banner page     : Enabled
User Quitting
Connection closed by foreign host.

Test the new configuration:

C:\> telnet 10.50.100.9
Trying 10.50.100.9...
Connected to 10.50.100.9.
Escape character is '^]'.
HP JetDirect
Please type "?" for HELP, or "/" for current settings
>

Total Pageviews