Pages

Tuesday, 26 February 2013

How to Download your windows Updates manually

Open your internet explorer and type / copy-paste in the following link
http://test.catalog.update.microsoft.com/v7/site/Home.aspx
Or
http://test.catalog.update.microsoft.com/
“What it does is, detect your system automatically.” And you’ll see a search bar.

Monday, 25 February 2013

Cleanup Winsxs after Windows 7 SP1 install

I recently noticed that the free space on the 60GB OS partiton on my laptop was running very low on space. Some of this was due to old offline files which I managed to cleanup fine.
I then ran Tree Size on the OS partition and found that the winsxs folder was 10.2GB.
After a bit of research I managed to use the command below and reduced the winsxs by 4GB

DISM /online /Cleanup-Image /SpSuperseded

The command needs to be run from an elevated command prompt and you cannot uninstall the Service Pack after it completes

Sunday, 24 February 2013

Create Administrator Mode Shortcuts Without UAC Prompts in Windows 7 or Vista

One of the most talked about annoyances in Windows Vista are the UAC prompts that constantly pop up when you are trying to make system changes. It’s especially irritating when you often need to run a particular tool that requires administrator mode in order to run. Thankfully there’s a simple hack that you can do to create an administrator mode shortcut that doesn’t prompt for UAC.
Note: This should also work on Windows 7.
This works by setting up a scheduled task to run the application in Administrator mode, and then setting up a separate shortcut that tells the scheduled task to run. If that sounds difficult, it’s really not… just follow through the instructions below.
Note: Because you are required to click through a UAC prompt to setup the scheduled task, it’s not really a security loophole.

Saturday, 23 February 2013

Change the System/Boot Drive Letter

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
  1. Make a full system backup of the computer and system state.
  2. Log on as an Administrator.
  3. Start Regedt32.exe.
  4. Go to the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
  5. Click MountedDevices.
  6. On the Security menu, click Permissions.
  7. Verify that Administrators have full control. Change this back when you are finished with these steps.
  8. Quit Regedt32.exe, and then start Regedit.exe.
  9. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
  10. Find the drive letter you want to change to (new). Look for "\DosDevices\C:".
  11. Right-click \DosDevices\C:, and then click Rename.

    Note You must use Regedit instead of Regedt32 to rename this registry key.
  12. Rename it to an unused drive letter "\DosDevices\Z:".

    This frees up drive letter C.
  13. Find the drive letter you want changed. Look for "\DosDevices\D:".
  14. Right-click \DosDevices\D:, and then click Rename.
  15. Rename it to the appropriate (new) drive letter "\DosDevices\C:".
  16. Click the value for \DosDevices\Z:, click Rename, and then name it back to "\DosDevices\D:".
  17. Quit Regedit, and then start Regedt32.
  18. Change the permissions back to the previous setting for Administrators (this should probably be Read Only).
  19. Restart the computer.

Getting Back Win8 gui bootmgr

The actual presentation (graphical or text) depends on many properties that can be set to the entries in the BCD store. An easy way to restore the defaults for Windows 8, effectively restoring the graphical boot menu, would be the following:
  1. Open an elevated command prompt inside Windows 8, for example via +X and then A.
  2. There run the following command:
    bcdboot C:\Windows (C should be the letter for your Windows 8, change it if it's not)
That command will replace the boot files with the ones from Windows 8, set the Windows 8 menu entry as the default one and set the parameters in the BCD to the default ones hence next time you reboot you'll see the graphical menu.

Friday, 22 February 2013

WinVBlock in a Windows XP/2003 PE environment

http://reboot.pro/topic/8168-winvblock/

Make sure you include:
  • \I386\System32\Drivers\WVBlk32.SYS (or WVBlk64.SYS)
Make sure TXTSETUP.SIF includes:
...

[SCSI.Load]

wvblk32 = wvblk32.sys,4

Thursday, 21 February 2013

Creating a Basic Unattended Setup

An answer file is a way to script the answers for a series of graphical user interface (GUI) dialog boxes. An answer file also tells Setup how to interact with the $OEM$ distribution folders and files you create, and supplies Setup with all of the information that the end user would provide during a typical Windows Setup.

With the XP SP2 Deployment Tools you downloaded, simply extract them to a folder, or double click on the Cab file. The only files you will need is setupmgr.exe and ref.chm:

Unattended XPCD

Installing XP From An .iso File


It is possible to use the firadisk driver to install Windows XP from an .iso file without editing the Windows installation media. The following method has been adapted from posts here and here by boot-land member fujianabc.
This method requires a floppy disk image (containing the firadisk drivers and a setup file txtsetup.oem) and a Windows installation CD image file.
To create the floppy disk image -
  1. Use ImDisk to create and mount a floppy disk image C:\firadisk.ima as drive R: with the following command -
    imdisk -a -s 1440K -m R: -o fd -f C:\firadisk.ima -p "/fs:fat"
  2. Create file R:\txtsetup.oem containing the following text -
  3. Copy firadisk.inf, firadisk.sys and firadisk64.sys to drive R:
  4. Unmount drive drive R: using the following command -
    imdisk -d -m R:

Method 1

Install windows XP from a Grub4dos bootable USB drive (this assumes that the BIOS supports USB booting and recognises the USB drive as a hard disk type device (hd)) -
  • Copy the Windows XP .iso file to the USB drive - we will be using xp.iso
  • Copy firadisk.ima (the floppy disk image containing the firadisk drivers and txtsetup.oem) to the USB drive
  • Create menu.lst file at the root of the USB drive with the following entries -
  • Change the BIOS settings on the target PC (the machine you plan to install XP to) to boot from the USB stick - when the system boots the USB stick will become device (hd0) and the hard disk will become device (hd1), hence the menu.lst entries -
  • Boot the target PC from the USB stick and select option XP setup from iso - this will load the Windows installation image file to system memory. Loading times will vary - the test system booted using USB 2.0 speeds and mapped the image in approximately 90 seconds.
  • When the image has finished loading into RAM Windows setup should begin - follow the instructions on screen.
  • After the first stage of the Windows installation has completed the PC will reboot - this will clear the mapped .iso image from RAM. If the BIOS settings were configured correctly the USB stick will be booted. The iso image must be remapped prior to restarting the install - select option Continue XP setup.
  • During the second stage of the installation you will be prompted with a warning that FiraDisk Virtual Disk Enumerator has not passed Windows Logo testing... click on the Continue Anyway button.
  • The setup process should now continue as normal. When prompted to reboot the PC remove the USB stick and change the BIOS settings back to normal.
Source:  http://diddy.boot-land.net/firadisk/files/win_iso_install.htm

Wednesday, 20 February 2013

Booting windows 7 install from grub4dos

from grub command shell type these commands, dvd is copied in a hard disk first partition
root (hd0,0)
chainloader /bootmgr
boot

or


Grub4DOS


Here's a sample entry (source):
title fdfullcd.iso (0xFF)
  find --set-root /fdfullcd.iso
  map /fdfullcd.iso (0xFF)
  map --hook
  root (0xFF)
  kernel /isolinux/data/memdisk
  initrd /isolinux/data/fdboot.img
Supposedly the Win7 ISO can be booted with this entry:
title Windows 7
  map (hd0,0)/win7.iso (hd32)
  map --hook
  chainloader (hd32)
Other ISOs can be booted with Memdisk:
title Boot Hardware Detection Tool from iso image (with 'iso' parameter)
  kernel /memdisk iso
  initrd /hdt.iso

Monday, 18 February 2013

Grub Appendix Commands


Use caution when following the built in help information - it is based on GNU GRUB and contains some legacy commands (and information) that do not always apply to Grub4dos. The following example is the output from typing help default -
grub> help default
default: default [NUM ¦ 'saved' ¦ FILE]
   set the default entry to entry number NUM (if not specified, it is 0,
   the first entry), or to the entry number saved by savedefault if the
   key word 'saved' is specified, or to the entry number previously saved
   in the specified file FILE. When FILE is specified, all subsequent
   'savedefault' commands will save default entry numbers into FILE.
Although the default [NUM] parameter works within a configuration file, using default saved does not. In addition the default [FILE] command only works with the default file included in the grub4dos download - e.g. default /default.
The following (66) commands are all recognised by Grub4dos - version 0.4.4 (build 2009-03-31)