Showing posts with label FileSystem. Show all posts
Showing posts with label FileSystem. Show all posts

Monday, April 9, 2012

bench3

How To Optimize and Safeguard Disk Drives

Windows makes extensive use of disk drives during startup and normal operations. You can often dramatically improve operating system and application performance by optimizing a computer's disk drives. You should focus on disk space usage, disk errors, and disk fragmentation. You might also want to compress data to reduce the space used by data files, freeing up space for additional files.

Data security is also an important aspect to consider when optimizing disk drives. The organization's data should be protected and stored in the most secure form possible.

With this in mind, you might want to consider converting (for Windows XP and Vista) file allocation table (FAT16 or FAT32) drives to NTFS file system (NTFS). Such a conversion enables you to take advantage of the Windows Vista user and group security features and then encrypt drive data once you do this. Data encryption prevents unauthorized users from accessing important files.

How To Optimize and Safeguard Disk Drives

Disk maintenance tools, such as Disk Cleanup, Check Disk, and Disk Defragmenter, take advantage of new resource prioritization features in Windows. These changes enable these tools to run in the background and to take advantage of system idle time while running. As a result, users get a consistently good performance level even when background maintenance tasks are running.

Reducing Disk Space Usage

You should closely monitor disk space usage on all system drives. As drives begin to fill up, their performance and the performance of the operating system as a whole can be reduced, particularly if the system runs low on space for storing virtual memory or temporary files.

One way to reduce disk space usage is to use the Disk Cleanup tool to remove unnecessary files and compress old files. To eliminate the need to remind users to run Disk Cleanup, you can schedule Disk Cleanup to run regularly.

Read More

Sunday, February 5, 2012

bench3

Advantages of DFS Replication

DFS Replication, the successor to the File Replication service (FRS) introduced in Windows 2000 Server operating systems, is a new, state-based, multimaster replication engine that supports replication scheduling and bandwidth throttling. DFS Replication uses a new compression algorithm known as remote differential compression (RDC). RDC is a "diff-over-the wire" client-server protocol that can be used to efficiently update files over a limited-bandwidth network. RDC detects insertions, removals, and re-arrangements of data in files, enabling DFS Replication to replicate only the changed file blocks when files are updated.

DFS Replication uses many sophisticated processes to keep data synchronized on multiple servers. Before you begin using DFS Replication, it is helpful to understand the following concepts.

Advantages of DFS Replication

Figure: Configuring DFS Replication On Windows Server 2008

  • DFS Replication is a multimaster replication engine. Any change that occurs on one member is replicated to all other members of the replication group.
  • DFS Replication detects changes on the volume by monitoring the update sequence number (USN) journal, and DFS Replication replicates changes only after the file is closed.
  • DFS Replication uses a staging folder to stage a file before sending or receiving it. For more information about staging folders, see Staging folders and Conflict and Deleted folders.
  • DFS Replication uses a version vector exchange protocol to determine which files need to be synchronized. The protocol sends less than 1 kilobyte (KB) per file across the network to synchronize the metadata associated with changed files on the sending and receiving members.
  • When a file is changed, only the changed blocks are replicated, not the entire file. The RDC protocol determines the changed file blocks. Using default settings, RDC works for any type of file larger than 64 KB, transferring only a fraction of the file over the network.
  • DFS Replication uses a conflict resolution heuristic of last writer wins for files that are in conflict (that is, a file that is updated at multiple servers simultaneously) and earliest creator wins for name conflicts. Files and folders that lose the conflict resolution are moved to a folder known as the Conflict and Deleted folder. You can also configure the service to move deleted files to the Conflict and Deleted folder for retrieval should the file or folder be deleted. For more information, see Staging folders and Conflict and Deleted folders.
  • DFS Replication is self-healing and can automatically recover from USN journal wraps, USN journal loss, or loss of the DFS Replication database.
  • DFS Replication uses a Windows Management Instrumentation (WMI) provider that provides interfaces to obtain configuration and monitoring information from the DFS Replication service.
Read More

Thursday, January 19, 2012

bench3

Facts About Filenames In Linux Environment

File are collection of data items stored on disk. Or it's device which can store the information, data, music (mp3), picture, movie, sound, book etc. In fact what ever you store in computer it must be inform of file. Files are always associated with devices like hard disk ,floppy disk etc. File is the last object in your file system tree.

Filenames may contain any character except / (root directory), which is reserved as the separator between files and directories in a pathname. You cannot use the null character.

  • Filenames that begin with a period character are hidden. This only means that ls will not list them unless you say ls -a. When your account was created, several hidden files were placed in your home directory to configure things for your account. Later on we will take a closer look at some of those files to see how you can customize your environment. In addition, some applications place their configuration and settings files in your home directory as hidden files.
  • Filenames and commands in Linux, as in Unix, are case sensitive. The filenames File1 and file1 refer to different files.
  • Linux has no concept of a “file extension” like some other operating systems. You may name files any way you like. The contents and/or purpose of a file is determined by other means. Although Unix-like operating systems don’t use file extensions to determine the contents/purpose of files, some application programs do.

Though Linux supports long filenames that may contain embedded spaces and punctuation characters, limit the punctuation characters in the names of files you create to period, dash (hyphen), and underscore.

Most importantly, do not embed spaces in filenames. Embedding spaces in filenames will make many command line tasks more difficult. If you want to represent spaces between words in a filename, use underscore characters. You will thank yourself later.

Like the root (/) character, you should also avoid using the following characters from appearing in file names as they are reserved characters by Linux / Unix

  • /
  • >
  • <
  • |
  • :
  • &

If you are using an older version of Linux or UNIX, the maximum limit for a filename is restricted to only 14 Characters. However, Most modern Linux and UNIX limit filename to 255 characters (255 bytes).

Read More

Monday, December 12, 2011

bench3

Securing Access to Files and Folders On Windows | Understanding NTFS Permissions

NTFS permissions control access to NTFS files and folders. This is based on the technology that was originally developed for Windows NT. Ultimately, the person who owns an object has complete control over the object. You configure access by allowing or denying NTFS permissions to users and groups.

On NTFS partitions, you can specify the access each user has to specific folders or files on the partition based on the user ’ s logon name and group associations. Access control consists of rights and permissions. A right (also referred to as a privilege) is an authorization to perform a specific action.

To understand the Difference Between FAT And NTFS File System, follow this location, FAT And NTFS File.

Permissions are authorizations to perform specific operations on specific objects. The owner of an object or any user who has the necessary rights to modify permissions can apply permissions to NTFS objects. If permissions are not explicitly granted within NTFS, then they are implicitly denied. Permissions can also be explicitly denied, which then overrides explicitly granted permissions.

Securing Access to Files and Folders On Windows  Understanding NTFS Permissions

The following sections describe design goals for access control as well as how to apply NTFS permissions and some techniques for optimizing local access. Let ’ s take a look at design goals for setting up security.

Design Goals for Access Control

Before you start applying NTFS permissions to resources, you should develop design goals for access control as a part of your overall security strategy. Basic security strategy  suggests that you provide each user and group with the minimum level of permissions needed for job functionality. Some of the considerations when planning access control include the following:

  • Defining the resources that are included within your network — in this case, the files and folders residing on the file system
  • Defining which resources will put your organization at risk, including defining the resources and defining the risk of damage if the resource was compromised
  • Developing security strategies that address possible threats and minimize security risks
  • Defining groups that security can be applied to based on users within the group membership who have common access requirements, and applying permissions to groups as opposed to users
  • Applying additional security settings through Group Policy if your Windows 7 clients are part of an Active Directory network
  • Using additional security features, such as Encrypted File System (EFS), to provide additional levels of security or file auditing to track access to critical files and folders

After you have decided what your design goals are, you can start applying your NTFS permissions.

Normally, NTFS permissions are cumulative, based on group memberships if the user has been allowed access. This means that the user gets the highest level of security from all the different groups they belong to. However, if the user had been denied access through user or group membership, those permissions override the allowed permissions. To know more on how to Setting NTFS Permissions In Windows, follow this link: Setting NTFS Permissions.

Read More

Saturday, December 3, 2011

bench3

Understanding Virtual Folders On Windows | Windows Future Storage (WinFS)

You dont want to worry about the physical file system paths, and real folders. Instead, you just want to use the virtualized system. So that you wouldn’t need to worry about such arcane things as “the root of C:” and the Program Files folder. Instead, you would just access your documents and applications, without ever thinking about where they resided on the disk.

Most people won’t even realize that Libraries are virtual folders, let alone discover that you can create your own virtual folders with their contained shared searches. But if you do want to harness some of the most awesome and unique technology in Windows 7, this is the place to start. After all, that sort of electronic housekeeping is what a computer is good at, right?

In order to truly understand virtual folders, it’s important to first understand the thinking that went into this feature. And since this is a feature that was originally scheduled for the ever-delayed Windows Vista, it might also be helpful to know about Microsoft’s original plans for the Vista shell and virtual folders and compare the plans with what eventually happened.

Understanding Virtual Folders On Windows  Windows Future Storage (WinFS)

This original vision required a healthy dose of technology. The core piece was a new storage engine called WinFS (short for Windows Future Storage), which would have combined the best features of the NTFS file system with the relational database functionality of Microsoft’s SQL Server products. Microsoft has been working on WinFS, and now its successors, for about a decade.

Microsoft began developing it separately from the OS. Then, it completely cancelled plans to ship WinFS as a separate product. Instead, WinFS technologies would be integrated into other Windows versions including Windows 7, and Windows 8 and other Microsoft products.

Instead of special shell folders like Documents, users would access virtual folders such as All Documents, which would aggregate all of the documents on the hard drive and present them in a single location.

Other special shell folders, like Pictures and Music, would also be replaced by virtual folders.

It is then felt that the transition from normal folders to virtual folders to be extremely confusing. In retrospect, this should have been obvious. After all, a virtual folder that displays all of your documents is kind of useful when you’re looking for something, but where do you save a new file? Is a virtual folder even a real place for applications that want to save data? And do users need to understand the differences between normal folders and virtual folders? Why are there both kinds of folders?

With the problems mounting, Microsoft stepped back from the virtual folder scheme, just as it had when it stripped out WinFS previously. Therefore, the file system that appeared in Windows Vista was actually quite similar to that in Windows XP and previous Windows versions.

That is, the file system still used drive letters, normal folders, and special shell folders like (My) Documents and (My) Pictures. If you were familiar with any prior Windows version, you would feel right at home in the Vista shell. Likewise, if you found the Windows file system to be a bit, well, lackluster, all the same complaints still applied in Vista as well.

When Windows 7 arrived, Microsoft hasn’t relegated drive letters and physical folders to the dustbin of history. But they have implemented one of the early Vista file system plans in Windows 7: now, traditional special shell folders (but not the entire file system) have been replaced by virtual folders. This time around they’re called Libraries.

Also the capability to create your own virtual folders is also available in Windows 7, just as it was in Vista. And as in Vista, this feature is really well hidden. That makes it a power-user feature and thus, for new learners, inherently interesting.

The thing to understand is that while your typical special shell folders, My Documents, My Music, My Pictures, and My Videos, still exist in Windows 7, inside of your user folder, you will rarely need or want to access them directly. Instead, you will work with the content types stored in these folders via Windows 7’s new Libraries.

Read More

Monday, October 24, 2011

bench3

Choosing Between Single Click and Double Click To Open Files And Folders In Windows

You can choose how icons on the Windows desktop and in Explorer windows behave as you could in Windows Me, 98 Second Edition, and XP. Your choices are

• Single-click (Web style) To select the icon without running or opening it, move your mouse pointer to the icon without clicking, and wait a second. To run or open the icon, click it once. Icon labels appear underlined (like web page links).

• Double-click (Classic Windows style) To select the icon, click it once. To run or open the icon, click it twice. Icon labels are not underlined.

Follow these steps to choose between single-click and double-click:

1. Choose Start | Control Panel. Click the (Appearance And Personalization category For Windows Vista) or Folder Options In Windows 7.

For Windows XP, Click On My Computer – Tools – Folder Options.

2. Click the Folder Options icon. You see the Folder Options dialog box, shown in Figure below. If the General tab isn’t selected, click it.

Choosing Between Single Click and Double Click To Open Files And Folders In Windows

Whether you use single-click or double-click, you can right-click icons to see a shortcut menu of commands you can perform on the icon

The General tab of the Folder Options dialog box, where you can specify how Windows
icons work.

3. In the Click Items As Follows area, click either the Single-click or Double-click radio button. If you choose Single-click, choose whether you want icon titles to be underlined all the time (Consistent With My Browser) or only when your mouse pointer is on the icon (Only When I Point At Them).

4. Click OK.

That’s it. This is how you can Choosing Between Single Click and Double Click To Open Files And Folders In Windows

Read More

Thursday, July 21, 2011

bench3

Re-Initialize The Offline Files Cache And Database

I have installed Windows 7 (clean 64-bit) in my desktop. Before that I also upgraded my laptop, which has an offline connection with a shared folder on my desktop. Now, after updating my desktop, there is still an offline folder (inactive/greyed/disconnected) in the sync partnership, which points to the old shared folder on my desktop which does not exist anymore! I cannot get back and delete it since that partition on my desktop is gone. Is there a way to delete this connection from my laptop?

Solution:

The steps given below will suggest you to delete the office line folders:

Method 1:

The Offline Files cache is a folder structure located in the %System Root%\CSC folder, which is hidden by default. The CSC folder, and any files and subfolders it contains, should not be modified directly; doing so can result in data loss and a complete breakdown of Offline Files functionality.

1.In Folder Options, on the Offline Files tab, press CTRL+SHIFT, and then click Delete Files. The following message appears:

The Offline Files cache on the local computer will be re-initialized. Any changes that have not been synchronized with computers on the network will be lost. Any files or folders made available offline will no longer be available offline. A computer restart is required.

If you wish to re-initialize the cache:

2. Click Yes two times to restart the computer.

If the issue persists, then I would suggest you to modify the registry settings and check whether it helps. But before you modify or change registry. I would suggest you to create a restore point and then proceed with the further steps.

To create a restore point follow the steps mentioned below.

  • Open System by clicking the Start button, right-clicking Computer and then clicking Properties.
  • In the left pane, click System protection. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
  • Click the System Protection tab and then click Create.
  • In the System Protection dialog box, type a description and then click Create.

Create a restore point:

 

A restore point is a representation of a stored state of your computer's system files. You can use a restore point to restore your computer's system files to an earlier point in time. Restore points are automatically created by System Restore weekly and when System Restore detects the beginning of a change to your computer, such as when you install a program or a driver.

System image backups stored on hard disks can also be used for System Restore, just like the restore points created by system protection. Even though system image backups contain both your system files and personal data, your data files won't be affected by System Restore.You can create a restore point manually at any time by following the steps below.

  • Open System by clicking the Start button Picture of the Start button, right-clicking Computer, and then clicking Properties.

  • In the left pane, click System protection. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

  • Click the System Protection tab, and then click Create.

  • In the System Protection dialog box, type a description, and then click Create.

 Method 2

Use Registry Editor

If you cannot access the Offline Files tab, use this method to reinitialize the Offline Files (CSC) cache on the system by modifying the registry. Use this method also to reinitialize the offline files database/client-side cache on multiple systems. Add the following registry sub key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache
Key Name: Format Database
Key Type: DWORD
Key Value: 1

The actual value of the registry key is ignored. This registry change requires a restart. When the computer is restarting, the shell will reinitialize the CSC cache, and then delete the registry key if the registry entry exists.


All cache files are deleted and unsynchronized data is lost.

Use Reg.exe

You can also automate the process of setting this registry value by using the Reg.exe command line editor. To do this, type the following command in the Reg.exe window:

REG.EXE. REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache" /v FormatDatabase /t REG_DWORD /d 1 /f

 

Modifying REGISTRY settings incorrectly can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the configuring of REGISTRY settings can be solved. Modifications of these settings are at your own risk.

Read More

Thursday, June 30, 2011

bench3

How To Find iPod's Disk Format | Determine iPods Disk Format

iPod, iPod nano, and iPod mini can be restored to work with Macintosh or Microsoft Windows computers.

If configured for a Mac, the iPod will be restored as Mac OS Extended (HFS Plus). If configured for Windows, the iPod will be restored as FAT32.

And this article applies to iPod, iPod mini, iPod nano which will let you find the disk format of your iPod.

Checking your iPod disk format

To determine if your iPod has been restored for Macintosh or Windows, do this:

  • On your iPod, select Settings > About. If you're using an older iPod with older iPod software (such as iPod Software 1.x), select Settings from the main menu.
  • Scroll down to the bottom of the screen.

How To Find Your iPod's Disk Format  Determine iPods Disk FormatIf your iPod disk is configured for Macintosh, the serial number is the last item you'll see listed in the About screen. If the disk is configured for Windows, the last item you'll see is "Format: Windows."

You cannot use an iPod whose disk is configured for Macintosh on a Windows-compatible computer. However, you can restore the iPod disk to use it with a Windows-compatible computer. To do this, see "Steps To Restore iPod To Factory Settings." While a Windows formatted iPod may work on a Mac, Apple supports this configuration only with iPod shuffle.

About the iPod nano disk format

When you connect iPod nano to a Macintosh computer for the first time, you'll see this dialog:

This is because iPod nano comes preformatted for Windows (FAT32 file system). The first time you connect to a Macintosh, iPod nano will "reformat" itself to work with a Mac (HFS+ file system). This only occurs the first time you connect iPod nano to your Mac, and if you've never connected it to another computer.

Reasons Why iPod Nano Wont Work For Mac OS:

There are a few situations when iPod nano won't be optimized for Mac OS:

  • If you connect iPod nano to a Windows PC the very first time you use it and then connect iPod nano to your Mac.
  • If you open iTunes for the first time before you connect iPod nano for the first time, but you do not agree to the iTunes Software License Agreement.

In both cases, you will not see the "Optimizing" dialog, and iPod nano will not be optimized for Mac OS. If this happens to you, you can optimize iPod nano for Mac OS by simply using iPod Updater to Restore iPod nano on your Mac.

Read More

Saturday, June 25, 2011

bench3

Take Control Of Files And Folders In Windows | Fix Error Trusted Installer Denying Access To Files

In this article we will see how to delete files and folders in Windows 7 (also in Windows Vista) when you are denied to delete them.

When you want to delete some of your old files as they may take up space on the computer's hard drive and will subsequently get to a error message that you do not have the authorization to delete them and that you would need to get permission from windows trusted installer.

Even if you own this particular computer you will be forced with this message. Now the question is "what do one have to do to change the permissions"?

Even if you try to change them through the properties of the afore mentioned program files, all options necessary to change them will be grayed out, making us unable to select them.  Why does one unable to change settings on my own computer when run as the administrator? 

Here is my step by step process for reclaiming the right to delete and move files. 

Warning: DO NOT change the permissions of the Windows folder using the following method. Should you need permissions to edit files in the Windows folder, change them individually.  Windows Backup can be irreparably (as far as I know) broken by such a change.  LEAVE THE WINDOWS FOLDER ALONE UNLESS YOU KNOW EXACTLY WHAT FILE YOU NEED ACCESS TO.

  • 1. Click the start menu and open Computer.
  • 2. Click on the drive that contains the file you are trying to move/delete.
  • 3. Right click on the folder that contains the file you are trying to move/delete. Select Properties.
  • 4. Click on the Security tab.
  • 5. Under the box containing the permissions each entity has, click on Advanced.
  • 6. In the new Advanced Security Settings window, click on the Owner tab.
  • 7. In the owner tab, click on the Edit button.
  • 8. In the new window, you should see "Current Owner:" over a box with (most likely) trusted installer in it.  Under that you should see "Change Owner to:" followed by a short list of possible owners.

8a. If you see your username (listed as [Name] (My-PC\[Name])), then click on it and check the box below the Other users which says "Replace owner on subcontainers and objects".

8b. If you do not see your username, click on the "Other users" button. From there, enter your username into the space provided and click Check names. The username you typed should then get underlined and expanded.  Then click Ok. From there follow step 8a.

  • 9. Click Apply.
  • 10. Now close all windows opened from the properties window and close the properties window.  Reopen it, and under the box entitled "Group or user names," Click Edit.
  • 11. If you do not see your username, as chances are you won't, click add.  In the add window, type your username into the given space and click the Check names button. Your username should become underlined and expanded to include the computer name.  Then click OK. (I typically just click OK but if for some reason it doesn't work for you, at least you will know at what step you were tripped up.)
  • 12. Upon clicking OK, the Select User or Groups window will close and you should see you username has joined the other names in the Group or User names box. Click it, and then check the "Full Control" check box lower down.  This will grant you complete permissions for everything except "Special Permissions".  This is normal, and so far I have not found a way to check that checkbox but it hasn't presented itself as a problem yet so I wouldn't worry about it.
  • 13. Click Apply. You should see a window pop up saying "Changing Permissions" and file locations rapidly going by. This is normal and it means that the folder, subfolders, and files are having their permissions changed.

Alternatively, after closing and reopening the properties of the folder you want to change, you can click on the Advanced button again and then the Change Permissions button and follow similar steps once there.  This also allows you to create inheritable permissions. That is a whole new can of worms that I don't understand, so I just leave the checkboxes blank.

AGAIN, DO NOT CHANGE THE PERMISSIONS OF THE WINDOWS FOLDER. THIS COULD CAUSE A WHOLE HOST OF NEW PROBLEMS, ONE OF THEM BEING BROKEN WINDOWS BACKUP.

And if you want, you can completely remove Trusted Installer from the permissions.  I can't say what the benefit is, but it's satisfying. I hope this helps some of you.

Read More

Thursday, June 23, 2011

bench3

Manually Arranging Files And Pictures In A Folder In Windows 7

Many of us have dragged the files and pictures in Windows XP PC so that it apper in the order we keep it. But when this particular option is no longer available in Windows 7 according to Microsoft. Moving pictures and files around and within a folder is not possible in Windows 7.

Even when you try to drag and drop picture files within a folder to improve the order as we did with Windows XP, the files will return back to their original location within the folder.

Most of us absolutely must have the drag and drop feature within folders to function in a professional capacity.

if you are a photographer you need to drag images into the order that you need them to appear in slide shows and other related applications.

With that feature disabled we will be forced to rename each picture in the order we want to resort them and then use the default Microsoft sort function.  Far more time consuming and labor intensive than dragging and dropping images into the order we desire.

I appreciate that Microsoft think the new sort and search functions are more advanced and intuitive but some of us have developed a professional workflow that relies on capabilities you've now determined are unnecessary.  Every ones frustration is intense. 

I just spent three days moving from my old computer to a new unit running Windows 7 64 bit in order to improve the functionality of my Adobe software only to find out that one of the most personally useful features in Windows has been disabled. - Brandi Burkett, Professional Photographer.

Solution:

As explained before, there is no solution for this issue, as it is my design of Windows 7. However, If you are referring to the Arrange by date, size, etc then you can still do that by simply Right clicking and selecting Sort by option in the drop down menu when inside the picture or file.

This is what Microsoft support person has to say about this issue: You cannot manually rearrange the files/pictures by dragging within the folder in Windows 7. This change is by design in Windows 7. You can only uncheck the option to auto arrange icons on the desktop and can use it only on the desktop.

If you have any concerns or feedback with respect the issue or any other Microsoft application, please visit the links below and post the same:
Microsoft Connect
http://connect.microsoft.com/

Feedback for Windows 7

Read More

Sunday, June 5, 2011

bench3

MacAfee Forces The File To Be Hidden | How To Fix

I noticed that if I changed a files properties and saved it, the file would become hidden by default. [MacAfee Changing File Properties Forces The File To Be Hidden | How To Fix]

For example, if you had a photo that was upside down, if you simply turned it clockwise, it would instantly become hidden (have the hidden box ticked). If I right clicked on a music file, and changed one of the properties such as artist, as soon as I clicked apply, it would again be saved with the hidden box ticked. Of course I could simply un tick the hidden box, but this was becoming quite time consuming, and a little annoying.

I initially thought the files were being removed from my hard drive, but by changing folder options to show hidden files, I could see that they were just becoming hidden when edited.

I am using Windows 7 OS, and I have been using McAfee Total Protection 2009. When I initially tried to install McAfee, Windows highlighted that there were known compatibility issues with the program and wouldn't allow me to install it. However, by running it in compatibility mode as if it was running on XP, I was able to install McAfee without any issues and run it fine on Windows 7.

I thought it was a virus, however nothing was highlighted by any of the virus / malware programs I ran.

I tried a clean boot running only Microsoft basic services, but it still continued to do it.

So I did a clean install, I formatted my hard drive, and re-installed windows 7. I added my programs one by one and kept turning an image file to see if it disappeared. After Installing McAfee it was okay still, however as soon as MacAfee updated to a current version the problem again appeared. I removed MacAfee and it stopped.

However removing McAfee is not the solution, still I wish McAfee should come with a  solution to fix this solution. Right now, you can try the free Antivirus or other Internet Security as you wish, but make sure that is compatible with Windows 7.

I can only surmise that by running McAfee 2009 in compatibility mode in Windows 7, that one of the recent updates is causing a conflict which is causing files to alter to hidden when edited. I have since started using another internet security suite, and the issue has gone.

Microsoft Security Essentials is the name of Microsoft’s latest Anti-Virus/Anti-Spyware software for Windows operating system. It is already being tested internally at Microsoft and was launch in September last year.  Read more: Microsoft Security Essentials

Read More

Thursday, June 2, 2011

bench3

Does The Command Prompt In Windows Uses DOS Function

Why is this largely DOS oriented file naming convention still in place even in Windows 7. Why not go the UNIX route and avoid tree-corruption in Windows based system by copying of a file with an invalid name.

Well, i f your doubt is what stated above, then you are wrong. Its not the right or  proper terminology. 

First of all, there is no DOS in NT derived versions of Windows.   Nor is it likely that there will ever be a "next version of DOS," at least not from Microsoft.

The Windows command prompt and batch scripting language may resemble DOS but there is no actual DOS code or DOS function calls involved.

When Microsoft enabled long file names in Windows 95 it was done in such a way as to allow backward compatibility with the existing FAT based file system and, to a certain extent, command line syntax.

I would suggest that if you want to use long file names, you need to put them in quotes at the DOS prompt. i.e.- copy “C:\my long filename.txt” C:\filename.txt

Quotes are needed as the command processor would not otherwise be able to tell if a space is part of the file name or a a break preceding (or possibly following) a command line parameter.

It is possible that a future file system could eliminate the underlying 8.3 name and change the command line to assume all characters are part of a file name until a specific delimiter is found, but it seems unlikely.

Read More

Thursday, April 28, 2011

bench3

Edit File Properties For MP3 Files In Windows 7

If we upgraded from Vista Home Premium to Windows 7 Ultimate,sometimes we can't change the artist, album, genre, etc. info on any of the music files and when we go to the file's Properties and under the Details tab, or with the tags at the bottom of the Windows Explorer.

If we try to change something and click apply or OK, it just changes right back. We have all the permissions checked under the account also tried unchecking the Read-Only attribute of the folder and files, but  after we click apply or OK, again, it changes back when we reopen the dialog box.There are several other threads with the same problem, but none have a satisfactory answer/solution.

Solution:
Take a file from C:\Users\Public\Music\Sample Music and test it.
To troubleshoot this issue, you can try the following steps:
Enable built-in admin account
  • Click Start, click "All Programs", please find and open "Accessories" folder.
  • Please right-click on "Command Prompt" item and select "Run as administrator".
  • Please type the following command line in to the coming window.
net user administrator /active:yes
Note: There is a space between "Administrator" and "/active:yes".
  • Log off and log on the Administrator account.
Read More

Tuesday, April 5, 2011

bench3

Quickly Change Permissions Of Multiple Files

Recently i re-installed windows 7 on my computer, and have been having a very hard time resetting permissions on all of my music, videos, and pictures.  The media isn't on the boot drive, it's on a separate drive, so during the whole reinstallation process i left it alone.  When windows was working again, i used the security screen to take ownership of the drive and everything in it, however I've run into a bit of a snag. 

I have full control over the folders in the media drive, but none of the files have taken to the new permissions.  Each file says I tried going lower into my file hierarchy, and setting permissions on just the folders that my music is located in, and still no luck.

I can take ownership of individual files, and then i can edit them again, but there's just too many of them to do that individually.  Each file security window that there are two accounts that have permissions.  One called "account unknown.......1000", which i assume is my old account, because it has full permissions, and one called "account unknown.......1001" which i assume is my new account because it has no permissions. When i take ownership of the files, it just has "computername/username" as the owner of the file.  Is there something i can do to quickly change the permissions of each file?

You can use use Icacls.exe to modify access control lists for multiple files or folder and TakeOwn.exe to take ownership.

Icacls.exe
http://technet.microsoft.com/en-us/library/cc753525(WS.10).aspx

TakeOwn.exe
http://technet.microsoft.com/en-us/library/cc753024(WS.10).aspx

Say your content is within this folder:

C:\Users\bench3\NewFolder\Albums\The Beatles\

You should be able to right-click NewFolder, then use the permissions options to change the settings.  As long as you choose to "replace permissions on child objects", it should trickle down to all the files and folders below.

Read More

Saturday, March 26, 2011

bench3

Error_File_Corrupt When Moving A File | Chkdsk at Reboot

Many tools use temp files to create a new file and then use MoveFileEx to move the temp file over the existing file. In some cases Subversion does this multiple times in just a second. In this case Windows 7 starts returning ERROR_FILE_CORRUPT where older Windows versions returned ACCESS DENIED like errors.

This is not a big deal by itself, but this error is also broadcasted to other parts of the system.

  • * You get a status bar popup indicating that you should run chkdsk.exe to check your disk
    * A chkdsk run is scheduled for the next reboot.

Several Subversion users have declared their hard disk broken because of this bug misreporting one error after another

I can replicate this behavior with a simple C++ program on Windows 7 (multiple versions on different PC's), but I can't replicate this issue on Windows Vista or older systems.
(These start returning access denied constantly).

On Windows vista you only get the access denied (error 5) and the application doesn't quit. If you explicitly mark the directory as not to be indexed by Windows search and disable your virus scanner you get +- the Vista behavior. Either one of these can get you the errors.

Microsoft Claims that no actual corruption has occurred.

This is a known regression in Windows 7 in the NTFS file system.  It occurs when doing a superceding rename over a file that has an atomic oplock on it (atomic oplocks are a new feature in Windows 7).

The indexer uses atomic oplocks which is why it helped when you disabled the indexer.  Explorer also uses atomic oplocks which is why you are still seeing the issue.  When this occurs STATUS_FILE_CORRUPT is incorrectly returned and the volume is marked "dirty" which is a signal to the system that chkdsk needs to be run.  No actual corruption has occurred.

Read More
bench3

How To Delete The WinSxS Folder

Before you go off and tell me that WinSxS is important to my OS's functionality...
I had a Windows 7 SP1 RC installation, which I sort of wrecked and I had to reinstall the OS over it. Of course, what happened was that the old Windows files were transferred to Windows.old. However, the WinSxS folder of the original installation remained, and lives on at eight gigabytes. When I tried deleting it, either from XP or from the new Win7 installation, I got "Access Denied" or "You Need Permission From TrustedInstaller" respectively.

TrustedInstaller owns the WinSxS folders, and I cannot change the ownership status. I can rename the folder, but not delete it. I have tried to use MoveFile to delete it on bootup, and I'm this close to installing a tiny Linux distributable just to try and delete the folder.  How do I delete this useless, space-eating folder?

To take ownership of the folder, right-click it, select Properties > Security Tab > Advanced at the bottom > Owner Tab > Edit > Highlight your username and put a tick in ‘Replace owner on sub containers…’ and Apply > OK. You will only have the ‘Replace owner on subcontainers…’ box for folders not files. Click Yes when you receive the Security pop-up window then click OK to the Close/Reopen message.

Now go back to the Properties > Security Tab. Click Edit > Add. Type in your User Account Name in the box under Enter the objects name to select. Click on Check Names > OK. Click on your User Account Name to highlight it. Check the box for Full Control > Apply and OK etc.

 

Here are some summarized points of what I understood about how all of it works.

To start by answering the question with the perfect answer posted above. Best advocie is not to touch winsxs. Maybe some of the files can be trimmed like the mp3's, avi's, etc but the rest of the system files should be left alone. I too am using Link Shell Extension as posted above by Ronnie Vernon, easy way to see which are hard linked (red arrow) and which are simple files.

Before getting here I saw in a lot of places people asking for the cleanup tool after installing SP1 for Windows 7 like vsp1cln. There is no dedicated tool, it all got integrated into the Disk Cleanup service. One note that I would make here is that even if the option says it will remove a few hundreds of MB after I cleaned up my drive the service removed around 3GB of excess files, so it varies from system to system. Funny, now I have even more space than I had before installing SP1. Nice one, MS.

Regarding the hard links, I got amused by the confusion created around them. I'm not a linux geek, and I usually use only soft links... they're enough for me, but people didn't get how the hard ones work and how size is counted.

A group of selected files, links or not, will always be counted as a sum. This means that if I take a 10MB file, and make 2 hard links, the selection of all three of them will have 30MB and this is the correct size, because unlike the soft links which are related to the file's original Master File Table entry and have 0 bytes, hard links are related to the data itself, have their own entry in MFT but point to the same data address, obviously having as size the size of the actual data, same times, attributes and so on. Why, below.

How much is left on the drive? Simple: exactly as much as the drive's own properties reports. Don't go selecting all the files, hidden and non hidden on C and making comparisons, or using tools that do that automatically because it won't show the actual HDD usage. Why? Because:

  1. That operation makes a list of all the selected files including hard links as separate files, takes each of them and adds the sizes up, the drives properties counts the actual stored data
  2. Not all the files will be counted, folders protected from traversing and files from reading will not be counted and the System Volume Information usually has very large files protected just in this manner
  3. That number is useful only in cases of file transfer, if the files, links, etc need to be copied to DVD or NAS, that's how much they would occupy, and the links will not be preserved since they are NTFS specific features, not available or available in different forms under ISO, UDF, NFS and other file systems, but they will be cloned.

Make a test... copy a 10MB file, a.exe, from a different drive and notice how the free space drops by the 10MB. Make a hard link (mklink /H b.exe a.exe). Now these two files selected will "use" 20MB in the selection properties, but actually only 10MB verified at the drive's properties, which will have the same free space as it did/does after the file copy. Delete one, either one, the free space will remain the same. Now delete the last one and the space will increase by 10MB. Was there any harm done? NO.

What is winsxs?

A much better dllcache. Where with the dllcache in XP we had copies of files that actually added to the size usage since they were cloned, this actually improves usage but not total protection (against viruses). If a rogue uninstaller thinks it has to remove some runtime libs from System32, it would only delete the links, but not the data, then the links would be recreated while keeping data space usage at lowest possible, better than archiving winsxs in cabs and having the cabs along side the original files. Also winsxs bring serialization, compartmentalizing files with the same name but different version, for the dev's sake, which is a good thing / bad thing, it makes them lazy to code properly but it helps when they don't want to code anymore.

I did this to help anyone that lands here out of the same reasons I did... excessive "usage of space" by winsxs after SP1. And I hope it was helpful.

Read More

Thursday, January 13, 2011

bench3

Upgradiing 32-Bit Windows To 64-Bit Windows | How To

Is it possible to upgrade from a 32-bit version of Windows to a 64-bit version of Windows 7 or from a 64-bit version of Windows 7 to a 32-bit version of Windows?

You can use the Upgrade option during Windows 7 installation, which preserves your files, settings, and programs, only if you're currently running a 32-bit version of Windows Vista and you want to upgrade to the 32-bit version of Windows 7. Similarly, if you are running a 64-bit version of Windows Vista, you can only perform an upgrade to a 64-bit version of Windows 7.

If you want to move from a 32-bit version of Windows to a 64-bit version of Windows 7 or vice versa, you'll need to back up your files and choose the Custom option during Windows 7 installation. Then, you'll need to restore your files and reinstall your programs. For more information about performing a custom installation, see Installing and reinstalling Windows 7‍.
Notes:
  • To install a 64-bit version of Windows 7 on a computer running a 32-bit version of Windows, you'll need to start, or boot, your computer using a 64-bit Windows 7 installation disc or files.
  • If you start your computer using a 64-bit Windows 7 installation disc or files, but your computer isn't capable of running a 64-bit version of Windows, you'll see a Windows Boot Manager error. You'll need to use a 32-bit Windows 7 installation disc or files instead.
  • Windows Easy Transfer can't transfer files from a 64-bit version of Windows to a 32-bit version of Windows. If you're running a 64-bit version of Windows Vista but you plan to install a 32-bit version of Windows 7, you can move your files to an external location manually or use Backup and Restore in Windows Vista. (If you're running a 64-bit version of Windows XP, you'll need to move your files to an external location manually.) Also Read: How To Find If Your Computer Is Running A 32-bit Or 64-bit Windows
Read More

Monday, January 10, 2011

bench3

How Can I Format An Existing Partition In Windows 7

Create and format a hard disk partition: To create a partition or volume (the two terms are often used interchangeably) on a hard disk, you must be logged in as an administrator, and there must be either unallocated disk space or free space within an extended partition on the hard disk.

If there is no unallocated disk space, you can create some by shrinking an existing partition, deleting a partition, or by using a third-party partitioning program. And if you bought a new Hard Disk and what to create partition on that, see How To Create New Partition On A Hard Disk In Windows 7

To format an existing partition (volume)
Formatting a volume will destroy any data on the partition. Be sure to back up any data you want to save before you begin.
  1. Open Computer Management by clicking the Start button Picture of the Start button, clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Computer Management. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
  2. In the left pane, under Storage, click Disk Management.
  3. Right-click the volume that you want to format, and then click Format.
  4. To format the volume with the default settings, in the Format dialog box, click OK, and then click OK again.
You cannot format a disk or partition that is currently in use, including the partition that contains Windows.
The Perform a quick format option will create a new file table, but will not fully overwrite or erase the volume. A quick format is much faster than a normal format, which fully erases any existing data on the volume.
Read More
bench3

Creating New Partition On A Hard Disk In Windows 7

Create and format a hard disk partition: To create a partition or volume (the two terms are often used interchangeably) on a hard disk, you must be logged in as an administrator, and there must be either unallocated disk space or free space within an extended partition on the hard disk.

If there is no unallocated disk space, you can create some by shrinking an existing partition, deleting a partition, or by using a third-party partitioning program. For more information, see How can I format an existing partition.

To create and format a new partition (volume)
  • 1. Open Computer Management by clicking the Start button Picture of the Start button, clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Computer Management. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
  • 2. In the left pane, under Storage, click Disk Management.
  • 3. Right-click an unallocated region on your hard disk, and then click New Simple Volume.
  • 4. In the New Simple Volume Wizard, click Next.
  • 5. Type the size of the volume you want to create in megabytes (MB) or accept the maximum default size, and then click Next.
  • 6. Accept the default drive letter or choose a different drive letter to identify the partition, and then click Next.
  • 7. In the Format Partition dialog box, do one of the following:
    • If you don't want to format the volume right now, click Do not format this volume, and then click Next.
    • To format the volume with the default settings, click Next.
  • 8. Review your choices, and then click Finish.
When you create new partitions on a basic disk, the first three will be formatted as primary partitions. Beginning with the fourth, each one will be configured as a logical drive within an extended partition.
Read More

Sunday, January 2, 2011

bench3

Importance Of Creating A Recovery Plan

A Few Steps Today Will Save Your Data Center Tomorrow:  NO DATA CENTER is exempt from disaster. The truth is disasters happen all the time, caused by such things as human error, system breakdowns, and natural disasters. Worst of all, you never know if or when it will happen to you. 

The main question is: Are you ready for a disaster if it happens to your data center? Part of being ready for a disaster in the enterprise is knowing how to test a disaster plan and also how often you should test it. Here are a few suggestions to help you prepare for when disaster strikes.

The Plan Is A Priority:
A disaster plan should be a priority in any data center. Disaster preparedness ensures that the IT operations of an enterprise are able to recover from some form of outage-inducing interruption. “Given that enterprises these days are essentially completely reliant on their IT operations to perform their business operations, the ability to recover from such outages means that they are able to continue to operate as a viable functioning business. A number of trends are pushing the increasing need for data center disaster planning. 
  • First, Data is growing at an alarming rate; in fact, many companies are reporting data growth rates of 50% or more per year. 
  • Secondly, the current trend for business is moving toward a geographically dispersed, 24/7 service model. Customers want to submit purchase orders online, pay bills online, and access their accounts through customer- facing online portals from anywhere, at any time. 
The productivity cost of unplanned downtime is increasing, and so is the revenue cost from lost transactions and service failure. Although it might be tempting for businesses to improve server performance and storage efficiency by implementing more aggressive deletion policies, regulatory compliance demands are forcing them to keep older data on file for several years. As the rate of data production continues to grow, it creates a snowball effect. Another trend is that companies are cutting back on their IT spending, training, and staffing because of difficult economic conditions. This increases the likelihood of unexpected disasters.

Testing Methods:
There is a well-established hierarchy of testing types for disaster recovery infrastructure and operations. Walkthrough tests are essentially document reviews where a hypothetical disaster is posited and the team walks through the resolution according to the details outlined in the plan. These tests should always occur first and are used to find gaps and oversights in the plan itself.

After walkthrough tests, there are simulation tests and parallel tests. In the former, the recovery infrastructure is brought online to make sure processes work and that systems can be made functional. In the latter, historical data is processed to ensure appropriate results are generated. Only after all these types of tests have been conducted should an interruption test (wherein production processing is failed over to the recovery site) even be considered. Also, the only effective way to test a disaster plan is through simulation tests that are run at least once a year. And when you test your plan, you should try a number of different scenarios. “For example, what if your CEO’s laptop was stolen and it contained important data? Or what if human resources needed to retrieve six years’ worth of old files for a wrongful dismissal suit—how long would it take you to search through six years of historical email and locate all conversations relating to a specific topic, theme, or incident? Another consideration is how quickly you can recover a critical server in the event of power failure causing disk failure.

Additionally, how quickly can you rebuild a server from bare metal? And if the data center caught fire, how much downtime would the company have to endure before coming back online? How long would this take? And how long would it take you to set up a new server at another location on a moment’s notice? As far as frequency is concerned, Realistically speaking, enterprises should be continually testing their plans. The point of testing is less about building the skills to operate the plan in the event of a disaster than it is about discovering mistakes, oversights, and errors in the plan and supporting infrastructure, adding that as each error is found and corrected, subsequent testing is needed.

Enterprises should try to avoid testing the disaster recovery in “broad strokes. The likelihood that catastrophic failures will occur is far lower than the likelihood of localized “small-scale” outages. Further, broad testing requires a tremendous leveraging of resources, while scenario testing can be accomplished with less effort. Over time, the sum of the work performed in scenario testing will more than equate to the gains that can be made with catastrophic failure testing.

Work With Trustworthy, Capable Vendors:
When it comes to disaster recovery planning , corporate data protection is very complex. You have to deal with many different systems (email, databases, operating systems, laptops, compliance, high-availability, etc.), and each of these requires a different disaster protection approach. The best advice would be to pick a partner that offers many different types of business data protection solutions and to have them put together a tailored disaster recovery plan based on your IT needs. When you work through a trusted vendor for your entire backup, recovery, and availability systems, it simplifies your IT management and reduces or eliminates the possibility of overlap, waste, or system conflicts.

Key Points
  • Walkthrough tests, in which a hypothetical disaster is posited and the team walks through the plan for resolution, should always occur first. These tests can help find gaps and oversights in the plan itself.
  • An effective way to test a disaster plan is through simulation tests, which should be run at least once a year. Try a number of scenarios when you test the plan.
  • Testing a plan is also about discovering mistakes, oversights, and errors in the plan and supporting infrastructure.
Read More