30 Sept 2009

How to Enable Remote Desktop Remotely

1. Run Regedit
2. Select File | Connect Network Registry
3. Enter the name of the remote computer and select Check Names
4. Go to hklm\system\currentcontrolset\control\terminal server\FdenyTSConnection=1
5. Change the FdenyTSConnection to 0

Now you should be able to connect to the remote computer using Remote Desktop.

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
>

7 Sept 2009

BlackBerry activation

 
BlackBerry smartphones that have a BlackBerry® Enterprise Server and/or BlackBerry® Internet Service data plan from the wireless service provider can be activated on the BlackBerry Enterprise Server Express 5.0 SP1 to 5.0 SP2.
Before attempting an activation, use the BlackBerry Expert Support Center (BESC) Enterprise Activation tool to identify which activation methods are available for the BlackBerry smartphone. For information about how to access and use the BlackBerry Expert Support Center Enterprise Activation Readiness tool, see KB21140.

Note: BlackBerry smartphones cannot be activated over the wireless network or the organization's Wi-Fi® network if they have a data plan for BlackBerry Internet Service only.

Depending on the recommendations from the BlackBerry Expert Support Center Enterprise Activation Readiness tool, the following are methods to assign and activate BlackBerry smartphones to BlackBerry smartphone user accounts:

# Method Activation Transport Description
1 BlackBerry Administration Service Wired To activate BlackBerry smartphones before distributing them to BlackBerry smartphone users by connecting the BlackBerry smartphones to a computer and logging in to the BlackBerry Administration Service.
2 Over the wireless network Wireless New and existing BlackBerry smartphone users can activate their BlackBerry smartphones without requiring a physical connection to the organization's network.
Note: BlackBerry smartphones that have a data plan for BlackBerry Internet Service only cannot be activated over the wireless network.
3 Over the local area network (LAN) Wired New and existing BlackBerry smartphone users can activate their BlackBerry smartphones by connecting them to a computer that has the BlackBerry® Desktop Manager installed and is connected to the organization's network.
4 BlackBerry® Web Desktop Manager Wired New and existing users can activate their BlackBerry smartphones by connecting their BlackBerry smartphones to a computer and visiting the BlackBerry Web Desktop Manager web site.
5 Over the organization's Wi-Fi network Wireless To activate Wi-Fi enabled BlackBerry smartphones over an organization's Wi-Fi network.
Note: BlackBerry smartphones that have a data plan for BlackBerry Internet Service only cannot be activated over the organization's Wi-Fi network.


Option 1: Activate a BlackBerry smartphone using the BlackBerry Administration Service (Wired)
Requirements: The BlackBerry smartphone must have an active BlackBerry Enterprise Server and/or BlackBerry Internet Service data plan with the wireless service provider.

Note: This method allows administrators to activate BlackBerry smartphones for multiple users.

  1. Connect the BlackBerry smartphone to a computer that can access the BlackBerry Administration Service.
  2. Log in to the BlackBerry Administration Service.
  3. On the Devices menu, expand Attached devices.
  4. Click Manage current device.
  5. Click Assign current device.
  6. Search for a BlackBerry smartphone user account.
  7. In the search results, click the display name for a BlackBerry smartphone user account.
  8. Click Associate user.
  9. Click Assign current device.
 (CCH Notes -----
  1. Connect UBS cable to port on server, wait until device recognized by server.
  2. Open Blackberry Manager software.
  3. Select ‘Add user’, from popup window enter users name and select.
  4. New user will appear on list ‘initializing’ wait a few moments for server to start routine.
  5. Highlight and Right Click new user, select ‘assign device’ popup window will display connected device PIN, choose select.
  6. After brief pause, PIN should appear next to user on server list.
  7. Highlight and Right click new user, from list select ‘resend service book, and ‘resend IT policy’.
  8. After a few minutes you should see the device being updated.
  9. Wait until the server (next to new user) shows that the device has been contacted. (this should be date/time similar to other users)
  10. On the device you should get the message ‘Enterprise Activation Completed’.
  11. Device should now be upto date and ready to use.
 )

 
Option 2: Activate a BlackBerry smartphone over the wireless network (Wireless)
Requirements: The BlackBerry smartphone must have an active BlackBerry Enterprise Server data plan with the wireless service provider.

To activate a BlackBerry smartphone over the wireless network, an administrator must assign an activation password to the BlackBerry smartphone user account. The BlackBerry smartphone user then activates the BlackBerry smartphone using the desired email address and the provided activation password.

To send an activation password to a BlackBerry smartphone user, complete the following steps:

  1. In the BlackBerry Administration Service, on the BlackBerry solution management menu, expand User.
  2. Click Manage users.
  3. Search for a user account.
  4. In the search results, click the display name for the BlackBerry smartphone user account.
  5. In the Device activation list, click Specify activation password.
  6. In the Activation password and Confirm password fields, type an activation password.
    Note: The password must not contain special characters. Some BlackBerry smartphones do not support special characters and do not unlock when a BlackBerry smartphone user types a password that contains special characters.
  7. In the Password expiration (hours) field, type the amount of time that can elapse before the activation password expires.
  8. Click Specify activation password.
The BlackBerry smartphone user can start the wireless activation process after receiving the password by completing the following steps:
For BlackBerry Device Software 4.1 to 5.0:
  1. On the BlackBerry smartphone, click Options > Advanced Options > Enterprise Activation.
  2. Enter the email address associated with the BlackBerry smartphone user account in the Email field.
  3. Enter the Activation Password provided by the administrator.
  4. Press the Menu key and select Activate.
For BlackBerry 6:
  1. On the BlackBerry smartphone, click Options > Device > Advanced System Settings > Enterprise Activation.
  2. Enter the email address associated with the BlackBerry smartphone user account in the Email field.
  3. Enter the Activation Password provided by the administrator.
  4. Press the Menu key and select Activate.
Note: A BlackBerry smartphone cannot be activated over the wireless network or over the organization's Wi-Fi network if the BlackBerry smartphone has a data plan for BlackBerry Internet Service only.
Option 3: Activate a BlackBerry smartphone over the LAN (Wired)
Requirements: The BlackBerry smartphone must have BlackBerry Enterprise Server and/or BlackBerry Internet Service data plan.

BlackBerry smartphone users can activate BlackBerry smartphones by connecting them to a computer that has the BlackBerry Desktop Manager installed. The BlackBerry Desktop Manager must be configured with the BlackBerry smartphone users' work email account and a network connection to the BlackBerry Enterprise Server Express must be present. During the activation process, the BlackBerry Desktop Manager prompts users to associate the BlackBerry smartphone with their work email account and to generate encryption keys.

To activate a BlackBerry smartphone using the BlackBerry Desktop Manager, complete the following steps:

  1. Install BlackBerry Desktop Manager on the BlackBerry smartphone user's computer.
  2. Connect the BlackBerry smartphone.
  3. Generate a encryption key when prompted to start the activation process.
Option 4: Activate a BlackBerry smartphone using the BlackBerry Web Desktop Manager (Wired)
Requirements: The BlackBerry smartphone must have an active BlackBerry Enterprise Server and/or BlackBerry Internet Service data plan with the wireless service provider.

BlackBerry smartphone users can activate BlackBerry smartphones by connecting them to a computer using a USB cable or Bluetooth® connection and logging in to the BlackBerry Web Desktop Manager. During the activation process, the BlackBerry Web Desktop Manager prompts users to associate the BlackBerry smartphone with their email accounts and to generate encryption keys. Once the activation process has started, the BlackBerry Enterprise Server Express begins to reconcile email messages and synchronize organizer data through the wired connection. If the wired connection is interrupted, the activation will continue over the wireless or Wi-Fi network.

To activate a BlackBerry smartphone using the BlackBerry Web Desktop Manager, complete the following steps:

  1. Log in to the BlackBerry Web Desktop Manager.
  2. Connect the BlackBerry smartphone.
  3. Generate an encryption key when prompted to start the activation process.
Option 5: Activate a BlackBerry smartphone over an enterprise Wi-Fi network (Wireless)
Requirements: The BlackBerry smartphone must have an active BlackBerry Enterprise Server data plan with the wireless service provider.

BlackBerry smartphone users can activate Wi-Fi enabled BlackBerry smartphones over an enterprise Wi-Fi network in environments that have the following characteristics:

  • BlackBerry smartphones can connect to their organization's Wi-Fi network but cannot connect to the wireless network.
  • BlackBerry smartphone users did not install the BlackBerry Desktop Manager on their computers.
To activate BlackBerry smartphones over an enterprise Wi-Fi network, configure the BlackBerry Router as a Simple Mail Transfer Protocol (SMTP) client. For information on how to configure the BlackBerry Router, see the BlackBerry Enterprise Server Express 5.0 SP1 Administration Guide.

Note: BlackBerry smartphones that have a data plan for BlackBerry Internet Service only cannot be activated over an organization's Wi-Fi network.

Firebox users can not see internet

Sympton
Users of LAN behind the firebox can not see the internet even they receive the correct IP, gateway and DNS. Until the https connection is established the internet access is working properly.
Solution:
Firebox Users - Firebox User Settings - Configure - Uncheck Require user authentication (enable .....)

MSTSC and RDP

MSTSC is RDP actually ;-)

What is the difference between MSTSC and RDP?

No difference
if target is XP or Vista
If you append /console in RRP client, that's the same as MSTSC /console


..and difference if targeting Win2003, /console connects you with the interactive session of that server, while without /console you will get a separate session.

Syntax
MSTSC option
MSTSC /Edit"ConnectionFile"
MSTSC /migrate

Options
ConnectionFile: the name of an RDP file for connection

/v: The remote computer to connect to

/console Connect to the console of a server (NT/XP)
/Admin Connect to a session for administering the server(Vista/2008)

/f Start in Full Screen mode

/w:width Width of the RDP screen
/h:height Height of the RDP screen

/span Match the Remote Desktop width and height with the local virtual
desktop, spanning across multiple monitors if necessary.(Vista/2008)

/public Run Remote Desktop in public mode. (Vista/2008)
In public mode, passwords and bitmaps are not cached.

/edit Open the RDP file for editing.
/migrate Convert a legacy Client connection file into an .RDP file

The /console option only works when connecting to an Windows XP Professional or Windows Server 2003 computer. When connected to a remote desktop, the key combination Ctrl-Alt-END will send Ctrl-Alt-Del to the remote client.

Examples:

MSTSC /v:MyServer /f /console
MSTSC /v:127.0.0.1 /w:1024 /h:768
MSTSC /v:MyServer /w:800 /h:600
MSTSC /edit filename.rdp


FSMO Roles

FSMO roles
1. Schema Master
2. Domain naming master
3. Infrastructure Master
4. Relative ID (RID) Master
5. PDC Emulator

Transfer roles
Transferring the Schema Master
1. Register the Schmmgmt.dll library by pressing Start > RUN and typing:
regsvr32 schmmgmt.dll
2. Press OK. You should receive a success confirmation.
3. From the Run command open an MMC Console by typing MMC.
4. On the Console menu, press Add/Remove Snap-in.
5. Press Add. Select Active Directory Schema.
6. Press Add and press Close. Press OK.
7. If you are NOT logged onto the target domain controller, in the snap-in, right-click the Active Directory Schema icon in the Console Root and press Change Domain Controller.
8. Press Specify .... and type the name of the new role holder. Press OK.
9. Right-click right-click the Active Directory Schema icon again and press Operation Masters.
10. Press the Change button.
11. Press OK all the way out.

Domain Naming Master

1. Open the Active Directory Domains and Trusts snap-in from the Administrative Tools folder.
2. If you are NOT logged onto the target domain controller, in the snap-in, right-click the icon next to Active Directory Domains and Trusts and press Connect to Domain Controller.
3. Select the domain controller that will be the new role holder and press OK.
4. Right-click the Active Directory Domains and Trusts icon again and press Operation Masters.
5. Press the Change button.
6. Press OK to confirm the change.
7. Press OK all the way out.


Domain-Specific RID Master
PDC Emulator
Infrastructure Master

1. Open the Active Directory Users and Computers snap-in from the Administrative Tools folder.
2. If you are NOT logged onto the target domain controller, in the snap-in, right-click the icon next to Active Directory Users and Computers and press Connect to Domain Controller.
3. Select the domain controller that will be the new role holder, the target, and press OK.
4. Right-click the Active Directory Users and Computers icon again and press Operation Masters.
5. Select the appropriate tab for the role you wish to transfer and press the Change button.
6. Press OK to confirm the change.
7. Press OK all the way out.

Total Pageviews