Tuesday, May 13, 2014

How to add Desktop icons on Windows Server 2008 R2

It's so ignoring that in Windows server 2008, you cannot add desktop icon such as "My Computer" or "Control Panel" etc by just right click on desktop. If you right click on Windows server 2008's desktop, this is what you see,




Here is how to enable it,

1. click the "Server Manager" icon down at bottom left








2. In the right side of "Server Manager", scroll down and find and click on "Add Features"







.
3. From the "Add Features Wizard" check "Desktop Experience" and click Next button



4. Next you will need click on "Install" button to confirm and start the installation.





5. At last, you will get a prompt to restart the server.





6. After server rebooted, right click on your server's desktop again, you will find "Personalize" option is there now.




If you think this article is helpful, please recommend it on Google+1.



Outlook Freeze and not responding on Startup

Problem:
Recently, I found one of my client's Outlook is always stuck or freezing on startup. He cannot access to his email at all. No matter what he tried. 


Solution:
What I found out is that he is using ESET Smart Security 7, it has building Firewall function. So, after I disable the firewall function in ESET. Everything back to normal. So, be careful such Antivirus and Internet Security combined software. Sometime, it can be very ignoring. If you have similar outlook problem, it's a good idea to temporary disable your security software or antivirus software to see if there is a effect to your Outlook or not.  


Beware these software:

Norton Security
ESET Smart Security
Vipre Internet Security


Tuesday, October 1, 2013

Printing mirror imaging in Windows

To resolve the issue, turn off mirror imaging in Printer Preferences. To do this, use the following steps:

1.    Click Start and then Control Panel.

2.    If your computer is in category view, click Printers and Other Hardware, and then click Printers and Faxes. If your computer is in classic view, click Printers and Faxes.

3.    Right-click the HP product from the list of printers, and then select Properties. The Properties dialog box displays.

4.    From the General tab, click Printing Preferences. The Printing Preferences dialog box displays.

5.    Click the Advanced tab.

6.    Under Printer Features, click Mirror Image, click the down arrow ( ) to the right of the field, and then click Off.

7.    Click OK to apply the change

Tuesday, September 24, 2013

How to change Windows 7 product key with command line?

This method works with Windows Vist, Windows 7 and Windows 8



  1. Click on the Start Button and type: CMD (into the 'Search programs and files' field in the Start Menu)


  1. The Start Menu will show 'CMD.exe', 


  1. Right-click the CMD.exe file and select Run As Administrator.
























  1. In the CMD window, type: slmgr.vbs -ipk <type your product key here>


















  1. To activate windows after changing the key, type: slmgr.vbs -ato





How to change Windows XP Product Key

  1. Click on Start and then Run.





  2. In the text box in the Run window, type regedit and click OK. This will open the Registry Editor program.







  3. Locate the HKEY_LOCAL_MACHINE folder under My Computer and click on the (+) sign next the folder name to expand the folder.










  4. Continue to expand folders until you reach the HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\WPAEvents registry key.
  5. Click on the WPAEvents folder.
  6. In the results that appear in the window on the right, locate OOBETimer.







  7. Right-click on the OOBETimer entry and choose Modify from the resulting menu.







  8. Change at least one digit in the Value data text box and click OK. This will deactivate Windows XP.
    Feel free to close Registry Editor at this point.

  9. Click on Start and then Run.

  10. In the text box in the Run window, type the following command and click OK.
    %systemroot%\system32\oobe\msoobe.exe /a








  11. When the Let's activate Windows window appears, choose Yes, I want to telephone a customer service representative to activate Windows and then click Next.











  12. Click the Change Product Key button at the bottom of the window.
    Don't worry about filling anything out on this screen.












  13. Type your new, valid Windows XP product key in the New key: text boxes and then click the Update button.












  14. You should now reactivate Windows XP by following the instructions on the Activate Windows by phone window which you should now be seeing or via the Internet by clicking the Back button and following the instructions on that screen.
    If you'd rather postpone activating Windows XP until a later date, you can click the Remind me later button.
  15. After activating Windows XP, you can verify that activation was successful by repeating steps 9 and 10 above.
    The Windows Product Activation window that appears should say "Windows is already activated. Click OK to exit."

Monday, September 16, 2013

454 4.7.0 TLS not available due to local problem

In /var/log/syslog, I found following error messages

Sep 16 15:16:22 main2 postfix/smtpd[24908]: warning: TLS library problem: 24908:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Sep 16 15:16:22 main2 postfix/smtpd[24908]: warning: TLS library problem: 24908:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403:
Sep 16 15:16:22 main2 postfix/smtpd[24908]: warning: TLS library problem: 24908:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
Sep 16 15:28:55 main2 postfix/smtpd[26361]: warning: TLS library problem: 26361:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Sep 16 15:28:55 main2 postfix/smtpd[26361]: warning: TLS library problem: 26361:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403:
Sep 16 15:28:55 main2 postfix/smtpd[26361]: warning: TLS library problem: 26361:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:



Then, i use following solution and it worked for me,


To create a new ssl cert for postfix, run these commands:


cd /etc/postfix/ssl/

openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
(Create your pass phrase)

chmod 600 smtpd.key

openssl req -new -key smtpd.key -out smtpd.csr

openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt

openssl rsa -in smtpd.key -out smtpd.key.unencrypted

mv -f smtpd.key.unencrypted smtpd.key

openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650




Thursday, August 1, 2013

Install Rocketraid 2720 raid card driver in Ubuntu server

Install Rocketraid 2720 raid card driver in Ubuntu server

1.       Download Rocketraid 2720 raid card driver
#cd ~


2.       create a temporary folder
root@BACKUP-HOST:~#mkdir -p /tmp/df


3.       Extract the driver package to the /tmp/df folder
root@BACKUP-HOST:~# tar xvf RR272x_1x-Linux-Src-v1.5-130325-0732.tar.gz -C /tmp/df



4.       Install/update driver
root@BACKUP-HOST:~#cd /temp/df
root@BACKUP-HOST:/tmp/df# cd rr272x_1x-linux-src-v1.5/product/rr272x/linux/
root@BACKUP-HOST:/tmp/df/rr272x_1x-linux-src-v1.5/product/rr272x/linux#make install
root@BACKUP-HOST:/tmp/df/rr272x_1x-linux-src-v1.5/product/rr272x/linux#modprobe rr272x_1x

5.       Update fstab, add the following line in fstab

/dev/dm-0       /backup         ext4    errors=remount-ro       0       0


Reboot the server