Enable ICMP request through Windows Server 2008 firewall

With Windows Server 2008, the server firewall setting will be very different with Windows Server 2003 or earlier version.

As many people do not know how to enable or disable some port or IP as Windows Server 2008 do come with Windows Firewall with advance setting. You may actually run the following command from your command prompt.

1. Open command prompt (cmd).
2. Enter the following command,
netsh firewall set icmpsetting 8

Otherwise, you may use the following step.
1. Open Run command.
2. Run firewall.cpl and enter.
3. Select with Windows Firewall with additional security.
4. Enable “file and printer sharing (ICMP requestv4)”

Additional note, you may disable it by typing the following line.
netsh firewall set icmpsetting 8 disable

How to uninstall Windows 7 Service Pack 1 (SP1) Beta

If you read the Windows News recently, Windows 7 and Windows Server 2008 R2 SP 1 have been release with BETA version.

Since it is a BETA version and you might get tons of bugs and unwanted material, you may just uninstall it from your machine.

Basically there are two ways to remove the SP1 BETA from Windows 7.
1. Remove through Control Panel.
2. Remove through command line.

Remove through control panel
1. Firstly, go to your control panel and search for Programs and Features.
2. Click on “View installed upgrade”.
3. Uninstall the term “Service Pack for Microsoft Windows (KB976932)”.

Remove through command line
1. Open cmd(command prompt) with Administrator right.
2. Run “wusa.exe /uninstall /kb:976932”

Reset MySQL 5.1 Root password

Sometimes you might want to reset your used password since it is used for long time.

To reset MySQL database password, you may need to consider different Operating System and it’s version will have minor differences during the root password reset.

Today, Mick Genie will guide you how to reset MySQL database v5.1  through Windows Operating System and Linux Operating System.

For Windows Operating System,
1. Firstly, create a text file and name it as resetpassword.txt and you may save it to C drive.
2. Enter the following word to your text file.

UPDATE mysql.user SET Password=PASSWORD('[email protected]') WHERE User='root';
FLUSH PRIVILEGES;

Continue reading Reset MySQL 5.1 Root password

Reboot Server within a network in Windows Platform

Do you ever try to reboot or shut down a server/PC within a network?

The mystery from Microsoft have done if you are running with administrator role, just try to the command as below if you could like to reboot/shutdown.

1. Open command prompt by Press Windows+R and type in cmd.
2. Type in “shutdown /m \\computername /r” if you could like to reboot.

The General format was as below:

shutdown \\computername /l /a /r /t:xxmsg” /y /c

  • \\computername: Use this switch to specify the remote computer to shut down. If you omit this parameter, the local computer name is used.
  • /l (Note that this is a lowercase “L” character): Use this switch to shut down the local computer
  • /a: Use this switch to quit a shutdown operation. You can do this only during the time-out period. If you use this switch, all other parameters are ignored.
  • /r: Use this switch to restart the computer instead of fully shutting it down.
  • /t:xx: Use this switch to specify the time (in seconds) after which the computer is shut down. The default is 20 seconds.
  • msg: Use this switch to specify a message during the shutdown process. The maximum number of characters that the message can contain is 127.
  • /y: Use this switch to force a “yes” answer to all queries from the computer.
  • /c: Use this switch quit all running programs. If you use this switch, Windows forces all programs that are running to quit. The option to save any data that may have changed is ignored. This can result in data loss in any programs for which data is not previously saved.

Within the above description you may force all of the query and etc from the command to reboot/shutdown a server/PC.

Have fun.

Article from: http://support.microsoft.com/kb/317371