Showing posts with label Operating Systems. Show all posts
Showing posts with label Operating Systems. Show all posts

Sunday, April 29, 2007

Managing files and folders in the Windows XP

Windows XP supports both the FAT as well as the advanced NTFS file systems. NTFS-formatted volumes support several features that facilitate users in managing files and folders. These features are described as follows:

Compression

Compression is an NTFS attribute of files and folders. It increases the amount of available hard disk space by reducing the size of the files or folders. Compressing files and folders on a computer allows users to store more data on the computer's hard disk. NTFS supports compression on volumes, folders, as well as on the files that are compressed on an NTFS volume. A user can read a compressed file located on an NTFS volume without decompressing it. The file is decompressed automatically as soon as the file read process starts. On a volume that is running low on the available disk space, the compression proves to be a very effective means of increasing the empty space on the hard disk, thereby managing the disk space. A user can control the compression attributes on the files or folders individually.

In order to enable compression on a file, folder, or a complete NTFS volume, a user has to follow the steps given below:

Right-click the volume, file, or the folder, and select Properties.

On the General tab page of the Properties dialog box for the file, folder, or volume, click the Advanced button.
In the Advanced Attributes dialog box, select the Compress Contents To Save Disk Space check box in the Compress or Encrypt attributes section, and click the OK button.
Moving and copying compressed files and folders: When a user moves or copies compressed files and folders in Windows, these files and folders are affected in the following manner:

When the files and folders are moved within the NTFS volume, the compression attribute remains the same in the new location irrespective of the status of the destination folder (i.e., whether it is compressed or uncompressed).

When the files and folders are copied within the same volume from one location to another, the original compression attribute is lost and the files inherit the attributes of the new parent folder (destination).

When the files and folders are copied or moved to a different volume, the compression attribute is lost and the files or folders inherit the attributes of the destination folder.

Copying or moving compressed files and folders from an NTFS volume to a FAT or FAT32 volume does not sustain the compression because FAT or FAT32 does not support compression of files or folders.
Windows XP supports a new feature called compressed (zipped) folder. This feature can be used on volumes with either the FAT or NTFS file system, or both. The compressed (zipped) folder can be easily shared with other users even if they are not running Windows XP Professional or using a drive formatted with the NTFS file system.

Supporting File Encryption

File encryption is a file attribute that allows a user to protect files and folders. It is a way of making data illegible to protect it from unauthorized users, especially during network transmission. Windows XP Professional allows a user to protect the files and folders by using the Encrypting File System (EFS). EFS encodes a file in a manner so that a user cannot read the file's data even if he gets access to the file. Only an authorized user can read the file. When an unauthorized user attempts to access an EFS-encrypted resource, the user receives the Access Denied message. EFS implementation consists of two restrictions. First, an EFS-encryption can be used only on volumes formatted as NTFS, and secondly, a user cannot use EFS to encrypt a file that has been compressed by using NTFS compression. By default, Windows XP displays the names of encrypted files with a green color. A user can also change the color as per his requirement.

Managing Disk Quotas

Disk quota is a very efficient disk management feature of Windows XP Professional. The administrators on NTFS-formatted volumes can use this feature. It allows administrators to limit or fix the amount of disk space for multiple users on an NTFS volume. Disk quotas provide system administrators with a powerful tool for managing storage growth. Administrators can set both soft and hard limits, i.e., when a user exceeds a warning level (soft limit), an event is logged; when a user exceeds the hard limit, they receive an Out of Disk error. Disk quotas apply to the entire volume. It cannot be configured on a folder-by-folder basis. When a user reaches or exceeds the assigned quota limit, he will have to delete files to create empty space, transfer the ownership of some of his files to other users, or ask the administrator to provide more disk space. Compression does not work when the limit is exceeded. Merely by compressing some of the folders, a user cannot increase the available disk space in his assigned quota.

Managing Security

Windows XP provides an excellent way of securing the shared files and folders across a network by properly assigning the standard NTFS permissions. There are six basic NTFS folder permissions and five basic NTFS file permissions. In addition to these standard permissions, an NTFS-formatted volume also provides advanced files and folders permissions that an administrator can assign in a more specific manner. The system or network administrators on both files as well as folders can apply all of these permissions. The entire assigned standard as well as the advanced permissions can be viewed on the Security tab page of the File's or Folder's Properties dialog box.

Another way of managing security is to control the permission inheritance. When an administrator assigns some NTFS permissions on a folder, all the files and subfolders within the parent folder automatically inherit the parent folder's permissions. This is called permission inheritance. An administrator can stop such inheritance either at the parent level or child level by configuring the Security tab page of the Parent folder's dialog box. Therefore, Windows XP with the NTFS-formatted volume provides a very effective and efficient way of managing the files and folders both locally as well as in a networked environment.

Friday, April 06, 2007

How to Check Hard Drive Health?

As told by every one that, we never know that when would our hard drive fail! However this is not true, we actually do not know this because we don’t want to know it! We have taken our hard drive as taken for granted. Today there are many tools present in the market which can easily act as shield for your drive and provide early information about the hidden problem of your hard drive.

Let me ask you some basic question:
- Which processor you are using?
- Which is the speed of the processor?
- What is the size of the RAM?

I am sure most of you would have answered them, lets me ask some other question.
- What is your hard Drive Version?
- What is the ideal temperature of your hard drive?
- How many Bad Sectors are there in your hard drive?

So, how many questions are answered? You must be thinking that there is no need to know all these, I would say that you are right, till your hard drive doesn’t crash. It’s better to start taking care of our Hard Drive Health. From my past experience I would suggest Stellar Smart is a very good Hard Drive Monitor Tool.

Stellar Smart gives you the basic information about your hard drive, like
• Hard Drive Version
• SMART Feature (Self-Monitoring Analysis and Reporting Technology)
• Model Number
• Serial Number
• Firmware Revision

Other Advanced Information about your hard drive:
• Total Sectors
• Number of Cylinders
• Number of heads
• Total Sector per Track
• Disk Size
• Physical Buffer Size

These information are basic information of your hard drive which you normally do not require it however, sometimes knowing this information can help you in solving other issues related to your hard drive.

Bad Sectors in your hard Drive
Knowing the bad sector in your hard drive is very important is really important, by checking the amount of Bad sector you can conclude how much vulnerable your drive is..

Stellar Smart: Scan Hard disk
This feature helps you to know the number of bad sectors in your hard drive, if you find lots of Bad sector, then better take the backup and change your hard drive.

Monitor your hard drive temperature
High temperature can harm your hard drive so you should always monitor your hard drive temperature, or you can set some temperature such that you’re your hard temp goes above it, you receive an alarm for that. Some times dust enters the hard drive motor and hinders the motor to run smoothly and the temperature rises and this can lead to hard drive failure. However if you are using some temperature alert then you can save yourself from losing data.

Stellar Smart provide an option to monitor the hard drive temperature.
You can set the warning temperature & shut down temperature. If the temperature of your hard drive reaches the preset warning temperature value then the software will give you the alert messages. And if it attains the shut down temperature then system will automatically shut down.

According to me this is very important tool, because you come to know about the temperature of your drive. Usually temperature doesn’t go above a limit, however if it goes that means that there is some problem with your drive and you better start taking backups of your important file Or get you drive properly diagnosis.

Some common hard disk attributes which Stellar Smart makes you aware with are:

Raw Read Error Rate
Indicates the rate at which read retries is requested. Lower values indicate that there is a problem with either the disk surface or the read/write heads.

Spin Up Time
Describes the amount of time it takes to spin the disk platters up to their rated rotation speed (usually 5400 or 7200 Revolutions per minute). Values above 80 should be considered good. Values between 70 and 80 are acceptable.

Start/Stop Count
Indicates the total number of drive start/stop cycles (including both power on/off switching and suspend/wakeup switching).

Reallocated Sectors Count:
Indicates the amount of the spare sector pool that is available. Spare sectors are used to replace sectors that become bad for some reason. A value of 100 means that no sectors have been replaced so far and a value of 1 means that spare sectors have been exhausted due to many replacements.

Power On Hours Count:
Indicates how long the disk was working (powered on).

Spin Retry Count:
Indicates the number of times the disk was unable to spin its platters up on the first attempt (lower values mean more retries).

Temperature:
Indicates the temperature of disks equipped with thermal sensors.

Ultra ATA CRC Error Count:
The UDMA controller performs error checking on the data it receives from the Hard Disk, ensuring that the data was not damaged while being transmitted over the cable. Each time an error is detected, the controller requests a retransmission, thus slowing down the overall transfer speed. Lower values of 'Ultra ATA CRC Error Count' correspond to a higher number of errors, usually indicating a cabling problem

Write Error Count:
Indicates the rate at which write retries are requested. Lower values indicate that there is a problem with either the disk surface or the read/write heads.

Recalibration Retries:
Indicates the number of times recalibration was requested. A low value (multiple recalibration) usually indicates some head positioning problem.

I am sure all these information about you hard drive will help you to identify the basic problem with your drive and you can save your self from losing your important data. However if you loose your critical data you can try some data recovery software or data recovery service.