Sunday, December 23, 2007

For Enable Or Disable USB Ports

Well it is not foolproof but there is another trick from which you can easily disable USB devices.
Procedure:


  1. Start >> Run >> Regedit
  2. Follow The Path Given Below:
  3. For Disable USB
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
  4. In the right pane, double-click Start
  5. In the Value data box, type 4,and then click OK
  6. For Enable USB
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
  7. In the right pane, double-click Start
  8. In the Value data box, type 3,and then click OK
  9. Set >> Start=3

Enable Or Disable Regedit

Registry Editor is a gate that can change the all your Windows registry value. It means if somebody want to destroy your Windows XP just open Registry Editor and change the important. So I want to share the trick to disable or enable Registry Editor with one click so many tricks to enable / disable Registry Editor in here 2 Method to enable or disable regedit :

1. Using reg file



Open Notepad to type the script via Start - Run menu and type notepad in textbox then click OK button or press Enter key and Paste bellow.
----------------------start below
REGEDIT4[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]"DisableRegistryTools"=-[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]"DisableRegistryTools"=-
-----------------------end above

After that click File - Save As Enable.reg and double click that file to run that aplication.

2. Using vbs


----------------------start bellow
Dim Registry
ManageRegedit()
Sub ManageRegedit()
Set Registry=WScript.CreateObject("wscript.shell")
describe="Type 0 or 1 : " & VbCrLf &_
"[0] -> Enable Regedit." & VbCrLf &_
"[1] -> Disable Regedit."

question=InputBox(describe, "Disable/Enable Regedit",0)

Registry.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion" &_
"\Policies\System\DisableRegistryTools",question,"REG_DWORD"

If question=1 Then
MsgBox "Registry is disabled.",VbInformation, "Disabled"
Else
If question=0 Then
Msgbox "Registry is enabled.",VbInformation, "Enabled"
Registry.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion" &_
"\Policies\System\DisableRegistryTools"
Else
Msgbox "Input 0 or 1 only !",VbInformation, "Wrong Input"
ManageRegedit()
End If
End If
End Sub
----------------------end above
After that save that with file name Enable.vbs and double click that file.


3. Using Gpedit.msc
Procedure:

  1. Click Start >> Run
  2. Type GPEDIT.MSC and Press Enter
  3. Go to the following location
  4. User Configuration
  5. Administrative Templates
  6. System
  7. In the Settings Window, find the option for "Prevent Access to Registry Editing Tools" and double-click on it to change.
  8. Select Disabled or Not Configured and choose OK
  9. Close the Group Policy Editor and restart your computer
  10. Try opening REGEDIT again

Your IP Is Hacked By Me...............

Sign by Danasoft - Get Your Free Sign