Saturday, March 1, 2014

How to Fix Windows 7 When It Fails to Boot

There's a fix for that!
Whether caused by a virus, a new operating system or by simple mistake, being faced with an "Operating System not found" or similar error during your computer system's boot up can be a nerve rattling experience. Assuming you have Microsoft's Window 7 installed however, do not fear, such a boot error can often be resolved in just a few simple steps.

First, check your BIOS and hardware

In many cases, having Windows 7 fail to boot may be as simple as having your BIOS set with an incorrect boot order sequence. It can be quite common if you have more than one hard drive installed in your computer and your BIOS gets reset. Usually you can access your BIOS seconds after your computer turns on by pressing the Delete button or by pressing a specific function key. Once in the BIOS, check to see that your system drive is listed appropriately in the boot order sequence; you may need to refer to your motherboard manual for help.

Another possible reason for Windows not being detected upon start up is a hardware issue. If your BIOS is unable to detect your system drive, check to make sure all the cables are plugged in properly. If your hard drive is making an odd noise, such as a clicking sound, your hard drive may be broken. Finally, it is possible that the hard drive is having data corruption issues, which has damaged important system data, such as the Master Boot Record (MBR). If you suspect a faulty hard drive, it may be a good idea to backup and scan your hard drive for errors from another computer and possibly consider buying a replacement. Trying to repair a boot problem on a damaged drive can possibly lead to even more data loss, so backup your data before attempting anything.

The MBR and other important boot data can also be damaged by trying to install an earlier version of Windows, such as Windows XP, alongside Windows 7 and by third-party programs, such as viruses. In the case of a virus, it is recommended that you run a virus scan of the drive before attempting any repairs as otherwise it could lead to more data loss. It is further possible to achieve the appearance of damaged boot data by having the wrong drive partition set to active, which can be the outcome of an overly curious Windows user with administrative permissions.

Fixing the MBR and other start up problems in Windows 7 is most quickly accomplished by using the Windows 7 Installation DVD. If you do not have a Windows 7 Installation DVD however, you can alternatively use a Windows 7 System Recovery Disc, which we will show you how to create further down in this article.  If you do not yet have either aWindows 7 Installation DVD or a recovery disc, do yourself a big favor and make a recovery disc right away to avoid any unnecessary headaches down the road.

Fixing the Master Boot Record (MBR)

Step one: Turn your computer on, booting from either your Windows 7 Installation DVD or Windows 7 System Recovery Disc.  Remember, you may need to change the boot order inside your BIOS to have the your DVD drive boot first.

Step two: After the installation or recovery disc loads, if prompted, select your language settings and then continue.  If you are using the installation DVD, when prompted by the following screen select Repair your computer.
windows-7 mbr fix
Step three: The computer will take a moment now to scan itself for any Windows installations, after which you will likely be given a choice to select which installation you wish to repair.  Select the appropriate Windows installation from the list and then continue. If by chance a problem is detected in one of your Windows installations at this initial stage, the system may also ask you if it can try to repair the problem automatically. It is up to you if you wish to let the system try to repair itself, but otherwise just select No.  
Step four: Once you have reached the System Recovery Options screen, as shown below, you will be faced with a list of choices that can aid you in repairing a damagedWindows 7 operating system.  If you wish to try the Startup Repair option first, it is often successful in automatically fixing many different start up issues, but in this article we will be using the Command Prompt option to resolve our problems manually. So, click Command Prompt to continue. 
Step five: Now sitting at the command prompt, enter the following command and then press enter:

         bootrec.exe /FixMbr
If successful, you should be greeted with the message The operation completed successfully.  That's it!  Your Master Boot Record has been repaired.

While the above command does fix the MBR, and sometimes that is enough, there still might be an error with the system partition's boot sector and Boot Configuration Data (BCD). This might occur if you have tried to install another operating system alongside Windows 7, such as Windows XP.  To write a new boot sector, try the following command:

        bootrec.exe /FixBoot
If you are still faced with your Windows 7 installation not being detected during start up, or if you wish to include more than one operating system choice to your system's boot list, you can try the following command to rebuild your BCD:
       
        bootrec.exe /RebuildBcd

The above command will scan all your disks for other operating systems compatible with Windows 7 and allow you to add them to your system's boot list. If this fails, you may need to backup the old BCD folder* and create a new one in its place with the following commands:

        bcdedit /export C:\BCD_Backup
        c:
        cd boot
        attrib bcd -s -h -r
        ren c:\boot\bcd bcd.old
        bootrec /RebuildBcd
*Some users also find simply deleting the boot folder and retrying the above steps effective at resolving boot issues, but it is not recommended.

How to change active partitions
Upon purposely changing the active partition on my system drive, I was faced with aBOOTMGR is missing error during my system's start up that prevent Windows from starting. It is a common mistake to make when playing with partitions on a system drive and it can be a headache to solve if not prepared. To change your active partition back using the Windows 7 recovery disc or Installation DVD, follow the steps below.

Step one: Follow steps one to four in the above guide. This should take you to the Command Prompt in the Windows Recovery Environment.

Step two: Type DiskPart and then press Enter.

Step three: Type List Disk now and then press Enter. This command will list all disks attached to your computer and assign them a disk number.

Step four: Type Select Disk x, where x is the number for the disk containing the partition you wish to make active. Press Enter.

Step five: Type List Partition and then press Enter. You will now be shown a list of the partitions on the selected disk. Determine which partition you wish to make active.

Step six: Type Select Partition x, where x is the number of the partition you wish to make active.

Step seven: Now, just type Active and then press Enter. That should be it - the selected partition is now active.
How to create a Windows 7 System Recovery Disc
Windows 7 makes it easy to create a System Recovery Disc if you already have Windows 7 installed and running. 

Step one: Click Start > All Programs > Maintenance > Create a System Repair Disc
Step two: Insert a blank CD or DVD into your disc drive.

Step three: Click Create disc and let the program do its thing.
That's it! It only needs to write about 140- to 160-megabytes to the disc, depending on whether your OS is 64-bit or 32-bit, and that should only take a minute. If you do not have a CD/DVD-R drive to create a recovery disc with, you can alternatively download the ISO image of the Windows 7 System Recovery Disc and use it to make a bootableUSB flash drive.

How to create a Windows 7 System Recovery USB flash drive
Step one: If you do not have a DVD drive, download the appropriate Windows 7Recovery Disc image from Here. You will need a torrent client for this step, such asµTorrent. Alternatively, if you have a DVD drive, you can use an existing Windows 7Installation DVD or a Windows 7 Recovery Disc when at step seven. 

Using a Windows 7 Installation DVD at step seven will also allow you to install Windows 7 via USB, not just recover a damaged system; very useful if you have a netbook!

Step two: Open a command prompt with administrative rights. To do this, click Start > All Programs > Accessories and then right click Command Prompt, followed by clickingRun as administrator.

Step three: After accepting any UAC verification questions, you should now be at the command prompt. Make sure your USB flash drive is plugged in and then type DiskPart, followed by pressing Enter.

Step four: Type List Disk and then press Enter. Determine which disk number corresponds to your USB flash drive. In the following scenario, Disk 1 corresponds to our USB drive since we know our USB drive has a capacity of 2-gigabytes.

Step five: Enter the following commands in order, changing the disk number to the disk number listed for your USB drive.  Warning - the following commands will erase everything on your USB drive or the disk you select.
        Select Disk 1
        Clean
        Create Partition Primary
        Select Partition 1
        Active
        Format FS=NTFS 
Step six: After DiskPart successfully formats the USB drive, which might take a few minutes, you will want to enter the following commands:

        Assign
        Exit
Step seven: You will now need to copy the contents of the ISO image you downloaded, or the contents of a DVD you wish use, to the USB flash drive.  There should be two folders and a file in the ISO image that need to be copied. To extract the files contained within an ISO image, you will need to use a program such as WinRAR. You can download WinRAR from here.

Step eight: Now that the files are copied, we will want to make the USB drive bootable. To accomplish this however we will need to download a small file called bootsect.exe; it can be downloaded from here or here. The file can also be found in the boot directory of the Windows 7 Installation DVD.  Once downloaded, place the bootsect.exe file in the root directory of your USB flash drive.

Step nine: Back at the command prompt, we will want to change the current directory to that of the USB drive and run the bootsect command. In our case this is drive E, so we will be using the following respective commands:

          e:
          bootsect /nt60 e:

The bootsect command will update the target volume with a compatible bootcode. If all goes well, you should now have a bootable USB recovery drive; just remember to add the USB drive to the boot list in your system's BIOS for it to work upon start up.

Wednesday, February 19, 2014

Table by version Windows 8

The following table makes a comparison of the characteristics of the three versions of Windows 8, but should not be considered an exhaustive description. Review only the most important.
Comparison of versions Win8

WINDOWS 7 USEFUL TOOL FOR USERS (SNIPPINGTOOL)

If you are using windows 7 as a OS in your pc then I am going to introduce you to a very useful and awesome tool ofWindows 7. This tool is “Snipping Tool” and used to take the screenshot of your favourite site or folder or icon or anything on computer. If you want to learn to use this tool then read these following steps
STEP 1. – First of all press WINDOWS+R and type SNIPPINGTOOL and hit enter.
STEP 2. – Now following type software will appear in front of you
STEP 3. – Now select shape of cutter [i.e. Free-Form, Rectangular, Window, Full Screen ] as per your use on clicking on NEW button
STEP 4. – Now after doing step 3 , cut area according to you need and save the screenshot.

Windows Versions

COLLECTION OF TOP BEST WINDOWS TRICKS

Running Mac OS X on VMware Workstation in Windows Platform Introduction

This simple guide is for those who want to try out Apple’s Macintosh OS X on VMware Workstation in Windows platform.  The basic requirements are:
  1. A PC running Windows x86 or x64
  2. VMware Workstation 8
  3. Download the following files:
    1. Mac OS X Lion VMware Files.exe (Size: 2.42MB)
    2. Mac OS X Lion Retail Bootable .vmdk (For VMware) (A bit torrent of size 4.12GB)

Patch VMware Workstation 8 with VMware Workstation 8.0 Darwin Unlocker Windows

Before running Mac OS X on VMware workstation, a patch should apply to some binary files of VMware workstation.
For illustration purpose, the following example will attempt to patch VMware Workstation 8 binary files:

  1. First, extract the download file Mac OS X Lion VMware files.exe.using any file archive utility like 7-Zip or double click the .exe to extract the files.
  2. Open command prompt (cmd) in Administrator Account.
  3. Navigate to extracted folder “VMware Workstation Unlocker - Windows" and run install.cmd:
M:\>cd "VMware Workstation Unlocker - Windows"

M:\VMware Workstation Unlocker - Windows>install.cmd
VMware Unlocker 1.0.0
=====================
(c) Dave Parsons 2011
Stopping VMware services...
The VMware Workstation Server service is stopping.
The VMware Workstation Server service was stopped successfully.


The VMware Authorization Service service was stopped successfully.

Creating backup folders.
...
Starting VMware services...
The VMware Authorization Service service is starting.
The VMware Authorization Service service was started successfully.

The VMware Workstation Server service is starting.
The VMware Workstation Server service was started successfully.

M:\VMware Workstation Unlocker - Windows>
The VMware workstation 8 is now patched.  You may continue the next step to configure and run Mac OS X Lion on VMware workstation 8. 

Install Mac OS X Lion on VMware Workstation

Prepare a Mac OS X machine

Extract pre-configure Mac OS X Lion VMware workstation files from Mac OS X Lion VMware Files.exe in a new folder:
1
Start the virtual machine Mac OS X Lion.vmx.  A dialog prompt for the virtual machine instance state:
2
Press “I copied it” button to state the virtual machine is a cloned instance.

Prepare Mac OS X Installation

The machine setting may change to suit the environment.  e.g.: Memory size.
Next, add Mac OS X Lion Installer disk (Mac OS X Lion Installer.vmdk) by creating a new VMware hard disk.
2

Start Mac OS X Machine

Power on the virtual machine.  A Mac OS X installation screen should appear as follow:
5

Prepare a disk for Mac OS X installation

Next, start Disk Utility to prepare a disk for Mac OS X installation:
4
Create a new Mac OS X partition  by using the Erase option.  A label for the new disk may specify in the option:
6
Confirm the Erase operation:
7

Start Mac OS X Installation

Follow the screen instruction to continue Mac OS X installation:

9

Confirm the installation on the new disk created:

10

The installation may take a while to finish:
11

Finish Mac OS X Installation

Finally, the Mac OS X installed and the first screen appear as follow:

12

Install VMware tools

VMware tools provide few GUI enhancement experience for Mac OS X guest.  Download VMware tools ISO for OS Xhere.  Follow the following steps to install VMware tools in OS X:
  1. Extract a ISO file (darwin.iso) from the zip archive file
  2. Mount the ISO file to Mac OS X Guest operating system

    2
  3. Start Mac OS X guest system.
  4. Open Finder from OS X desktop and select CD/DVD ROM device.

    1
  5. Double click Install VMware Tools icon to start VMware tools installation
  6. Follow the screen instruction to complete installation.

Reference

  1. How To Install Fully Functional Mac OS X Lion Virtual Machine inside Windows 7 [UPDATE: 10.7.3]. URL:http://www.windows7hacker.com/index.php/2011/09/how-to-install-fully-functional-mac-os-x-lion-virtual-machine-inside-windows-7/

Configure Virtual WiFi connection






Choose a SSID to identify your virtual WIFI AP and set a password for it. Type the following command in command line console running as administrator to start configure:

open cmd
open cmd


C:\Windows\system32>netsh wlan set hostednetwork mode=allow ssid=MyWifi key=password keyUsage=persistent
The hosted network mode has been set to allow.
The SSID of the hosted network has been successfully changed.
The user key passphrase of the hosted network has been successfully changed.

Make sure the physical Wifi adapter is enabled before start the Virtual WiFi connection:

C:\Windows\system32>netsh wlan start hostednetwork
The hosted network started.

The Virtual WiFi connection (MyWifi, in this example) is active:

image

The Virtual WiFi connection is ready to accept connection now.  Use any other WiFi device (Smartphone, other notebook, PC) to check if the MyWifi connection appears the WiFi connection list.
Please note that the virtual WiFi connection does not connect to any Internet connection yet.  All WiFi connection to MyWifi is isolated in the MyWifi network only
.

Share Internet connection to Virtual WiFi connection

Enable Internet Connection Sharing for virtual WiFi connection allow Internet traffic be served for virtual WiFi client.  First, identify the network connection with Internet access:

image

Open properties page of the Network Connection with internet access and set the following:
  1. “Allow other network users to connect through this computer’s Internet connection.
  2. Set Home networking connection to “Wireless Network Connection 2” (The connection should be Virtual WiFi Connection).
  3. Click OK to commit changes.

image

The Virtual WiFi connection should have access to Internet now:

image

Other WiFi device connect to virtual WiFi connection should be able to access the Internet immediately.

Virtual Wifi AP not started after reboot

The Windows 7 Virtual WiFi connection is not persisted when machine reboot.  You should start the virtual WiFi connection each time machine has rebooted:
C:\>netsh wlan show hostednetwork

Hosted network settings
-----------------------
    Mode                   : Allowed
    SSID name              : "MyWifi"
    Max number of clients  : 8
    Authentication         : WPA2-Personal
    Cipher                 : CCMP

Hosted network status
---------------------
    Status                 : Not started


C:\>netsh wlan start hostednetwork
The hosted network started.

Stop virtual WiFi connection

Run the command to stop connection:
C:\>netsh wlan stop hostednetwork
The hosted network stopped.

Uninstall virtual WiFi adapter

It is not necessary to uninstall virtual WiFi adapter as the uninstall is not permanent.  The virtual WiFi adapter will be installed once your reboot machine.  If you mean to uninstall the virtual WiFi adapter for current session, try this:
C:\>netsh wlan set hostednetwork mode=disallow
The hosted network mode has been set to disallow.

Side Effect: Unable to access network share after update Microsoft Virtual WiFi Miniport Adapter

There is a side effect if Microsoft Virtual Wifi Miniport Adapter has been updated.  The network share may not be accessed and “0x8004005 Unspecified error” may prompt:
image
This is due to the “Client for Microsoft Networks” service is missing from the network connection.  Reinstall service “Client for Microsoft Networks” will solve the error:

Untitled

Tuesday, November 12, 2013

Computer - Ports

Computer - Ports



What is a Port?

  • A computer port is a physical docking point using which an external device can be connected to the computer.
  • A computer port can also be programmatic docking point through which information flows from a program to computer or over the internet.

Characteristics

  • External devices are connected to a computer using cables and ports.
  • Ports are slots on the motherboard into which a cable of external device is plugged in.
  • Examples of external devices attached via ports are mouse, keyboard, monitor, microphone , speakers, etc.
Ports
Following are few important types of ports:

Serial Port

  • Used for external modems and older computer mouse.
  • Two versions: 9 pin, 25 pin model.
  • Data travels at 115 kilobits per second.

Parallel Port

  • Used for scanners and printers
  • Also called printer port.
  • 25 pin model.
  • Also known as IEEE 1284-compliant Centronics port.

PS/2 Port

  • Used for old computer keyboard and mouse
  • Also called mouse port.
  • Most of the old computers provide two PS/2 ports, each for mouse and keyboard.
  • Also known as IEEE 1284-compliant Centronics port.

Universal Serial Bus (or USB) Port

  • Can connect all kinds of external USB devices such as external hard disk, printer, scanner, mouse, keyboard, etc.
  • Introduced in 1997.
  • Most of the computers provide two USB ports as minimum.
  • Data travels at 12 megabits per second.
  • USB compliant devices can get power from a USB port.

VGA Port

  • Connects monitor to a computer's video card.
  • Has 15 holes.
  • Similar to serial port connector but serial port connector has pins, it has holes.

Power Connector

  • Three-pronged plug
  • Connects to the computer's power cable that plugs into a power bar or wall socket.

Firewire Port

  • Transfer large amounts of data at very fast speed.
  • Connects camcorders and video equipments to the computer
  • Data travels at 400 to 800 megabits per second.
  • Invented by Apple
  • Three variants: 4-Pin FireWire 400 connector, 6-Pin FireWire 400 connector and 9-Pin FireWire 800 connector

Modem

  • Connects a PC's modem to the telephone network.

Ethernet Port

  • Connects to a network and high speed Internet.
  • Connects network cable to a computer.
  • This port resides on an Ethernet Card.
  • Data travels at 10 megabits to 1000 megabits per second depending upon the network bandwidth.

Game Port

  • Connect a PC to a joystick.
  • Now replaced by USB.

Digital Video Interface, DVI port

  • Connects a Flat panel LCD monitor to the computer's high-end video graphic cards.
  • Very popular among video card manufacturers.

Sockets

  • Connect microphone, speakers to sound card of the computer

Translate