Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

Sunday, September 6, 2009

Objective #5: Allow blank password for network access on Windows 7

Got an error trying to connect to the shared printer, attached to my desktop, from my laptop.  Dont remember the exact error but it said something like 'Can not connect, possible blank password...".

Apparently, since Windows Vista which I am blessed to have never used, by default you can not connect to the shared devices, folders, etc. if you have no password set on your machine.  Thankfully, there is a workaround to this as its defined in the group policy - and here is how you can edit the group policy:

1)  From the Start menu, go to 'Search' or 'Run' and type gpedit.msc

2)  Go to -> Computer Configuration ->  Windows Settings -> Security Settings -> Local Policies -> Security Options

3)  Double-Click on the 'Accounts: Limit Local Account use of blank password...' and select Disabled
 
Thats it!

Sunday, August 30, 2009

Objective #4: Remove Windows 7 from Dual-Boot with XP

I can come up with many reasons why you would want to remove one of your operating systems from the dual-boot mode.  In my case, the Windows 7 installation got corrupted and I didn't want the dual-boot option to delay my start-up.  After some research (google), I found quite a few references with detailed steps on how one could remove Windows 7 from dual-boot.  The problem I ran into was that most of the guides assumed that you had Vista installed and wanted to get rid of Windows 7, but I was using Windows XP. Some other guides required the use of Bootsec.exe file from the Windows 7 DVD/image - if you are using 32-bit Windows XP and have an image of 64-bit Windows 7, 'bootsec.exe' will not work and you will get an error that it is not a valid Win-32 application.

I found this neat little (Free) utility, EasyBCD that you can install on your Windows XP machines and remove Windows 7 (or any other O/S) from dual-boot.

Objective #3: Create Windows 7 (64-bit) bootable USB in Windows XP (32-bit)

I recently installed Microsoft Windows 7 on my desktop (its awesome).  Although it was one of the seamless installation sessions I have ever had (since MS-Dos 6.22), I had a few hick-ups.  I burned Windows 7 ISO on a DVD but some how the image did not get burned properly and corrupted my Windows 7 install (see more on how to remove Windows 7 from dual boot).  I decided to use USB stick as it does not require 'burning' of an image and is faster than DVD.

My instructions assume that you have the following:
  1. Have Windows XP (32-bit) Professional on your current machine
  2. ISO image of Windows 7 (32-bit or 64-bit) Any Version
  3. An image mounting tool.  I used Daemon Tools Lite (Free) but you can go with any other one (Alcohol 120%) if you prefer.
  4. An unzipping tool.  I use 7-Zip (Free) but any other one (Winzip, WinRAR, etc.) would work as well.
  5. A 4GB USB flash drive.
    Here is what you will need to download:
    1. MBRWizard (Free) for Windows XP
    2. Bootsect (Free) for Windows XP.  Scroll down where it says 'Save file to your PC'. Note: Windows 7 image has a bootsect file however, if you are running 32-bit XP and have a 64-bit ISO image, you will need to download this file as Windows 7 version of bootsect will NOT work and will give an error that 'bootsect is not a valid Win32 application'.

      And here are the steps:

      1)  Plug your USB drive.  Go to "My Computer". Right click the flash drive and click format. Check the box "Quick Format".  You can leave all the other settings as is.

      2)  Click 'Start' then select 'Run'. Type CMD and hit OK to open up a terminal screen.

      3)  In the terminal screen type "cd\" to go to the C root (C:\).

      4)  Now type "convert X: /fs:ntfs". Where X is letter assigned to your flash drive.

      Minimize your terminal window for now

      5)  Download MBRWizard and extract the file 'MBRWiz.exe' using unzipping tool, to your desktop. 

      6)  Copy the extracted 'MBRWiz.exe' file and go to "My Computer". Right click the 'C:' drive and click paste to copy the 'MBRWiz.exe' file to your C:\ drive. (no need to create a separate folder)

      7)  Download the Bootsect file and do the same - copy to your C:\ drive.

      Maximize your terminal session

      8)  Type "MBRWIZ /list".  You will now see the detailed table for each of the disk, including your Hard disk.  For example you may see table for Disk0, Disk1, Disk2, Disk3, etc.

      9)  From the output of the above step, note the disk number of your flash drive.  You can tell by the size and the drive letter toward the bottom right of each table.

      10)  Type "mbrwiz /disk=Y /active=1". Where Y is disk number that you saw was associated to your flash drive.


      11)  Now type "bootsect /nt60 X:".  Where X is letter assigned to your flash drive. (Should be the same letter as in Step 4). 


      Type "Exit" or simply close the command prompt session.

      12)  Now mount the ISO image of Windows 7.

      13)  Using Windows explorer, copy all the contents of the Windows 7 image, from the mounted drive (Copy) to (Paste) the flash drive.

      Your Windows 7 bootable disk is now ready!  Dont forget to change the boot sequence in BIOS or go to boot menu after the BIOS is loaded to select USB as your first boot device.

      Enjoy Windows 7!