registry tricks - by gaurav

Upload: skg1022138

Post on 30-May-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Registry Tricks - By Gaurav

    1/27

    Windows Registry

  • 8/9/2019 Registry Tricks - By Gaurav

    2/27

    By:- Gaurav Verma

    Microsoft CertifiedProfessional (MCP)

    HCL Certified EthicalHacker

  • 8/9/2019 Registry Tricks - By Gaurav

    3/27

    The Windows Registryisa hierarchical database that stores

    configuration settings and optionson Microsoft Windows operatingsystems. It contains settings for low-

    level operating system components as

    well as the applications running on theplatform: the kernel, devicedrivers, services, SAM, user

    interface and third party applications

    all make use of the Registry. Theregistry also provides a means to

    access counters for profiling systemperformance.

  • 8/9/2019 Registry Tricks - By Gaurav

    4/27

    There are six Root Keys:

    * HKEY_CLASSES_ROOT* HKEY_CURRENT_USER* HKEY_LOCAL_MACHINE

    * HKEY_USERS* HKEY_CURRENT_CONFIG* HKEY_DYN_DATA

  • 8/9/2019 Registry Tricks - By Gaurav

    5/27

  • 8/9/2019 Registry Tricks - By Gaurav

    6/27

    HACKING THE

    REGISTRY

  • 8/9/2019 Registry Tricks - By Gaurav

    7/27

  • 8/9/2019 Registry Tricks - By Gaurav

    8/27

    Modify the Windows

    XP System PropertieslogoIn this tip you can learn how you can insertyour own logo in the system properties

    dialog and complete it with your own contactinformation.

    To invoke the system properties dialog, clickthe Start button, right-click "My Computer"

    and select "Properties".

    This will open up your general systeminformation dialog.

  • 8/9/2019 Registry Tricks - By Gaurav

    9/27

  • 8/9/2019 Registry Tricks - By Gaurav

    10/27

    If you want to put your own graphic in there, youshould create your image in a .bmp graphic file. It's

    also a good idea to create this bitmap image with thesame background shade of gray (RGB: 192, 192, 192)

    used in the Properties dialog. Otherwise, you riskletting Windows make its own judgments regarding

    color contrast and background shading.

    The next thing to consider is the image size. The

    system properties dialog only offers enough real estatefor an image of about 180 (wide) x120 (high) pixels.

    Make sure that you can fit your logo in this area.Once you have created your logo and saved it as a.bmp file, copy it over to the system32 subfolder of

    your Windows system folder. If you don't know whereyour system folder is :

  • 8/9/2019 Registry Tricks - By Gaurav

    11/27

    Click the Start button and select"Run"

    In the "open"field, enter "cmd"(without the quotes) and click okWindows will open up a dos

    command windowIn the command window, type "setsystem" (without the quotes)Look for the line that contains

    "SystemRoot", this is where yoursystem directory is (generally, theWindows XP system folder is

    c:\windows)

  • 8/9/2019 Registry Tricks - By Gaurav

    12/27

    Now that you know where your system folder is, copy yourlogo image file over to the system32 subfolder of your systemfolder. Then rename your logo image file to oemlogo.bmpAdditionally you can create a new file in this same folder and

    name the new file oeminfo.iniIn this file you can enter your contact information like in theexample below :[General]Manufacturer=Windows Help CentralModel=ShowCase

    [Support Information]Line1=" "Line2=" For support, sales, upgrades or questions:"Line3=""Line4=" Some text to demonstrate the XP System Propertieslogo"

    Line5=" Windows XP Tips and Tricks "Line6=" yadayada"Line7=""Line8=" +1 (888) 888-888 (voice)"Line9=" +1 (888) 888-889 (fax)"Line10=""

    Line11=""Line12=" htt : www.windows-hel -central.com "

  • 8/9/2019 Registry Tricks - By Gaurav

    13/27

    Save and close the file and you are ready.From now on, if someone opens up thesystem properties dialog, your own Windows

    XP System Properties logo is in there.

  • 8/9/2019 Registry Tricks - By Gaurav

    14/27

    Want to remove shared

    documents folderfrom My Computer

    window tip:Some don't like my shared documentsfolder option. If you are one of that,here is a trick to remove it.Openregistry editor by going to START-RUNand entering regedit.

    Once in registry, navigate to keyHKEY_LOCAL_MACHINE \ SOFTWARE \Microsoft \ Windows \ CurrentVersion \Explorer \ My Computer \ NameSpace \

    DelegateFolders You must see a sub-

  • 8/9/2019 Registry Tricks - By Gaurav

    15/27

    How to remove

    recycle bin from yourdesktop Tip:

    Open Regedit by going to START - RUN and type

    Regedit and hit enter. Then you should navigateto following entry in registry

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\

    Desktop\NameSpace\{645FF040-5081-101B-9F08-

    00AA002F954E} and delete it. This action shouldremove recycle bin from your desktop.

  • 8/9/2019 Registry Tricks - By Gaurav

    16/27How to improve on shutdown

    Open Registry by going to START-RUN and typing REGEDIT.Navigate to HKEY_CURRENT_USER\CONTROLPANEL\DESKTOP and look for AutoEndTasks. On my

    computer default value is 0. Change it to 1. Thats all.Further more you can reduce the time it takes for Windows

    to issue kill directive to all active/hung applications.

    In doing this only constraint that you should make sureexists is that HungAppTimeout is greater thanWaitToKillAppTimeout. Change the values of

    WaitToKillAppTimeout to say 3500 (since default value forHungAppTimeout 5000 and for WaitToKillAppTimeout is

    20000)

  • 8/9/2019 Registry Tricks - By Gaurav

    17/27

    Speedup boot up

    sequence bydefragmenting all keyboot files tip:

    Open Registry by going to START-RUNand typing REGEDIT. Navigate to

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction. In

    right hand panel look for Enable. Rightclick on it and set it 'Y' for enable. Thisis the way I have it set on my

    computer. This will help speedup boot

    time.

  • 8/9/2019 Registry Tricks - By Gaurav

    18/27

    WINDOWS - 7 (tricks)

    Add network support

    By default Windows Live MovieMaker

    won't let you import files over anetwork, but a quick Registry tweak

    will change this. Run REGEDIT, browseto

    HKEY_CURRENT_USER\Software\Micros

  • 8/9/2019 Registry Tricks - By Gaurav

    19/27

    Find bottlenecks

    From what we've seen so far Windows 7 isalready performing better than Vista, but if

    your PC seems sluggish then it's now mucheasier to uncover the bottleneck. Click Start,type RESMON and press Enter to launch the

    Resource Monitor, then click the CPU, Memory,

    Disk or Network tabs. Windows 7 willimmediately show which processes are

    hogging the most system resources.

  • 8/9/2019 Registry Tricks - By Gaurav

    20/27

    By default Windows 7 will permanentlyconsume a chunk of your hard drivewith its hibernation file, but if you

    never use sleep, and always turn your

    PC off, then this will never actually beused. To disable hibernation andrecover a little hard drive space,

    launch REGEDIT, browse toHKEY LOCAL MACHINE\SYSTEM\Current

  • 8/9/2019 Registry Tricks - By Gaurav

    21/27

    Extend Windows 7

    from 30 days to 90Days trail -

    Follow the procedure below to extend your trail period

    1.Firstly, Download Windows 7 Pre-Beta M3 Build 6801 from here.

    2. Burn it on a DVD, and install windows 7.

    Note: This hack will work after every days of use, so try these commands 2times just some days before your 30 days trail is going to end.

    3. When installation is complete, open Command Prompt.

    Type any of the three commands below:sysprep /generalizeslmgr.vbs rearm

    rundll32 slc.dll,SLReArmWindows

    This is how you can get 90 = 30+60 days of Windows 7 trail period.

  • 8/9/2019 Registry Tricks - By Gaurav

    22/27

    Remove Watermark

    from Windows 7 beta1 Desktop -WIndows 7 is in its beta version

    and you can realize it well with thelapses in the operating system.One such annoying feature with the

    OS is the water mark embedded inthe desktop. To remove thewatermark you can follow the steps

    below. Before beginning with the

  • 8/9/2019 Registry Tricks - By Gaurav

    23/27

    Use Virtual Hard DiskFiles -

    You can now create and manage virtualhard disks files in Windows 7 as if they were

    real disks. This can allow you to use a liveWindows installation on the virtual diskwithout the need to boot the virtualComputer. To create a virtual disk you have

    to press the Windows Key, right-click onComputer, then go toManage-> Disk Management

    -> Action

  • 8/9/2019 Registry Tricks - By Gaurav

    24/27

    The Windows 7 beta has a pack

    of hidden and locked themes.Let's see how you can unlock

    the hidden themes -

    Step 1: Open the Explorer (Windows + E) andgo to C:\Windows\winsxsStep 2: Enter *.theme into the search field.Alternately you can use the * sign on the

    number block.Step 3: You'll get the Click me promptStep 4: Double-click the themes ZA, US, GB,

    CA, AU to install them.

  • 8/9/2019 Registry Tricks - By Gaurav

    25/27

  • 8/9/2019 Registry Tricks - By Gaurav

    26/27

  • 8/9/2019 Registry Tricks - By Gaurav

    27/27

    THANK YOU

    GAURAV([email protected])