Thursday, July 24, 2008

Ubuntu Server Time Syncronization in command line

Can't sync the time in ubuntu server? try this
1 Open a terminal window
2 type this command: dpkg-reconfigure tzdata
3 Follow the directions in the terminal.

If you want to keep it in sync install a ntp server terminal
2.type sudo apt-get install ntp ntpdate
3. sudo nano /etc/ntp.conf and add the adresses of ntp servers

Thursday, July 17, 2008

Windows domain using a ntp time server how to

If you want your Domain Controllers to be in sync especially if you are in Eastern Europe Contry's windows 2000 server does not know when the time changes on the other hand the windows 2003 server knows and where i work they are primary and aditional DC.
So what to do make them bouth use the same external ntp time server.

Step 1


Step 2

Type net time / (ntp_server adress)

Step 3 restart the time service

net stop w32time
net start w32time

Step 4

Verify the ntp server was added to registry.Type:
net time /querysntp

If you want to stop using ntp server type:
net time /setsntp
and restart the time server like i showd you above.

According to posts in Usenet newsgroups, the following sequence of commands (entered at the command prompt) fixes timekeeping problems under Windows XP:
net stop w32time
w32tm /unregister [ignore error message]
w32tm /unregister [enter a second time]
w32tm /register
net start w32time

Change Microsoft Office 2007 License Key

Follow these steps:

1. Close all Microsoft Office applications.

2. Click Start, click Run, type regedit in the Open box, and then click OK.

3. Locate the following registry subkey:

Note You may also find another subkey that resembles the following subkey:


4. If you find additional subkeys that reference Microsoft 12.0 registration, open each subkey, and then identify the product by the ProductName entry.
For example: ProductName=Microsoft Office Professional Plus 2007

5. When you find the subkey for the product from which you want to remove the existing product license key, delete the following entries:
* DigitalProductID
* ProductID

6. Exit Registry Editor.

The next time that you try to run an Office application, you will be prompted for a new product license key. Then, you can enter the product license key.That's it.

Thursday, July 10, 2008

How to find open ports on a computer on windows machines

To find open ports on a computer, you can use netstat command line.

1. To display all open ports, open DOS command, type netstat and press Enter.
2. To list all listening ports, use netstat -an |find /i "listening" command.
3. To see what ports your computer actually communicates with, use netstat -an |find /i "established"
4. To find specified open port, use find switch. For example, to find if the port 445 is open or not, do netstat -an |find /i "445".
5. You can use PULIST from the Windows Resource Kit to find which process is using a specified port. For example, pulist |find /i "4125" may display

Tuesday, June 24, 2008

Keeping the mounted partition at startup in Ubuntu

If you want the mounted share to be remembert bu Ubuntu you must put a line in fstab.
Step 1

create a file named lets say credentials in that file enter this 2 lines:

username = administrator(or your admin username)
password =yourpassword

and save file

Step 2

Start the terminal

sudo gedit /etc/fstab

Step 3

Write the following in the fstab file you just opened:

#Samba Share
//windows-server-name/share1 /share1 smbfs credentials=/home/cata/credentials 0 0

save the file and reboot .It is permanently mounted.The user name and password are loaded from the file you created earlier.

unmount the partition

Enter in console and type:

umount   /share1

thats it.enjoy

Monday, June 23, 2008

Mounting a windows share in ubuntu

Tired of navigating the network for a Windows shared folder all the time under Ubuntu?

Well then I'll show you the equivalent of Windows xp's map network drive in Ubuntu 8.04.It is called mount with smbfs.

Step 1

Enter in a Terminal window

Create a directory where the share will be mounted. lets say sudo mkdir  /share1(share1 is my mount point)

Step 2
Type this instruction:

mount   -t smbfs   -o username=administrator   //windows-box-name/share_name   /share1

Step 3

you will find your share in /share1 mounted and presto.Done.Enjoy. :)

Tuesday, June 17, 2008

How To Install Epson perfection 3490 Photo scanner on Ubuntu 7.10

1. Install sane-utils from synaptics package manager
2. Install the driver under Windows and find esfw52.bin from the installation directory or extract it from a cab in Epson drivers CD.
3. Place it in /usr/share/sane/snapscan.
4. Edit /etc/sane.d/snapscan.conf and replace the firmware directory in the first lines with /usr/share/sane/snapscan/esfw52.bin. Save and close the file.
5. Xsane should work just fine now!

Tuesday, March 25, 2008

Ubuntu Server Gutsy - installing a desktop

sudo apt-get install ubuntu-desktop

and the dependencies:

apt-get install x-window-system-core xserver-xorg gnome-desktop-environment

sudo apt-get install ubuntu-desktop
sudo apt-get install gdm
sudo /etc/init.d/gdm start
sudo dpkg-reconfigure xserver-xorg

Gdm is what handles your x system starting automatically instead of entering start x at the command line each time you boot. The reconfigure runs the xserver setup so you can configure your system monitor, video card etc.

Wednesday, February 27, 2008

Move the Favorites folder>regedit

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

There you will find the path
Replace the path and presto


Thursday, January 31, 2008

Remove corrupted Adobe Acrobat 8.0

Remove Adobe Acrobat 8.0 using the uninstaller

The uninstaller is designed to remove everything installed by Adobe Acrobat 8.0. When you start Adobe Acrobat 8.0 for the first time, or when you modify the preferences, new folders and files may be created. To ensure the complete removal of all additional folders and files, proceed to "Remove remaining folders and files for Adobe Acrobat 8.0" below after you use the uninstaller. Before attempting to manually remove Acrobat use kb400654, "Troubleshooting general uninstallation issues for Acrobat and Adobe Reader (8.0 on Windows)" to determine there is not general system issue preventing the uninstaller from completing successfully.

To use the uninstaller:

  1. Choose Start > Control Panel.
  2. Double click Add/Remove Programs.
  3. Do one of the following:
    • If you installed Adobe Acrobat 8.0 from the Adobe Acrobat 8.0 CD/DVD, then select Adobe Acrobat 8.0 and click Remove. Follow the on-screen instructions to remove Adobe Acrobat 8.0.
    • If you installed Adobe Acrobat 8.0 from the Creative Suite CD/DVDs, then select Creative Suite and click Remove. Follow the on-screen instructions to remove the Adobe Acrobat 8.0 component.

Note: When you run the uninstaller, you will be prompted to remove, keep, or transfer activation. If you plan to reinstall Adobe Acrobat 8.0 on the same machine, you may want to keep your activation. However, after you complete the manual removal, you will most likely need to re-activate Adobe Acrobat 8.0. If you plan to install Adobe Acrobat 8.0 on a different machine, you should transfer your activation.

Preparing the computer to remove Adobe Acrobat 8.0 Professional

Before proceeding with the following steps we highly recommend printing the directions. Restarting in Diagnostic or Safemode typically disables internet access.

  1. Delete Adobe Acrobat Speed Launcher from Documents and Settings\All Users\Start Menu\Programs\Startup.
  2. Enable diagnostic or safemode for Windows.

To enable diagnostic mode for Windows XP:

  1. Quit all applications.
  2. Choose Start > Run, type msconfig in the Open text box, and click OK.
  3. Click the Startup tab and Services tab. Record all unselected items.
  4. Click the General tab, and choose Diagnostic startup.
  5. Click OK, and restart Windows.

    Note: Upon reboot, you'll be notified that the System Configuration Utility has made changes to the way that Windows starts up. Click OK, and when the System Configuration Utility appears click Cancel.

  6. Right-click icons in the Notification Area (called the System Tray in earlier versions of Windows) to close or disable any startup items that are still active.

To reenable startup items and services for Windows XP:

After completing all of the steps in this document reenabled startup items for Windows XP.

  1. Choose Start> Reun.
  2. Type msconfig in the Run dialog box, and click OK.
  3. Click the General tab, and choose Normal Startup.
  4. Deselect any items that you wrote down in Step 3 of the previous section.
  5. Click Apply, and restart Windows for the changes to take effect.

Remove Adobe Acrobat 8.0 registered files using the command prompt

  1. Acrobat registers a numerous files with the operating system during the installation. These files must be removed in order to successfully remove the application. Registered files can be removed from the operating system with the shell is not running.
  2. Press Control-Alt-Delete and choose Task Manager.
  3. On the Processes tab, select explorer.exe and choose End Process (this will make items on your desktop disappear).

    Important: The Task Manager should remain open during this process

  4. Click Yes in the warning box.
  5. Choose File > New Task.
  6. Under Open, type cmd and click OK.
  7. Minimize the Task Manager.
  8. Type cd "C:\Program Files\Adobe\Acrobat 8.0\Acrobat Elements" and press Enter.
  9. Type del ContextMenu.dll and press Enter.
  10. Type cd "C:\Program Files\Common Files\Adobe\Acrobat\ActiveX" and press Enter.
  11. Type del AcroIEHelper.dll and press Enter.
  12. Type del AcroPDF.dll and press Enter.
  13. Type del pdfshell.dll and press Enter.
  14. Type exit and press Enter.
  15. Maximize the Task Manager.
  16. In Task Manager, choose File > New Task.
  17. Type explorer.exe and click OK. (Your desktop should reappear.)
  18. Exit the Task Manager.

Grant full control permissions to all installed files and folders

Give Administrators Full Control of the Resources folder and replicate permissions down to child objects.

To Reset Permission Using Windows Security

  1. Click Start > Run, type cmd, and click OK.
  2. Type each of the bold command below and press enter:
    • If any error messages are received after typing any of the below command verify the command and try again.

cacls "C:\Program Files\Adobe\Acrobat 8.0\Resources" /T /E /C /G administrators:F

Important: Enter spaces between /T, /E, /C, and /G in the third line.

Remove remaining folders and files for Adobe Acrobat 8.0

Back up any personal files you want to save from the following directories, and then remove the listed folders and files:

Program Files\Adobe\

  • Acrobat 8.

Program Files\Common Files\Adobe\

  • Acrobat

Program Files\Common Files\Macrovision Shared\

  • FLEXnet Publisher

Program Files\Internet Explorer\PLUGINS\

  • nppdf32.dll

Documents and Settings\[User Name]\Application Data\Adobe\

  • Acrobat
  • Designer
  • Adobe PDF

Documents and Settings\All Users\Application Data\Adobe\

  • Acrobat
  • Designer
  • Adobe PDF
  • ALM

Documents and Settings\All Users\Application Data\FLEXnet\


Documents and Settings\All Users\Desktop\

  • Adobe Acrobat 8 Professional.lnk

Documents and Settings\All Users\Start Menu\Programs\

  • Adobe Acrobat 8 Professional.lnk
  • Acrobat Distiller 8.lnk
  • Adobe LiveCycle Designer 8.0.lnk


  • Ps5ui.dll
  • Pscript.hlp


  • ADGelP.INI
  • ADReGP.dll
  • pscript.ntf


  • adobePDF.dll

Program Files\Netscape\Netscape Browser\plugins\

  • nppdf32.dll

Remove remaining registry entries for Adobe Acrobat 8.0

Remove the application registry keys from the registry, if they are available.

Note: You must be logged into the computer as an Administrator to modify your registry.

Disclaimer: This procedure involves editing the Windows registry. Adobe doesn't support editing the registry, which contains critical system and application information. For information on the Windows Registry Editor, see the documentation for Windows or contact Microsoft Technical Support. You may not have all of these files.

Important: Make a backup copy of the registry before you edit it.

  1. Choose Start > Run, and type regedit in the Open text box; click OK.
  2. Navigate to one of the registry keys listed below and select it in the left panel; it will appear in the registry editor as a folder.
  3. Choose Edit > Delete. Click Yes in the Confirm Key Delete dialog box.
  4. Repeat steps 1-3 as needed for any remaining registry entries.

Remove the following registry entries

HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller
HKEY_CURRENT_USER\Software\Adobe\Acrobat Elements
HKEY_CURRENT_USER\Software\Adobe\Acrobat PDFMaker
HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat
HKEY_CURRENT_USER\Software\Adobe\PDF Settings

HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Distiller
HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Elements
HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat PDFMaker
HKEY_LOCAL_MACHINE\Software\Adobe\Adobe Acrobat
HKEY_LOCAL_MACHINE\Software\Adobe\Repair\Adobe Acrobat
HKEY_LOCAL_MACHINE\Software\Adobe\PDF Admin Settings
HKEY_LOCAL_MACHINE\Software\Adobe\PDF Settings

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\ UserData\S-1-5-18\Products\68AB67CA330100007706000000000030
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ {AC76BA86-1033-0000-7760-000000000003}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ Adobe Acrobat 8 Professional


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\MS Project\Addins\PDFMaker.OfficeAddin

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Adobe Acrobat

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\ {191DA03B-FBE7-4579-B64D-273DC8358F1B}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\ {907131E3-3ECF-4027-B0EB-3324883441D1}

Complete the removal

Empty your Recycle Bin and restart your computer.And next time you install a cracked version don't upgrade online...

Was this helpful to you? let me know. :)

Thursday, January 17, 2008

Defragmentation Fix

Today I tried to defrag a colleague's pc and i couldn't .So I tried to find the problem and after many tries i found the solution using DOS command:

fsutil Dirty Query C:

that shown me the drive was dirty message.That means that you should run scandisk to repear the problem.After I ran ScanDisk the defrag worked like a charm.I hope this tip was useful to you.

Wednesday, January 9, 2008

outlook express interface not registered error message

I've encountered this kind of problem before and I have the solution. What you need to do is to try re-registering the Ole32.dll file because there could be a corrupt registry entry. This is done by using the run window - press the window key + R and you should paste in there the following line: Regsvr32.exe %Windir%\System32\Ole32.dll
Just hit OK and your problem should be solved.

Monday, January 7, 2008

Best Anty Spyware

The top 5 antispyware for this period are:
1.Spyware Doctor
2.Spyware Terminator(free)
3.Spyware Blaster (free)
4.Spy Sweeper
5.SpyBot Search&Distroy(free)

As you can see the majority of antispyware are free.I use Spyware Terminator and I must say it does a very good job.I recommend it