AMAZON

Showing posts with label windows xp. Show all posts
Showing posts with label windows xp. Show all posts

Thursday, September 20, 2012

Hide Your Folders in windows OS Without Any Software




With this trick, you can create a secure password protected folder in Windows which no one except you can access. To use this trick, follow the instructions given below:-

1. Open Notepad.

2. Copy and paste the exact code given below:-

cls

@ECHO OFF

title Kanishk Security System.

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD

-08002B30309D}" goto UNLOCK

if NOT EXIST MyFolder goto MDMyFolder

:CONFIRM

echo Are you sure to lock this folder? (Y/N)

set/p "cho=>"

if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

goto CONFIRM

:LOCK

ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD

-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD

-08002B30309D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock Your Secure Folder

set/p "pass=>"

if NOT %pass%== mysecretfolder goto FAIL

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD

-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD

-08002B30309D}" MyFolder

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDMyFolder

md MyFolder

echo MyFolder created successfully

goto End

:End

Click on the File Menu. Click on Save As.

4. Select All Types in the Save As Type dropdown menu. Save the file as *.bat or Locker.bat.

After creating the file, double click on the Saved file. A new folder will be created. Enter your data in the folder. Again, double click on the batch file. Type Y and press Enter. The folder will be hidden from view.

To re-view your folder, double click on the saved batch file. Enter password as "mysecretfolder " without quotes and press Enter key. This is also the default password. Your folder will be visible again.

To change the default password, edit the part of the code where it is written "mysecretfolder " and enter your own password.

The overall usability of this trick can be improved by deleting the batch file after hiding your folder and re-creating it when you wish to access your folder again.

If you face any problem using this trick, you can write a comment and I will do my best to help you.

Wednesday, August 29, 2012

How to Uninstall Linux Ubuntu from Boot Loader in all Windows Operating Systems Without a Live CD : windows dual boot

 How to Remove Ubuntu from boot manager of any windows OS

EasyBCD is NeoSmart Technologies' multiple award-winning answer to tweaking the new Windows Vista bootloader. With EasyBCD, almost anything is possible. Setting up and configuring Windows boot entries is simple, and there is no easier way to quickly boot right into Linux, Mac OS X, or BSD straight from the Windows Vista bootloader - on the fly, no expert knowledge needed!
Save $15 off $100+ on textbooks, books, music, movies, & video games when you use coupon code VACATION at Alibris.com. 8/29-9/4.
EasyBCD is geared for users of all kinds. Whether you just want to add an entry to your old XP partition or want to create a duplicate for testing purposes; if you're interested in debugging the Windows Kernel or septuple-booting your seven test operating systems, EasyBCD is the key.

EasyBCD is used and recommended by Microsoft, PC-World, PC-Magazine, Softpedia, PC-Welt, and dozens more! In the words of Harry McCracken (VP & Editor-in-Chief of PC World): "[EasyBCD] impressed the editors with its functionality and usability. These are some of the most well-crafted services available - congratulations to EasyBCD!" Don't get left out download it today, it's free!!

Download :
http://neosmart.net/dl.php?id=1


 Note :  EasyBCD does not work if you use Boot Repair to first repair grub. Once you use Boot Repair, EasyBCD can`t even locate the boot files!!!!!!!!!

Comments

If things get messed and nothing boots, you can use the Rescatux live CD too. It can restore/fix as far as I know both boot loaders, haven't tried for windows one yet.
Save $8 off $60+ on textbooks, books, music, movies, & video games when you use coupon code LAMPOON at Alibris.com. 8/29–9/4. Save $8 off $60+ on textbooks, books, music, movies, & video games when you use coupon code LAMPOON at Alibris.com. 8/29-9/4. This video and tool worked just fine for me! One thing: after deleting Ubuntu in my bootloader, I restarted my Win7 pc. I got a message saying the bootloader has changed and I choosed to start up "normally".
After that everything worked like it should have :

another easy way to remove windows 7 boots is just simply going to start/ typing in msconfig and then click the boot tab... you can remove any windows boots... But linux boots wont show..

just wondering because i managed to delete ubuntu from easy bcd but it will not allow me to format my dive in the disk manager its a non named drive and when i write click it just give me the option to view the help


To remove Ubuntu, you will need a Windows Recovery CD or Installation CD, or a Ubuntu Live CD.
Note: If you don't have a Windows Installation or Recovery CD available, you can download the Windows 7 ISO file here. You cannot install Windows with a genuine Purchased Product Key though, as these ISO files are 100% legal and will only install as an Evaluation copy for 30 days without a product key.
To remove GRUB:
  1. Grab a Windows recovery media or installation CD and boot from it. You should see this on a recovery media.
    enter image description here
  • You should see this on an installation media. Click "Repair your computer" and you should see a screen like the first image. Image from bleepingcomputer.com
  1. Open the Command Prompt, then type bootrec /fixmbr into the Command Prompt. enter image description here
  2. Reboot and boot into Windows. Then follow the steps below to remove the Ubuntu partitions.
(Images from HowtoGeek)

If you don't have a Windows recovery CD or you are too lazy to download and burn the ISO files mentioned before, you can use Boot-repair. It is a tool that fixes most boot problems(Windows or Ubuntu). I suggest using a Windows CD if possible.
To use boot repair:
  1. Boot from a Ubuntu live CD or USB
  2. Type these lines in the terminal one line at a time.
    sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt-get update
    sudo apt-get install boot-repair
  3. Search for Boot-Repair in the Dash and launch it.
enter image description here
To fix your computer with Boot-repair, simply click the "Recommended Repair" button. Then follow the steps below to remove the Ubuntu Partitions.

To delete the Ubuntu Partitions:
  1. Go to Start, right click Computer, then select Manage. Then select Disk Management from the sidebar.
  • enter image description here
  1. Right-click your Ubuntu partitions and select "Delete" . Check before you delete!
  2. Then, right-click the partition that is on the Left of the free space. Select "Extend Volume". Go through the Wizard and Finish it. enter image description here
  3. Done!
Another note from Tanner: If you are using an extended partition, you might have to remove the big extended partition to make the space unallocated.


  1. Boot a live CD with Ubuntu
  2. Choose "Try Ubuntu"
  3. Download and install OS-Uninstaller.
  4. Start the software and select what operating system you want to uninstall. os-uninstaller-fr
  5. Apply
  6. When all is over, reboot your computer, and voila, only windows is on your computer!
          You can go into the Disk Management utility and delete the Ubuntu partition. Right click My Computer, select Manage, Disk Utility. Once you delete the partition, right click My Computer, select Properties and go to the Advanced tab. Go into the Start Up and Recovery, set Windows as the default operating system and set the Time to display the list of operating systems to 0 and click Ok.

 Windows Dual boot

Introduction


This page describes how to set up your computer in order to dual boot Ubuntu and Windows.

Back Up Your Data


Although this may seem obvious, it is important to backup your files to an external backup medium before attempting a dual-boot install (or any other hard drive manipulation), in case your hard drive becomes corrupted during the process. External hard drives, USB flash drives, and multiple DVDs or CDs are all useful for this purpose.

Have a Windows recovery CD/DVD available


Some computer manufacturers that pre-install Windows provide a Windows recovery/re-installation CD or DVD with the computer. However, many companies no longer ship a physical disc but instead create a hidden partition on the hard drive in which the recovery-disk information is stored. A utility is then usually provided which allows the user to burn a recovery/re-installation CD or DVD from it. If you are buying a new computer and intent on dual-booting, make sure you have (or can make) a physical Windows recovery/re-installation CD or DVD. If neither a CD/DVD nor a recovery partition/burning utility is provided by your computer manufacturer, you may need to telephone your vendor and ask for a CD or DVD (to which you are normally entitled under the Windows EULA).

Getting Recovery Media


You may need to request a physical recovery/re-installation CD or DVD directly from your computer manufacturer. Here are some resources:
Once you have created a physical backup disc from a restore-image partition on the hard-drive, the restore-image partition can either be removed or left in place. Ubuntu can be installed with it intact without problems.
Alternatively, if you own a licensed copy of Windows Vista or Windows 7, you may download a system recovery CD that may be used to access a recovery console free of charge from NeoSmart Technologies. This CD can't be used to reinstall Windows in case things go majorly wrong, but it does contain the needed tools to set boot-related issues right.

Install Ubuntu after Windows


A Windows OS should be installed first, because its bootloader is very particular and the installer tends to overwrite the entire hard drive, wiping out any data stored on it. If Windows isn't already installed, install it first. If you are able to partition the drive prior to installing Windows, leave space for Ubuntu during the initial partitioning process. Then you won't have to resize your NTFS partition to make room for Ubuntu later, saving a bit of time.
When a Windows installation already occupies the entire hard drive, its partition needs to be shrunk, creating free space for the Ubuntu partition. You can do this during the Ubuntu installation procedure, or you can see How to Resize Windows Partitions for other options.
If you have resized a Windows 7 or Vista partition and cannot boot up windows, you can use the instructions from WindowsRecovery to fix it.

Install Ubuntu


  • Download an Ubuntu LiveCD image (.iso) from Ubuntu Downloads and burn it to a disc (see BurningIsoHowto).
  • Insert the LiveCD into your CD-ROM drive and reboot your PC.
  • If the computer does not boot from the CD (e.g. Windows starts again instead), reboot and check your BIOS settings by pressing F2, F12, Delete, or ESC. Select "boot from CD".
  • Proceed with installation until you are asked this question: "How do you want to partition the disk?".
  • If you have already partitioned the disk and left space for Ubuntu, install it to that and then follow the rest of the steps.
  • Otherwise, choose one of the next two steps.

Automatic partition resizing (recommended)


  • Choose the first option, which should say "Install them side by side, choosing between them each startup".
  • Specify the size of the new partition by dragging the slider at the bottom of the window.
  • Click on "Forward".

Manual partitioning


  • Choose "Manually edit partition table".
  • Listed will be your current partitions.
  • Select the partition you want to resize and press Enter.
  • Select "Size:", press Enter.
  • Select Yes, press Enter.
  • Type in a new size in gigabytes for your partition, it's recommended you free up at least 10 GB of free space for your Ubuntu install. Press Enter when happy with your changes. It may take some time to apply the changes.
  • Create a swap partition of at least your amount of RAM (if you don't know, 2000 MB is a good value).
  • Create a partition for your Ubuntu installation.
  • Select "Finish partitioning and write changes to disk".

Master Boot Record and Boot Manager


GRUB2 is the boot manager installed in Ubuntu by default. If you use the Alternate CD you can choose GRUB or Lilo instead. GRUB2, GRUB and Lilo are open source boot managers that install the main parts of the boot loaders inside Ubuntu. This means Ubuntu is independent and avoids any need for writing to other operating systems. To accomplish this, the only thing in your computer outside of Ubuntu that needs to be changed is a small code in the MBR (Master Boot Record) of the first hard disk. The MBR code is changed to point to the boot loader in Ubuntu. You will be presented with a list of operating systems and you can choose one to boot. If you do nothing the first option will boot after a ten second countdown. If you select Windows then GRUB or Lilo will chain-load Windows for you at the Windows boot sector, which is the first sector of the Windows partition.
If you have a problem with changing the MBR code, you might prefer to just install the code for pointing to GRUB to the first sector of your Ubuntu partition instead. If you do that during the Ubuntu installation process, then Ubuntu won't boot until you configure some other boot manager to point to Ubuntu's boot sector. Windows Vista no longer utilizes boot.ini, ntdetect.com, and ntldr when booting. Instead, Vista stores all data for its new boot manager in a boot folder. Windows Vista ships with an command line utility called bcdedit.exe, which requires administrator credentials to use. You may want to read http://go.microsoft.com/fwlink/?LinkId=112156 about it.
Using a command line utility always has its learning curve, so a more productive and better job can be done with a free utility called EasyBCD, developed and mastered during the times of Vista Beta. EasyBCD is very user friendly and many Vista users highly recommend it.

Installing Windows After Ubuntu


Normally when Windows is installed after Ubuntu the "Master Boot Record", MBR, will be overwritten. You can bootup off a LiveCD and repair the MBR. However, there are 2 different approaches:

Recovering GRUB after reinstalling Windows


Please refer to the Reinstalling GRUB2 guide.

Master Boot Record backup and re-replacement


Back-up the existing MBR, install Windows, replace your backup overwriting the Windows boot code:
  1. Create an NTFS partition for windows (using fdisk, GPartEd or whatever tool you are familiar with)
  2. Backup the MBR e.g. dd if=/dev/sda of=/mbr.bin bs=446 count=1
  3. Install windows
  4. Boot into a LiveCD
  5. Mount your root partition in the LiveCD
  6. Restore the MBR e.g. dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1
  7. Restart and Ubuntu will boot
  8. Setup grub to boot windows

Issues with Windows XP and NTFS


The Ubuntu installer has included support for resizing NTFS partitions since Ubuntu 5.10 (Breezy Badger) was released way back in 2005. Very few problems have been reported relative to the huge number of times that the installer has been used. If you tried the above procedure and have had no luck, it might be that there is a pre-existing problem either in the file system, in the partition table or the hard disk.
First you should try running CHKDSK before trying again to resize the partition, and if you are using the Alternate CD, defragging might help. It is recommended that you run CHKDSK once again after resizing your NTFS partition.
Also, try the following alternative methods:

Using QtParted from the System Rescue CD


  1. Boot into Windows and backup any valuable documents/photos etc onto removable media such as CD-R/DVD-R.
  2. Run the Windows disk check tool (Error-checking) on C: a couple of times (the results can be seen in the Administrative Tools > Event Viewer > Application under a "Winlogon" entry).
  3. Run the Windows defragmentation tool on C:
  4. Download the System Rescue CD ISO image (321 MB; has several very useful software tools).
  5. Burn the ISO image to a CD.
  6. Boot from the CD and hit Enter when you see the message "Boot:".
  7. When you get a command prompt, enter:
run_qtparted

  1. Select your disk on the graphical screen (most likely /dev/hda).
  2. Select your NTFS partition to be resized (most likely /dev/hda1).
  3. Right click with the mouse and choose Resize.
  4. Set the new partition size.
  5. Commit your changes in the File -> Commit menu. If your keyboard and mouse stop responding during resizing then please just be patient.
  6. Once your changes are saved, remove the System Rescue CD and insert your Ubuntu installation CD.
  7. Reboot and install Ubuntu into the free space.

Using GParted from UNetbootin-PartedMagic


Another approach to resizing partitions, which does not require a CD, is to load PartedMagic from Windows via the UNetbootin PartedMagic Loader:
  1. Download and install the Windows (.exe) file, then reboot.
  2. Select the UNetbootin-partedmagic entry after rebooting, and wait as PartedMagic boots up.
  3. Start the partition manager by clicking the GParted icon on the the panel.
  4. Select your disk (probably /dev/sda) via the drop-down menu on the top-right corner of the interface.
  5. Right-click the NTFS partition to be resized (probably /dev/sda1), and select the "resize" option.
  6. Drag the slider to specify the new size the NTFS partition should be resized to, then press OK.
  7. Press the "Apply" button to resize the disk, then reboot once done.
  8. Upon the next Windows boot, click OK when prompted to remove UNetbootin-partedmagic to remove its boot menu entry.

Monday, August 20, 2012

grub error in booting Ubuntu 12.04/windows xp permission denied

Ubuntu 12.04 Boot error – Windows XP from Grub2 – cannot create /var/lib/os-prober/labels: Permission denied


 In this issue machine  have the two hard drives. On one is Windows XP , on the other one is Xubuntu 12.04 .
Here the windows MBR is fine. I can boot my Windows partition by selecting that HD from the BIOS. Likewise the MBR on the other hard drive is fine and I can boot Xubuntu from grub. What I would like to do is to be able to chainload ntldr (I believe that’s the right terminology) from grub.
os-prober does not detect Windows – unless the partition is mounted but it can’t write anything anyway because it says it needs to be run as root. However sudo os-prober doesn’t seem to do anything at all, so that doesn’t help either. Always getting below error.


ERROR: you must be root ERROR: you must
be root /usr/lib/os-probes/mounted/20microsoft: 47:
/usr/lib/os-probes/mounted/20microsoft:
cannot create /var/lib/os-prober/labels: 
Permission denied /dev/sda1:Microsoft 
Windows XP Home Edition:Windows:chain mkdir: cannot 
create directory `/var/lib/os-prober/mount': Permission denied

followed below steps for resolve the issue
 Added the following to the lines below those already in /etc/grub.d/40_custom
 
menuentry “Microsoft Windows XP Home Edition (on /dev/sda1)” –class windows –class os {
insmod part_msdos
insmod ntfs
set root=’(hd0,msdos1)’
search –no-floppy –fs-uuid –set=root 5E1C40441C401983
drivemap -s (hd0) ${root}
chainloader +1
}
Save the file and update-grub.

Reinstalled os-prober with the following:
 
sudo apt-get install --reinstall os-probe 

Monday, July 16, 2012

HP laptop Windows 7 recovery discs fails for new hard drive

This process clears all information from the hard drive to prepare the hard drive for system recovery.

  1. Enter the system BIOS and select the Boot menu.

  2. Change the startup (boot) order so the computer starts from the first optical drive (CD-ROM/ATAPI CD-ROM/DVD). You may need to enter a sub-menu called Boot Device Priority .

  3. Insert Disk 1 of the System Recovery disk set in the first (top) optical drive.

  4. Press F10 , then press Enter to save the changes and restart the computer.

    When the PC restarts, it reads from the Recovery CD, and displays a screen of options (typically R , F , and Q ).

  5. Press and hold the Ctrl key, and press the Backspace key. The Manufacturer Menu is displayed.


    Manufacturer Menu:

    <1> boot from drive 1

    <2> Start recovery program on CD/DVD

    <3> boot Floppy a:

    <4> clear the partition table of drive 1

    <5> erase the Master Boot Record of drive 1

    <6> wipe all sectors of drive 1

    <7> create a primary partition on drive 1

    <8> create a SmartImage partition on drive 1

    <9> Install ST Master Boot Record

    <A> Install Standard Master Boot Record

    <S> Save DMI Sysinfo to drive 1

    <T> Test the system RAM for defects

    <ESC> restart this CDROM


NOTE: Drive 1 may be shown as 0x80 in the menu of earlier versions.Not all options shown in the list below will be available for some PCs.




  • Select option clear the partition table .

    The following message appears: No Operating System Installed or Partition CorruptedPress "R" to perform a full system recovery .

    Do not press R . Instead, press and hold ctrl , then press Backspace to bring up the Tools Menu.

  • Select option erase the Master Boot Record of drive .

    The following message appears: No Operating System Installed or Partition CorruptedPress "R" to perform a full system recovery .

    Do not press R . Instead press and hold down ctrl , then press Backspace to bring up the Tools Menu.

    NOTE: If there are no partitions, the following message appears: No MBR or master boot record found .Continue using these steps.

  • Select option wipe all sectors of drive .

    An Erasing Hard Drive progress bar will appear. This process will take approximately from 15 minutes to over one hour, depending on the size of the hard drive.

    When the hard drive is completely erased, the following message is displayed:

    No Operating System Installed or Partition CorruptedPress "R" to perform a full system recovery

  • Press R to begin the automatic System Recovery process.


  • NOTE: This procedure requires that you have a set of System Recovery CDs or DVDs for the computer. Also, the Manufacturer Menu is only available on Summer 2002 and newer models. The Manufacturer Menu is not available for System Recovery performed from the hidden partition.

    CAUTION: If an additional hard drive has been installed, disconnect the power and IDE cables from the additional drive. This is necessary to prevent data loss on the added hard drive.

    Thursday, July 12, 2012

    How to intall ns2 in windows using cywin (Windows + Cygwin + NS2)


    --> This document will show you how to install my NS2 (ns-2.28 + all my modules) on Windows platform (windows 2000 or windows XP). 

    If you follow each step in this webpage, you can successfully run all the simulation scripts provided me without installing each module. 

    (It includes TKN 802.11e EDCF module, NOAH routing, MFlood, CSFQ, Poisson traffic, wireless random uniform and GE error model, and tcldebug.)2006/10/27 add “Evalvid-RA” and wimax “IEEE 802.16 module for ns2 (from NIST)”.

    [Cygwin]
    1.      Download the cygwin.rar.

    2.      Decompress the cygwin.rar

    1.      Click the setup.exe to install cygwin.

    2.      Because the language of operating system is Traditional Chinese. The text of button is shown in Chinese. But you don’t need to worry about this. I think it is shown in English in your computer. Just click “Next”.

    3.      Then choose “Install from Local Directory”

    4.      Click “Next”.

    (Just keep the settings as they are.) 
     
    5.      Click “Next”

    6. Click “Browse” to choose where the software is. (Please choose “ftp%3a%2f%2fftp.nctu.edu.tw%2fWindows%2fcygwin”)

    7.      Click “OK”.

    8.      Click “Next” and you will see the figure shown as follows. In this window, the cygwin setup program let you choose what software you want to install.

    9.      Click “View” first to make the word “Category “change to “Full”.

    10.  XFree86-base, XFree86-bin, XFree86-prog, XFree86-lib, XFree86-etc, make, patch, perl, gcc, gcc-g++, gawk, gnuplot, tar and gzip must be chosen. For example, if I want to install XFree-86 base (upper figure), click the “Skip” of “New” column. The “Skip” will be changed to “4.3.0-1” (lower figure).

    11.  Click “Next”.

    (Please be patient. It may take a long time to finish the installation.)

    12.  When setup is done, it will be shown as following figure. Click “Finish”.

    13.  Click “OK” to finish the cygwin setup program.
    [myNS2 setup]

    1.      Click the icon on the desktop.

    2.      For the first time execution, it will generate some environment parameter setting files. In this example, smallko is my login name to windows system. Therefore, the cygwin will create a folder named “smallko” under home directory. (The actual path for smallko folder is: c:\cygwin\home\smallko) It should be noticed that the login name can not have any space in your name. For example, “A B” may cause errors when you install NS2.

    3.      Download myNS2.

    4.      Decompress the ns-allinone-2.28.rar.

    5.      Move this folder under c:\cygwin\home\smallko. (change smallko (login name) with yours)

    6.      Open a cygwin window

    7.      Change the path to ns-allinone-2.28/ns-2.28

    8.      Run the command “./configure; make clean; make

    9.      Please be patient. It will take some time to finish the compilation.

    10.  When it is done, it should look like as follows.

    11.  To make sure that you have successfully installed myNS2, you need to check whether you can find ns.exe under ns-allinone-2.28/ns-2.28

    12.  Copy the .bashrc to c:/cygwin/home/smallko 
     
    13.  Run the example script to test whether you have setup the path or not.

    14.  If you see the error message like “ns command not found”, no worry about this. Sometimes even you have setup the path, but it does not work. You can copy the ns.exe (nam.exe) to the same place as the simulation script. Run the simulation with “./ns.exe” and it will be ok.

    Start or booting Windows xp, 7, vista in Safe Mode, safe mode with Networking, safe mode with command prompt

    Steps to Start Windows in Safe Mode with Networking
    • Reboot your computer.
    • Press F8 key until you see the Windows XP Advance Option menu.
    • Select “Safe Mode with Networking”.