Monday, November 3, 2008

Microsoft Exchange POP3 service stuck in "starting" mode.

With the POP3 service stuck in "Starting" status it would not respond to net stop... in this case it did show up in the task manager as inetinfo.exe. by using "stop process tree" the pop3 service stopped, as well as dependencies. restarted IIS Admin Service and verified all related dependencies started.

++++
using Exchange System Manager > Administrative Groups | Corporate | Servers | (server) | Protocols | POP3 > right click and select "start" on Default POP3 Virtual Server.
++++

ref: http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_22908333.html

Wednesday, October 29, 2008

Control ALL USB Devices Using Group Policy

How to use Device Installation Restrictions to control USB devices on Windows Vista.

When you consider security, protection of the network, protection of corporate data, or similar issues like this on your corporate network, you must think about how to control USB thumb drives and hard drives. If a user can take the USB drive out of the office in their pocket, copy nearly any file to it, then plug it into their production desktop to copy or execute the files from the USB drive, the exposure for an attack or introduction of a virus is rather extreme. Until now the control of USB drives has been limited, clumsy, and in most cases all USB devices are affected if you want to control USB drives. However, Microsoft has come to the rescue by adding Device Installation Restrictions to control USB devices on Windows Vista. These settings are easy to configure, control, and are very powerful as they are deployed using Group Policy.

You Must Consider Two Scenarios for Controlling USB Drives

Before we can investigate the options and steps needed to restrict USB drives, we must break down USB drives into two different scenarios. The first scenario is quite simple as it deals with a computer that has never seen a USB drive before. In an instance like this the computer does not have any USB drives installed. A similar scenario would be that you have a USB drive that you want to restrict, which has not been installed on the computer before, even though a different USB drive has been installed. In this case, the USB drive that you want to control has never been installed, so you can still control the installation of the USB drive and its driver.

The second scenario is when the USB drive has already been installed. In this scenario the USB drive has been configured in the registry and the associated driver has been copied to the computer.

Controlling the Installation of USB Drives on pre-Windows Vista

For those that do not have Windows Vista yet, or want to verify the process of controlling the installation of USB devices on Windows 2000 or Windows XP, I wanted to throw in the capabilities that you do have for these operating systems. This process allows you to control USB devices, but not nearly as easy to deploy or control compared to the new option by controlling USB drives using Group Policy.

For Windows 2000 and XP you will need to modify the permissions of existing files to restrict the installation of USB drives. The two files are the USBSTOR.PNF and USBSTOR.INF files, which are located under the %systemroot%\inf folder. To deny the installation of the USB devices, you need to modify the security on each file. To modify the security of each file, right-click on the file, then select Properties. In the Properties window, select the Security tab. Then, select the groupname that the user(s) belongs to (of which you want to deny installation of USB drives) and then select the Deny- Full Control permission, as shown in Figure 1.


Figure 1:
Configure the groupname to have Deny permissions of Full Control for both files

Controlling the Installation of USB Drives on Windows Vista

For Windows Vista computers you can use a Group Policy object setting to deny the installation of USB drives. This method provides a very granular method of controlling individual USB devices. This method is not an “all or nothing” situation like so many other options are. With this method you will need to discover the USB ID for the device. The ID will then be used in the policy to control the USB device. The other benefit of the policy via Group Policy is that you can either deny the USB device or allow the USB device. You can craft your own USB device matrix of what is allowed and what is denied.

The catch of discovering the USB ID is to install it. Here you just need to have a test computer where you can install the device.

Below are the steps you need to follow to discover the USB ID for an installed device.

  1. Open Device Manager from the Control Panel.
  2. Find the device in the list of devices. USB drives will typically be located under the Disk drives section.
  3. Right-click the USB device and select Properties, which will open up the device property sheet, as shown in Figure 2.


Figure 2:
Select the Properties of your USB storage device from Device Manager

  1. Select the Details tab from the USB Properties sheet.
  2. Click the dropdown list labeled Property
  3. Select the Hardware Ids option, as shown in Figure 3.


Figure 3:
The Device class GUID is what you will use for the hardware ID for the policy

With this USB ID you can create and configure a GPO. To configure a GPO to include the USB ID and restrict the installation of the device, follow these steps on a computer where the USB device has not been installed.

  1. Click the Start button, select Run, then type gpedit.msc, then click the OK button. (If you have UAC enabled you will need to agree to allow the Group Policy editor to run. For more information on UAC refer to Understanding UAC in Vista.)
  2. Expand Computer Configuration|Administrative Templates|System|Device Installation|Device Installation Restrictions, as shown in Figure 4.


Figure 4:
You will configure policies under the Device Installation Restrictions node to control USB devices

  1. Double-click on the Prevent installation of devices that match any of these hardware IDs policy.
  2. Select the Enabled radio button.
  3. Click on the Show button to open the Show Contents dialog box.
  4. Click the Add button on the Show Contents dialog box.
  5. Type in the ID for the USB drive using the syntax shown in Figure 5.


Figure 5:
Hardware restriction policy input uses the Hardware ID from the device

  1. Save all of your settings from within the policy and exit the editor.

Now that you have your policy set up, you can test the installation of the USB drive. After you plug in the USB drive on the computer where you configured the GPO, you should get an error message similar to the one shown in Figure 6. You only need to click on the icon in the tray to see this dialog box.


Figure 6:
If the policy denies the installation of the device, a message can be displayed

If you want to go the extra mile, you can also configure a custom message display. There are two policies (Display a custom message when installation is prevented by policy (balloon text and balloon title)) above the prevention of the USB IDs, which can be seen in Figure 4.

NOTE:
If the device is already installed, the policy will not deny it from running. You will need to uninstall the device driver for this policy to work, or you can use the option listed above for pre-Vista computers for post-driver installation denials. However, if you use the above post-driver installation denial option, it will deny ALL USB storage devices.

Controlling USB Devices That Have Already Been Installed

For the second scenario, you will need to consider controlling USB devices that are already installed. For this scenario, you have two options. One option is to uninstall the USB drive, which will put the computer in the state of not having the USB drive installed - since this can be difficult to manage and impossible to implement in a large corporation, you need to look at an alternative.

The second will force you to hack the registry. Have no fear of the registry you will be able to hack it without causing a blue screen! With registry hacks you can make the change manually, with a script, or even use Group Policy to deploy the setting. In this case, I would suggest that you use Group Policy. You can use the new Registry Preference or you can customize an ADM template. I show you what the ADM template would look like below. Configuring a Registry Preference policy from the information in the ADM template would be super simple! To create an ADM template, just copy the text below to Notepad and save the file with an ADM extension, making sure you do not append on the .txt extension to the file. Next, just import the ADM template into a GPO using the Group Policy Management Editor. The steps to import an ADM template into a GPO can be found at http://technet.microsoft.com/en-us/magazine/cc162497.aspx as well as from the Group Policy Resource Kit.

CLASS MACHINE
CATEGORY "Braincore.net USB Storage Drive Restriction"
POLICY "How do you want USB Drives to Behave?"
#if version >= 3
EXPLAIN "Policy to disable USB removable storage"
#endif
KEYNAME
SYSTEM\CurrentControlSet\Services\USBSTOR
VALUENAME Start
VALUEON NUMERIC 3
VALUEOFF NUMERIC 4
END POLICY
END CATEGORY

Summary

USB devices can be controlled on Windows 2000, XP, and Vista computers. You can control the devices from being installed if they have not bee installed before, or you can restrict them from being used if they have been installed. For Windows 2000 and XP you have a different method for restricting the installation of the USB device compared to that of Windows Vista. Windows Vista uses a GPO where Windows 2000/XP requires you to modify permissions on files. If the device is already installed you will need to modify the registry to restrict its use. This method can be done manually, via a script, or by using Group Policy. Now that you have arsenal to control USB drives, your network should be a little safer and a bit more secure.

ref: http://www.windowsecurity.com/articles/Control-USB-Devices-Group-Policy.html

Admin tips

Backing Up the Outlook Auto Complete Name List

C:\Documents and Settings\username\Application Data\Microsoft\Outlook\profilename.nk2

ref: http://www.windowsnetworking.com/kbase/WindowsTips/WindowsVista/UserTips/Misc/BackingUptheOutlookAutoCompleteNameList.html

========================
How To Quickly Check IP Address on Remote Computers?

How to quickly check IP Address information on all the computers using a single command.

Windows does not ship with a command which can be used to quickly check the IP Address information on all the remote computers. You need to use third party tools or a utility to do so. I use Psexec.exe to get this information.

Steps:

  • Create a Text file named Servers.txt
  • Paste all the computer names in the Text file
  • Run the following command to store IP Information to a Text file:
Psexec.exe -@Servers.txt Ipconfig > Result.txt

ref: http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/AdminTips/Network/HowToQuicklyCheckIPAddressonRemoteComputers.html

=========================

A Quick Tip To Update Group Policy Settings On Remote Computers

This article explains a single command you can use to update the Group Policy settings on remote computers. Please note this applies to Windows 2000 Computers only!

Windows 2000 ships with a command line tool to refresh the Group Policy settings on a local computer. But what if you need to refresh Group Policy settings on 100 Windows 2000 machines? You either need to create a script to do so or visit each computer individually. To eliminate this, you can use the below steps to accomplish the task:

Steps:

  • Create a Text file named Servers.txt
  • Paste all the computer names in txt file.
  • Run the following commands from a Windows 2000 computer:

To refresh user policy:

To refresh machine policy

  • Psexec.exe -@Servers.txt secedit.exe /refreshpolicy machine_policy
ref: http://www.windowsnetworking.com/kbase/WindowsTips/Windows2000/AdminTips/ActiveDirectory/AQuickTipToUpdateGroupPolicyOnRemoteComputers.html

================================


Tuesday, October 28, 2008

Surf Control for ISA

Hướng dẫn sử dụng cài đặt và cấu hình Surfcontrol for ISA dùng Monitor Website

ref: http://nhatnghe.com/forum/showthread.php?t=14718

10 tính năng ưu việt cua Office 2007

Chính thức ra mắt người dùng Việt Nam từ tháng 3 năm 2007, đến nay sản phẩm Microsoft Office 2007 (hay còn gọi là Office 12) đã chiếm được cảm tình của người sử dụng thông qua giao diện đồ họa ấn tượng và không có trong những phiên bản trước.

Đáng kể nhất phải nói đến chính là giao diện đồ họa mới của bộ sản phẩm Office 2007, toàn bộ hệ thống menu cũ được thay thế bằng khái niệm Ribbon, Office Button, các menu thông minh chỉ xuất hiện khi cần thiết. Điều này giúp bạn thao tác cực kỳ nhanh chóng thay vì phải lặn lội vào nhiều cấp menu như trước đây. Bạn chỉ cần bỏ ra 15 phút để xem bài “Giao diện mới của Office 2007” là có thể tha hồ thưởng thức Office 2007.

Ưu điểm thứ hai chính là các chức năng định dạng tài liệu, công cụ xử lý hình ảnh, đồ thị, smartart được cải tiến đáng kể giúp cho người dùng thao tác nhanh và tạo ra các văn bản với hiệu ứng cực kỳ chuyên nghiệp mà không cần phải có các kỹ năng về đồ họa.

Bạn có thể xem nhanh định dạng tài liệu khi rê chuột ngang qua các kiểu định dạng như font chữ, màu sắc, kiểu dáng, hiệu ứng cho ảnh… Đây chính là ưu điểm thứ ba.

Ưu điểm thứ tư của Microsoft Office 2007 là định dạng file theo chuẩn Open XML cho phép lưu trữ tập tin với dung lượng chỉ bằng ½ với kiểu định dạng Office cũ nhưng lại mang nhiều thuộc tính hơn, khả năng bảo mật tốt hơn, khả năng phục hồi khi bị sự cố cao hơn và khả năng tích hợp với các ứng dụng của các hãng thứ ba theo định dạng XML dễ dàng và thuận tiện.

Ưu điểm thứ năm được thể hiện ở chức năng Conditional Format trong Excel 2007. Bạn sẽ quy định biểu diễn thông tin trong các bảng tính rất nhanh chóng với sự hỗ trợ về màu sắc, biểu tượng, đổ bóng.. để thấy được các xu hướng của dữ liệu một cách trực quan và sinh động

Ưu điểm thứ sáu là khả năng tìm kiếm thông tin trong bộ Office cũng được cải tiến đáng kể. Người dùng có thể tìm nhanh các thông tin trên nhiều trường thông tin với sự kết hợp các chức năng hightlight từ khóa cần tìm, lọc thông tin, di chuyển con trỏ đến vị trí từ cần tìm…

Chức năng bảo mật thông tin trong Office 2007 được cải tiến đáng kể là ưu điểm thứ bảy của sản phẩm này. Với Office 2007, bạn không chỉ đơn giản ngăn người xem truy cập hoặc chỉnh sửa nội dung văn bản mà còn có thể hạn chế họ chỉnh sửa một vùng thông tin nào đó trong tài liệu cùng nhiều chức năng bảo vệ khác như chữ ký điện tử, mark as final

Ưu điểm thứ tám đó là với Office 2007, bạn có thể bảo vệ định dạng tài liệu bằng cách lưu trữ tài liệu thành file PDF hoặc XPS một cách đơn giản mà không cần phải cài đặt thêm chương trình của hãng thứ ba.

Office 2007 không chỉ hỗ trợ các tài liệu từ các phiên bản Office trước đây (cho đến phiên bản 2000) mà còn hỗ trợ cả các tài liệu được soạn thảo bởi OpenOffice. Ngược lại, các chương trình Office ở các phiên bản trước cũng có thể đọc tài liệu phiên bản 2007 khi cài đặt tiện ích tương thích ngược có thể download tại đây miễn phí. Đây là ưu điểm thứ chín.

Ưu điểm cuối cùng của bộ sản phẩm này là được thể hiện khi nó tích hợp một cách ăn ý đến hoàn hảo với các chương trình trong hệ thống như Office SharePoint, Exchange, Office Groove 2007, Form Server và Office InfoPath, Project & Visio, PerformancePoint Server v.v… Chức năng này đặc biệt hiệu quả đối với các doanh nghiệp với số lượng máy tính sử dụng lớn, cần chia sẻ dữ liệu giữa máy chủ và các máy trạm.

ref: http://vietbao.vn/Vi-tinh-Vien-thong/10-tinh-nang-chi-co-o-Microsoft-Office-2007/65149304/229/

Monday, October 27, 2008

Pass the Password Crackers

Say that ten times! Ouch – someone pass the chapstick!

I thought I’d devote some time to how people break into your systems. I’ll give you some information and methods that you can use yourself to test the security of your own systems and passwords.

One of the ways people break into systems is by obtaining people’s passwords. But what if they want to try and guess your password?

Turns out there are a lot of tools to help password crackers. One of those tools is called “John the Ripper”. It is a fast password cracker, currently available for many flavors of Unix (11 are officially supported, not counting different architectures), Windows, DOS, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix passwords. Besides several crypt password hash types most commonly found on various Unix flavors, supported out of the box are Kerberos AFS and Windows NT/2000/XP/2003 LM hashes, plus several more with contributed patches.

Other password crackers include:

1. Cain and Abel – password recovery tool for Windows
- http://www.oxid.it/cain.html

2. John the Ripper - multi-platform password hash cracker
- http://www.openwall.com/john/

3. THC Hydra - network authentication cracker which supports many different services
- http://freeworld.thc.org/thc-hydra/

4. Aircrack - WEP/WPA cracking tool
- http://www.aircrack-ng.org/doku.php

5. Ophcrack - Windows password cracker
- http://ophcrack.sourceforge.net/

6. Airsnort - 802.11 WEP Encryption Cracking Tool
- http://airsnort.shmoo.com/

7. SolarWinds - network discovery/monitoring/attack tools
- http://www.solarwinds.com/

8. Pwdump - window password recovery tool
- http://www.foofus.net/fizzgig/pwdump/

9. RainbowCrack - password hash cracker
- http://www.antsight.com/

10. Brutus - network authentication cracker
- http://www.hoobie.net/brutus/

11. Password Cracker 3.76 - restoring forgotten passwords
- http://www.download.com/Password-Cracker/3000-2092_4-10226556.html

More details about these and other password crackers can be found at: http://sectools.org/crackers.html

Most of these tools use a variety of methods to recover passwords such as: sniffing the network, cracking encrypted passwords using Dictionary, Brute-Force and Cryptanalysis attacks, recording VoIP conversations, decoding scrambled passwords, revealing password boxes, uncovering cached passwords and analyzing routing protocols.

Remember that although these tools can be used as password crackers their intended use is for System Administrators to recover lost or forgotten passwords.

ref: http://www.theemailadmin.com/

Sunday, October 26, 2008

10 lời khuyên hữu ích cho người dùng laptop

http://vietbao.vn/Vi-tinh-Vien-thong/10-loi-khuyen-huu-ich-cho-nguoi-dung-laptop/62244133/217/

Chỉnh sửa và chia sẻ video trực tuyến với BrushVideo

Thông thường, việc chỉnh sửa 1 file video không hề đơn giản với những ai không quá rành rõi về máy tính. Tuy nhiên, với BrushVideo, mọi thứ đều được đơn giản hóa đến mức thấp nhất để mọi người đều có thể sử dụng.

BrushVideo một dịch vụ miễn phí cho phép bạn dễ dàng chỉnh sửa những video clip và upload nó lên Youtube để chia sẽ. Nó bao gồm một giao diện quen thuộc cùng nhiều công cụ chỉnh sửa video hiện đại nhất, cộng thêm những tính năng kéo thả đơn giản để tiến hành trên đoạn clip.

Để bắt đầu, bạn cần upload một video (kích cỡ tối đa hiện tại là 100MB). Có 2 hình thức upload: (Trang web hỗ trợ các định dạng video cơ bản như mpg, avi, wmv, flv, mp4, 3gp, mpeg, mov)

- Upload video trực tiếp từ máy tính của bạn: Click vào nút Upload file và tìm đến file cần chỉnh sửa.

- Upload file từ 1 server khác: dán đường link chứa đoạn clip cần chỉnh sửa vào khung ở bên dưới và click vào Upload.

BrushVideo sẽ mất khoảng từ 1 đến 2 phút để upload clip cần chỉnh sửa. Sau đó bạn có thể bắt đầu sử dụng thanh công cụ ở bên trái của trang web, để tiến hành chỉnh sửa. Bạn có thể thêm vào clip các đoạn text, hình ảnh, thêm màu sắc hay hiệu ứng…

Sau khi đã tiến hành chỉnh sửa đoạn clip theo mong muốn, bạn click vào Save Project để BrushVideo tự động upload video lên YouTube hay thậm chí là Facebook và M‎ySpace, hoặc BrushVideo sẽ cung cấp đoạn mã HTML chứa đoạn clip vừa chỉnh sửa để bạn có thể chèn vào trang web hay blog nào mà mình muốn. Ngoài ra, bạn cũng có thể download đoạn clip vừa chỉnh sửa về máy.

Dưới đây là các tính năng chính là BrushVideo có thể mang đến cho bạn:

- Đầu tiên bạn upload video và thêm những đoạn thoại hay những họa tiết cho video của bạn

- Chèn ảnh hoặc những hình động vào video của bạn

- Chương trình có một ứng dụng paint, bạn có thể sử dụng nó để vẽ hoặc viết lên phía trên đỉnh của video

- Thêm những hiệu ứng cho đoạn clip của bạn thêm sinh động ví dụ như làm mờ màu sắc trong video, đen trắng, làm hình ảnh trở nên cổ xưa với tông nâu đỏ và nhiều hiệu ứng khác nữa…

- Loại audio có sẵn trong video, thêm vào những âm thanh mà bạn muốn hoặc những hiệu ứng âm thanh khác vào đoạn clip.

- Nếu bạn có webcam, bạn có thể sử dụng Brush Video để trực tiếp thu hình ảnh từ webcam và thêm nó vào bộ phim của bạn

Hiện nay, BrushVideo chỉ cho phép bạn thực hiện một video với độ dài tối đa là 5 phút. Hy vọng rằng trong tương lai sẽ có phiên bản mới hơn, cho phép chúng ta thực hiện một video với bất cứ độ dài nào mà mình muốn. Tuy nhiên, với phần lớn nhiều người, thì 5 phút là quá đủ cho 1 đoạn clip hoàn chỉnh.

Nhìn chung, tuy vẫn còn giới hạn về mặt thời gian, nhưng cần phải thừa nhận rằng BrushVideo là dịch vụ rất hữu ích cho những ai muốn tạo 1 video clip mang phong cách riêng nhưng lại không quá thành thạo về các công cụ chỉnh sửa.


ref: http://vietbao.vn/Vi-tinh-Vien-thong/Chinh-sua-va-chia-se-video-truc-tuyen-voi-BrushVideo/62244109/217/