Search This Blog

Translate

Saturday, January 26, 2013

RegIstry Tricks For Windows

1. Recycle Bin extension :  {645FF040-5081-101B-9F08-00AA002F954E}

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

2. To Disable Log Off Button

3. In the right-pane, create a new DWORD value named StartMenuLogOff and set value

to 1.



To disable switch user



4. Navigate to the following key:



HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies\System



5. In the right-pane, create a new DWORD value named HideFastUserSwitching and set

value to 1.



To disable Lock



6. Under HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies

\System, create a new DWORD value named DisableLockWorkstation and set value to 1.

Enabling NumLock on by Default

    To have numlock turned on for each user:

    Start Regedit
    Go to HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators
    Change the value from 0 to 2
    Turn Numlock on manually
    Log off and back on again.
    For all users, make the same change to HKEY_USERS\.DEFAULT\Control Panel

\Keyboard\InitialKeyboardIndicators

Increasing File System Caching

    To increase the amount of memory Windows will locked for I/O operations:

    Start Regedit
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager

\Memory Management
    Edit the key IoPageLockLimit
    4096 - 32megs of memory or less
    8192 - 32+ megs of memory
    16384 - 64+ megs of memory
    32768 - 128+ megs of memory
    65536 - 256+ megs of memory

Adding / Removing Additional Programs

    By default, WindowsXP does not display all the programs you can add or remove.

    To show this list:

    Edit the \Windows\Inf\sysoc.inf file

    In the Components section, simply remove the word hide.
    This will leave two commas together (like on the rest of the items).
    Then you can go to the Control Panel / Add or Remove Programs / Add/Remove

Windows Components and the new items will be displayed.

    [Components]
    NtComponents=ntoc.dll,NtOcSetupProc,,4
    WBEM=ocgen.dll,OcEntry,wbemoc.inf,hide,7
    Display=desk.cpl,DisplayOcSetupProc,,7
    Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,7
    NetOC=netoc.dll,NetOcSetupProc,netoc.inf,,7
    iis=iis.dll,OcEntry,iis.inf,,7
    com=comsetup.dll,OcEntry,comnt5.inf,hide,7
    dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,hide,7
    IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
    TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2
    msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6
    ims=imsinsnt.dll,OcEntry,ims.inf,,7
    fp_extensions=fp40ext.dll,FrontPage4Extensions,fp4 0ext.inf,,7
    AutoUpdate=ocgen.dll,OcEntry,au.inf,hide,7
    msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7
    msnexplr=ocmsn.dll,OcEntry,msnmsn.inf,,7
    smarttgs=ocgen.dll,OcEntry,msnsl.inf,,7
    RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7


    Games=ocgen.dll,OcEntry,games.inf,,7
    AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7
    CommApps=ocgen.dll,OcEntry,communic.inf,HIDE,7
    MultiM=ocgen.dll,OcEntry,multimed.inf,HIDE,7
    AccessOpt=ocgen.dll,OcEntry,optional.inf,HIDE,7
    Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE,7
    MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE,7
    ZoneGames=zoneoc.dll,ZoneSetupProc,igames.inf,,7

Changing the Internet Explorer Title

    Start Regedit
    Go to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Window Title
    Enter what you want appear in the title bar

Automatically Ending Non-Responsive Tasks

    Start Regedit
    Go to HKEY_CURRENT_USER\Control Panel\Desktop\AutoEndTasks
    Set the value to be 1
    In the same section, change the WaitToKillAppTimeout to the number of

milliseconds you want.

Increasing System Performance

    If you have 512 megs or more of memory, you can increase system performance
    by having the core system kept in memory.

    Start Regedit
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager

\Memory Management\DisablePagingExecutive
    Set the value to be 1
    Reboot the computer

To turn off balloon tips in applications that support XP Themes:

    Start Regedit
    Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer

\Advanced\
    Create a DWORD value of EnableBalloonTips
    Give it a value of 0
    Disable the Remote Desktop Sharing (RDS) icon's menu
    Disable the Remote Desktop Sharing (RDS) icon's menu

To Disable the Remote Desktop Sharing (RDS) icon's menu:

    Start Regedit
    Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Conferencing \Mcpt
    Create a new string value (Click on Edit > New > String Value).
    Name the value Nx
    Double-click on it and set it's value to 1
    Close the registry
    Now the menu options will be grayed out.

Disable Shared Documents

    To disable the Shared Documents folder that shows up on the network

    Start Regedit
    Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \

Policies \ Explorer \
    Create a new DWORD Value
    Give it the name NoSharedDocuments
    Give it a value of 1
    Log off or reboot

Show Hidden Devices

    You can show hidden devices in the Device Manager. One way is by making a simple

registry change. The other is through a batch file.

    Start Regedit
    Go to HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Control \ Session Manager \

Environment
    Create a string DEVMGR_SHOW_NONPRESENT_DEVICES
    Give it a value of 1

Disable Passport Pop-Up

    Normally, WindowsXP will prompt you 10 times that You Need a Passport to use

WindowsXP Internet communication features...

    To disable this

    Start Regedit
    Go to HKEY_CURRENT_USER \ Software \ Microsoft \ MessengerService
    Edit the binary key PassportBalloon
    Give it a value of 0A (0A 00 00 00)

Preventing Applications from Stealing the Focus

    To prevent applications from stealing the focus from the window you are working

    Start Regedit
    Go to HKEY_CURRENT_USER \ Control Panel \ Desktop
    Edit the key ForegroundLockTimeout
    Give it a value of 00030d40

Creating a Password Recovery Disk

    In case you forget your password, you can create a password recovery floppy disk

beforehand to help you out of this problem.

    Single-click Start menu
    Go to the Control Panel / User Accounts
    Click the User Account
    On the left hand side, click on Prevent forgotten password
    You will need to know your password to create the disk.
    If you don't remember your password sometime in the future, click on the green

arrow like normal at the login and you will be prompted to insert the password

recover disk.

Renaming the Start Button

    To rename the start button, you will need a hex editor.
    My preference is UltraEdit

    Copy the \windows\explore.exe file to a new name (e.g. explorer_1.exe)
    With the hex editor, open that file and go to offset 412b6
    You will see the word start with blanks between each letter
    Edit it be any 5 characters or less
    Save the file
    Boot to DOS
    Copy the existing c:\windows\explorer.exe to explorer.org
    Copy explorer_1.exe to explorer.exe
    You will also need to replace the explorer.exe in the c:\windows

\system32\dllcache file as well with the new one.
    Note: If the partition is NTFS and you can't access the files from DOS:

    Start Regedit
    Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \

Winlogon.
    Change the value of Shell from Explorer.exe to explorer_1.exe

Changing the Registered Owner

    Start Regedit
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    From there you can edit the name in the Registered Owner key

Enable / Disable the Task Manager

    Start Regedit
    Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies

\System
    Create the Dword value DisableTaskMgr
    Give it a value of 0 to enable it
    Give it a vaule of 1 to disable it

Enter shutdown -s -t 0 then click next.
For other things here are the codes:
Restart: shutdown -r -t 0
Logoff: shutdown -l -t 0
Hibernate: rundll32.exe PowrProf.dll, SetSuspendState Hibernate

 1.) Restrict Display Properties:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Systemcreate

DWORD value NoDispCPL and set its value to 1
2.) Restrict Taskbar Properties:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoSetTaskbar and set its value to 1
3.) Restrict Folder Options:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoFolderOptions and set its value to 1
4.) Restrict Locking/Unlocking the taskbar:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value LockTaskbar and set its value to 1
5.) Restrict Active Desktop:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoActiveDesktop and set its value to 1

6.) Restrict adding/deleting items from Toolbars
 HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies

\Explorercreate DWORD value NoToolbarCustomize and set its value to 1
7.) Restrict adding/deleting toolbars:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoBandCustomize and set its value to 1
8.) Restrict right-click in Start Menu:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoChangeStartMenu and set its value to 1
9.) Restrict Desktop Cleanup Wizard:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoDesktopCleanupWizard and set its value to 1
10.) Restrict notification at low disk space:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoLowDiskSpaceChecks and set its value to 1
11.) Restrict Taskbar Context Menu:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorercreate

DWORD value NoTrayContextMenu and set its value to 1
12.) Restrict Programs to run:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer

\DisallowRuncreate String value with any name, like 1 and set its value to the

program's EXE file.e.g., If u want to restrict msconfig, then create a String value

1 and set its value to msconfig.exe. If uwant to restrict more programs, then simply

create more String values with names 2, 3 and so on andset their values to the

program's exe.
13.) Restrict Registry Editor:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Systemcreate

DWORD value DisableRegistryTools and set its value to 1
14.) Restrict Task Manager:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System
egistry Editor Trickshttp://www.oyyas.com/hacking-h29.php2 of 48/28/2009 9:48 PM
Generated by Foxit PDF Creator © Foxit Softwarehttp://www.foxitsoftware.com For

evaluation only.

create DWORD value DisableTaskMgr and set its value to 1
15.) Restrict Drives in My Computer:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\ExplorerIn

right-side pane, create a new DWORD value NoViewOnDrive and change its value as

following:3 : To Restrict A and B drives only.4 : To Restrict C drive only.7 : To

Restrict A, B, and C drives only.8 : To Restrict D drive only.F : To Restrict A, B,

C, and D drives only.03FFFFFF : To Restrict all drives.And if you want more specific

restrictions, like you want to restrict a combination of other drives,then you can

use decimal no. instead of hexadecimal no. Following is a list for all drives

decimal no.:A: 1B: 2C: 4D: 8E: 16F: 32G: 64H: 128I: 256J: 512K: 1024L: 2048M: 4096N:

8192O: 16384P: 32768Q: 65536R: 131072S: 262144T: 524288U: 1048576V: 2097152W:

4194304X: 8388608Y: 16777216Z: 33554432ALL: 67108863So if you want to disable a

combination of drives, just sum their numbers and give the same value

toNoViewOnDrive. e.g., for restricting CDEF drives, give the value: 4+8+16+32 =

60NOTE: You can also hide the drives using NoDrives DWORD value. The location and

its valueremain same as the above trick.
16.) Restrict New option in context menu:
HKEY_CLASSES_ROOT\Directory\Background\shellex\Con textMenuHa

ndlers\NewAnd delete the value of Default, e.g., empty it

Make a Free Website withYola.
17.) Restrict Send To in context menu:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\Con textMenuHandlers\SendToAnd delete

the value of Default, e.g., empty it.
18.) Restrict Balloon Tips:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\AdvancedCreate

DWORD value EnableBalloonTips and set its value to 0
19.) Restrict Users to enable New XP StartMenu:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\ExplorerCreate

DWORD value NoSimpleStartMenu and set its value to 1
20.) Restrict Command Prompt:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Wind ows\SystemCreate DWORD value

DisableCMD and set its value to 2
21.) Restrict Writing to USB Drives:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\StorageDevicePoliciesCreate

DWORD value WriteProtect and set its value to 1
22.) Restrict RUN in New XP StartMenu:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\ExplorerCreate

DWORD value NoRun and set its value to 1

No comments:

Post a Comment