Monday, February 14, 2011

Defrag the Windows PageFile



Linkage:

http://technet.microsoft.com/en-us/sysinternals/bb897426.aspx

Command-Line Options

You can run PageDefrag non-interactively by specifying a command-line option for the setting you want:
Usage: pagedefrag [-e | -o | -n] [-t ]
-e Defrag every boot.
-o Defrag once.
-n Never defrag.
-t Set countdown to specified number of seconds.

Managing Teredo Tunnels in Vista and Win 7



To manage the Toredo Tunnels ( http://en.wikipedia.org/wiki/Teredo_Tunnels) in Vista and Windows 7

Navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip6\Parameters\

Create a new DWord : DisabledComponents

The value can be the combination (logical or) of the follwoing values:
1  Disable tunnel interfaces
2  Disable 6to4
4  Disable ISATAP
8  Disable Teredo
16  Disable LAN and PPP interfaces
32  Set preference of IPv4 over IPv6
255  Disable IPv6 completely

Reboot.

Finding a Brother Printer IP address when no LCD on Printer



For the Brother LAN based printer WITHOUT configuration LCD the IP configuration page is printable by Pressing the Blue (Start) Button 3 times

Finding Drivers for Unknown Devices

Every device has a Vendor and Device id associated with it. If you can find this ID, you can find the manufacturer. In Windows it's easy to find the vendor and device id.
 
 
 
 
 
 
 
  1. Open Device Manager (Control Panel>System>Hardware>Device Manager)
  2. The hardware whose drivers are missing will appear as Unknown device, so it's easier to locate the device.
  3. Right click on the unknown device and click on Properties.
  4. Under the Properties window click on Details tab and select Device Instance Id from the drop down box.
  5. You should see a code similar to this PCI\VEN_8086&DEV_27DC&SUBSYS_30868086
    &REV_01\4&1E46F438&0&40F0

  6. The portion of the code highlighted in RED is the Vendor ID and the portion highlighted in GREEN is the Device ID. In this example: Vendor ID = 8086
    Device ID = 27DC

  7. Once you have obtained both the IDs, proceed to PCI Database.( http://www.pcidatabase.com/)  There you can either search for the vendor from the vendor ID or directly get information about the device along with the vendor name by searching with the device ID.

Easily find your Mac's Serial Number in Mac OS X

Easily find your Mac's Serial Number in Mac OS X





Easily find your Mac's Serial Number in Mac OS X 


Go to Apple ▸ About This Mac and click on the version number (the one below big Mac OS X title) twice. You will see your Mac serial number

How to restore a Windows 7-based computer to a previous Windows installation by using the Windows.old folder

How to restore a Windows 7-based computer to a previous Windows installation by using the Windows.old folder


In case you need it here is the Microsoft article for reverting a Win-7 Upgrade to the previous installation, now we know why we have the Windows.old folder ...

http://support.microsoft.com/kb/971760/

Steps to restore a computer to a previous Windows installation after you install a version of Windows 7

You may find it easier to follow the steps if you print this article first.

Step 1: Determine whether there is a Windows.old folder and whether there is sufficient free space on the Windows hard disk

  1. Click Start
    Collapse this imageExpand this image
     Start button
    , and then click Computer.
  2. On the View menu, click Details.
  3. In the Free Space column, note how much space is available for Local Disk (C:) under the Hard Disk Drives area.
  4. In the Hard Disk Drives area, double-click Local Disk (C:), and then determine whether the Windows.old folder exists.

    Important If the Windows.old folder does not exist, you cannot follow the steps in this article to restore the previous Windows installation to this computer. You must backup and restore or transfer your files to the previous operating system.
  5. Right-click the Windows.old folder.
  6. Windows 7 will determine the size of the folder after several seconds.
Determine whether the Windows.old folder is smaller than the free space that is available for Local Disk (C:) in step 1.2.

Note If the Windows.old folder is two times as large as the free space that is available for the Local Disk (C:) entry, you may be unable to restore the previous Windows installation.

Step 2: Start the Windows Recovery Environment

  1. Put the Windows 7 installation disc in the DVD drive, and then restart the computer.
  2. Press a key when you are prompted to restart from the disc.
  3. In the Install Windows window, select a language, a time, a currency, a keyboard input method or other input method, and then click Next.
  4. In the Install Windows window, click Repair your computer.
  5. In the System Recovery Options window, click the version of the Windows 7 operating system that you want to repair, and then click Next.
  6. In the System Recovery Options window, click Command Prompt.
The Command Prompt window opens, and it displays the command prompt. The command prompt is where you will type the commands that are described in the following steps.

Step 3: Move the Windows 7 folders to a new Win7 folder

Note When you type one or more of the commands at the command prompt in the following steps and press ENTER, you may receive the following message:
The system cannot find the file specified.
If you receive this message, go to the next step in this section, and then type the command in that next step.

Type the following commands and press ENTER after each command:
C:

Md Win7

Move Windows Win7\Windows

Move "Program Files" "Win7\Program Files"

Move Users Win7\Users

Attrib –h –s –r ProgramData

Move ProgramData Win7\ProgramData

Rd "Documents and Settings"

Step 4: Copy the contents or move the contents of the Windows.old folder

Note When you type one or more of the commands at the command prompt in the following steps and press ENTER, you may receive the following message:
The system cannot find the file specified.
If you receive this message, go to the next step in this section, and then type the command in the next step.

Type the following commands and press ENTER after each command:
move /y c:\Windows.old\Windows c:\

move /y "c:\Windows.old\Program Files" c:\

move /y c:\Windows.old\ProgramData c:\

move /y c:\Windows.old\Users c:\

move /y "c:\Windows.old\Documents and Settings" c:\

Step 5: Restore the boot sector for the previous Windows installation

Type one of the following commands at the command prompt, as appropriate for your situation.

Note In the following commands, D: represents the DVD drive. If the DVD drive on the computer is represented by a different letter, such as E:, use that letter in the command.
  • When the previous Windows installation was Windows Server 2003, Windows XP, or Microsoft Windows 2000

    Type the following command, and then press ENTER:
    D:\boot\bootsect /nt52 c:
  • When the previous Windows installation was Windows Vista

    Type the following command, and then press ENTER:
    D:\boot\bootsect /nt60 c:

Step 6: Restore the Boot.ini file for the previous Windows installation of Windows XP or of Windows 2000

Note Follow these steps only when the previous installation is Windows XP or Windows 2000.

Type the following commands and press ENTER after each command:
Attrib –h –s –r boot.ini.saved

Copy boot.ini.saved boot.ini

Step 7: Close the Command Prompt window, and then click Restart

  1. Type the following command at the command prompt, and then press ENTER:
    exit
  2. Click Restart to restart your computer.
Note After you have verified that Windows XP is functional, you can remove the C:\Win7 folder if it is not needed for data recovery

How to disable the Windows Security Warning for Remote Network Drives

How to disable the Windows Security Warning for Remote Network Drives

To disable the warning :

Windows Security Warning
"are you sure you want to copy or move files to this folder"
You should only copy files from trusted sites
Yes No

for network drives ( and .zip  files)

Summary: Add remote machine's IP address to Local Intranet Trust Group in "Internet Options"

Start --> Run -> inetcpl.cpl -> Security --> Local Intranet --> Sites -->

Uncheck "Automatically detect intranet networks" ; check other 3  fields

Select Advanced and Add the REMOTE computer in the following format : file://ipaddress