►►­­LY◄◄ || ►►­­NP◄◄

Nov 10, 2011

What Is Task

 In computer programming, a task is a basic unit of programming that an operating system controls. Depending on how the operating system defines a task in its design, this unit of programming may be an entire program or each successive invocation of a program. Since one program may make requests of other utility programs, the utility programs may also be considered tasks (or subtasks). All of today's widely-used operating systems support multitasking , which allows multiple tasks to run concurrently, taking turns using the resources of the computer.

General Protection Fault (GPF)

General protection fault (GPF sometimes seen as general protection error) the name of an error caused when an application program (for example, Microsoft Word or the Netscape Web browser) tries to access storage that is not designated for its use. An operating system (such as Windows 95) manages the use of random access memory (RAM) for its own needs and for those of the application programs that it manages. The application programs are actually managed as task. When a task attempts to write to a place in RAM that is outside its assigned storage area, the operating system requires that the task or application be closed. Users usually get a message that tells you this is happening, but there isn't much you can do about it other than to restart the program and hope it will run successfully the next time.

Blue Screen of Death (BSOD) - GujaratiKanudo


The blue screen of death (BSOD), is the informal name given by users to the Windows general protection fault (GPF) error. Named in honor of the error's dreaded display image of white text on a blue background, the BSOD is generated by the operating system when it has suddenly terminated with an error. The system locks up and must be rebooted. The blue screen may include some hexadecimal values from a core dump that can potentially be used to determine what caused the crash.

Windows Components Wizard from Command Line


Quick and easy way to launch the Windows Components Wizard. You could either run the following command from the Start / Run line or create a shortcut.

%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf

This will launch the Windows Components Wizard so you don't have to go the traditional route through Control Panel / Add/Remove Programs.

*Best use from Server side to Client side installation remotely and for log-on script too..

-MEHUL PATEL

Nov 30, 2010

Fixing Permissions on an External Hard Drive - Windows

Today I pulled a hard drive from my old computer and hooked it up to my new computer, planning to move the data to the new drive and then use the old drive as a backup disk. Mostly this plan worked well, except that I wasn't allowed to delete many files and folders, even though I was an Administrator. Curious.

The problem turned out to be that I was on a workgroup, not a domain, and so the systems didn't have any common notion of "Administrator". Although Explorer knows how to request elevated permissions, this still isn't enough. You have to "Take Ownership" of the files in order to delete them, and there's no way to do this from Explorer.

I found a solution in the winmatrix forum, but it only works for files, not directories. You can't set the Full Control permission on a directory, so you end up being locked out of directories if you try and use these commands:

takeown /f filepath /r
icacls filepath /grant yourusername:f /t


Note that I've added /r and /t to the commands, which is required for the them to operate recursively.

Instead, I did the steps below. These steps assume that the new drive is on E:.
  1. Open a Command Prompt with Run As Administrator.
  2. Run this command: takeown /f e:\ /r
  3. Right-Click on the root of the copied drive.
  4. Select Properties.
  5. Click the Security tab.
  6. Click the Edit button.
  7. Select Authenticated Users.
  8. Click the checkbox under Allow for Full Control.
  9. Run this command: icacls e:\*.* /reset /t
    This command will force all permissions to mirror the permissions on the root of the drive that you set in #6. You must have the *.* or the root directory will be reset, which you don't want.
After these commands completed, I was able to delete all of the desired files. Executing these commands can take quite a while if you have many files on your disk.

___________________________________