Friday, September 25, 2009
Disable Windows Firewall using Visual Basic (windows security tricks..)
Please note due to display constraints,the code here may not be displayed as in Visual Basic IDE,It will be wrapped up in several lines like the one given below..but you get the idea..
Shell "cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v ""EnableFirewall"" /t REG_DWORD /d ""0"" /f", vbHide
Here is another piece of code that will do it. Instead of disabling it, it allows exceptions to the firewall, and adds a program as an exception.
Public Sub FirewallException(Path As String)
Shell "cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v ""DoNotAllowExceptions"" /t REG_DWORD /d ""0"" /f", vbHide
Shell "cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v """ & Path & """ /t REG_SZ /d """ & Path & ":*:Enabled:Windows Messanger"" /f", vbHide
End Sub
Put the above code into a module. To use, put this in your code to add itself to the exception list. You can call this code by using this code -
Call FirewallException(App.Path & "\" & App.EXEName & ".exe")
Funny Computer Trick...(internet browser tricks..)
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)
2: Press enter and watch your window's "shaking it". You can change the value of i if you wish :-)
Run Commands In Windows XP..(windows command)
-
SQL Client Configuration - cliconfg
System Configuration Editor - sysedit
-
System Configuration Utility - msconfig
-
System File Checker Utility (Scan Immediately)- sfc /scannow
-
System File Checker Utility (Scan Once At Next Boot)- sfc /scanonce
-
System File Checker Utility (Scan On Every Boot) - sfc /scanboot
-
System File Checker Utility (Return to Default Setting)- sfc /revert
-
System File Checker Utility (Purge File Cache)- sfc /purgecache
-
System File Checker Utility (Set Cache Size to size x)-sfc/cachesize=x
System Information - msinfo32.
Task Manager – taskmgr
-
System Properties - sysdm.cpl
-
Task Manager – taskmgr
-
TCP Tester - tcptest
-
Telnet Client - telnet
-
Tweak UI (if installed) - tweakui
-
User Account Management- nusrmgr.cpl
-
Utility Manager - utilman
-
Windows Address Book - wab
-
Windows Address Book Import Utility - wabmig
-
Windows Backup Utility (if installed)- ntbackup
-
Windows Explorer - explorer
-
Windows Firewall- firewall.cpl
-
Windows Magnifier- magnify
-
Windows Management Infrastructure - wmimgmt.msc
-
Windows Media Player - wmplayer
-
Windows Messenger - msmsgs
-
Windows Picture Import Wizard (need camera connected)- wiaacmgr
-
Windows System Security Tool – syskey
-
Windows Update Launches - wupdmgr
-
Windows Version (to show which version of windows)- winver
-
Windows XP Tour Wizard - tourstart
-
Wordpad - write
-
Password Properties - password.cpl
-
Performance Monitor - perfmon.msc
-
Phone and Modem Options - telephon.cpl
-
Phone Dialer - dialer
-
Pinball Game - pinball
-
Power Configuration - powercfg.cpl
-
Printers and Faxes - control printers
-
Printers Folder – printers
-
Private Character Editor - eudcedit
-
Quicktime (If Installed)- QuickTime.cpl
-
Real Player (if installed)- realplay
-
Regional Settings - intl.cpl
-
Registry Editor - regedit
-
Registry Editor - regedit32
-
Remote Access Phonebook - rasphone
-
Remote Desktop - mstsc
-
Removable Storage - ntmsmgr.msc
-
Removable Storage Operator Requests - ntmsoprq.msc
-
Resultant Set of Policy (XP Prof) - rsop.msc
-
Scanners and Cameras - sticpl.cpl
-
Scheduled Tasks - control schedtasks
-
Security Center - wscui.cpl
-
Services - services.msc
-
Shared Folders - fsmgmt.msc
-
Shuts Down Windows - shutdown
-
Sounds and Audio - mmsys.cpl
-
Spider Solitare Card Game - spider
-
Malicious Software Removal Tool - mrt
-
Microsoft Access (if installed) - access.cpl
-
Microsoft Chat - winchat
-
Microsoft Excel (if installed) - excel
-
Microsoft Frontpage (if installed)- frontpg
-
Microsoft Movie Maker - moviemk
-
Microsoft Paint - mspaint
-
Microsoft Powerpoint (if installed)- powerpnt
-
Microsoft Word (if installed)- winword
-
Microsoft Syncronization Tool - mobsync
-
Minesweeper Game - winmine
-
Mouse Properties - control mouse
-
Mouse Properties - main.cpl
-
Nero (if installed)- nero
-
Netmeeting - conf
-
Network Connections - control netconnections
-
Network Connections - ncpa.cpl
-
Network Setup Wizard - netsetup.cpl
-
Notepad - notepad
-
Nview Desktop Manager (If Installed)- nvtuicpl.cpl
-
Object Packager - packager
-
ODBC Data Source Administrator- odbccp32.cpl
-
On Screen Keyboard - osk
-
Opens AC3 Filter (If Installed) - ac3filter.cpl
-
Outlook Express - msimn
-
Paint – pbrush
-
Keyboard Properties - control keyboard
-
IP Configuration (Display Connection Configuration) - ipconfi/all
-
IP Configuration (Display DNS Cache Contents)- ipconfig /displaydns
-
IP Configuration (Delete DNS Cache Contents)- ipconfig /flushdns
-
IP Configuration (Release All Connections)- ipconfig /release
-
IP Configuration (Renew All Connections)- ipconfig /renew
-
IP Configuration(RefreshesDHCP&Re-RegistersDNS)-ipconfig/registerdns
-
IP Configuration (Display DHCP Class ID)- ipconfig/showclassid
-
IP Configuration (Modifies DHCP Class ID)- ipconfig /setclassid
-
Java Control Panel (If Installed)- jpicpl32.cpl
-
Java Control Panel (If Installed)- javaws
-
Local Security Settings - secpol.msc
-
Local Users and Groups - lusrmgr.msc
-
Logs You Out Of Windows - logoff.....
-
Accessibility Controls - access.cpl
-
Accessibility Wizard - accwiz
-
Add Hardware - Wizardhdwwiz.cpl
-
Add/Remove Programs - appwiz.cpl
-
Administrative Tools control - admintools
-
Adobe Acrobat (if installed) - acrobat
-
Adobe Designer (if installed)- acrodist
-
Adobe Distiller (if installed)- acrodist
-
Adobe ImageReady (if installed)- imageready
-
Adobe Photoshop (if installed)- photoshop
-
Automatic Updates - wuaucpl.cpl
-
Bluetooth Transfer Wizard – fsquirt
-
Calculator - calc
-
Certificate Manager - certmgr.msc
-
Character Map - charmap
-
Check Disk Utility - chkdsk
-
Clipboard Viewer - clipbrd
-
Command Prompt - cmd
-
Component Services - dcomcnfg
-
Computer Management - compmgmt.msc
-
Control Panel - control
-
Date and Time Properties - timedate.cpl
-
DDE Shares - ddeshare
-
Device Manager - devmgmt.msc
-
Direct X Control Panel (If Installed)- directx.cpl
-
Direct X Troubleshooter- dxdiag
-
Disk Cleanup Utility- cleanmgr
-
Disk Defragment- dfrg.msc
-
Disk Management- diskmgmt.msc
-
Disk Partition Manager- diskpart
-
Display Properties- control desktop
-
Display Properties- desk.cpl
-
Display Properties (w/Appearance Tab Preselected)- control color
-
Dr. Watson System Troubleshooting Utility- drwtsn32
-
Driver Verifier Utility- verifier
-
Event Viewer- eventvwr.msc
-
Files and Settings Transfer Tool- migwiz
-
File Signature Verification Tool- sigverif
-
Findfast- findfast.cpl
-
Firefox (if installed)- firefox
-
Folders Properties- control folders
-
Fonts- control fonts
-
Fonts Folder- fonts
-
Free Cell Card Game- freecell
-
Game Controllers- joy.cpl
-
Group Policy Editor (XP Prof)- gpedit.msc
-
Hearts Card Game- mshearts
-
Help and Support- helpctr
-
HyperTerminal- hypertrm
-
Iexpress Wizard- iexpress
-
Indexing Service- ciadv.msc
-
Internet Connection Wizard- icwconn1
-
Internet Explorer- iexplore
-
Internet Setup Wizard- inetwiz
-
Internet Properties- inetcpl.cpl
Hacking Windows SEND TO MENU..
What do you do? You select the required files and do a CTRL –C. Open the destination folder and do a CTRL-V. Here is something you can benefit time from. Customize your SEND TO MENU.
This sounds simple and you can do it in less than sixty seconds.
You can create your own BASKET.
First you’ll need access to hidden files. So change your view settings to make all hidden files visible.
1. Tools -> folder options -> view (tab) and select the show hidden files and folders.
go to parent drive:/documents and settings/(user name)/send to
2. Open up my computer and locate your most used folders.
3. Create a shortcut of the most used folders in SEND TO FOLDER.You can do this in a number of ways.
4. Right click -> send to desktop(create shortcut) and move the shortcut from the desktop to the SEND TO FOLDER
5. Copy the most used folder and go to SEND TO FOLDER and right click -> paste shortcut.
Also remember to rename the shortcuts to send to videos or send to potos. We don’t need confusion when we use the same later.
<<<<<<>>>>>>
Turn off all system beeps..
Start>>Run>> type "Regedit" (withount " ") then change following values..
Go to HKEY_CURRENT_USER\Control Panel\Sound
Edit the key Beep and give it a value of No
Windows XP Shutdown and Power Off Tip..
Make Your Windows Fast As Never Before..
Disable CD Autorun
( WinXP PRO Only)
1) Click Start, Run and enter GPEDIT.MSC
2) Go to Computer Configuration, Administrative Templates, System.
3) Locate the entry for Turn autoplay off and modify it as you desire.
Speed Up Browsing
When you connect to a web site your computer sends information back and forth. Some of this information deals with resolving the site name to an IP address, the stuff that TCP/IP really deals with, not words. This is DNS information and is used so that you will not need to ask for the site location each and every time you visit the site. Although Windows XP and Windows XP have a pretty efficient DNS cache, you can increase its overall performance by increasing its size. You can do this with the registry entries below:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"CacheHashTableBucketSize"=dword:00000001
"CacheHashTableSize"=dword:00000180
"MaxCacheEntryTtlLimit"=dword:0000fa00
"MaxSOACacheEntryTtlLimit"=dword:0000012d
Make a new text file and rename it to dnscache.reg. Then copy and paste the above into it and save it. Merge it into the registry.
DISABLE INDEXING SERVICES
Indexing Services is a small little program that uses large amounts of RAM and can often make a computer endlessly loud and noisy. This system process indexes and updates lists of all the files that are on your computer. It does this so that when you do a search for something on your computer, it will search faster by scanning the index lists. If you don't search your computer often, or even if you do search often, this system service is completely unnecessary. To disable do the following:
1. Go to Start
2. Click Settings
3. Click Control Panel
4. Double-click Add/Remove Programs
5. Click the Add/Remove Window Components
6. Uncheck the Indexing services
7. Click Next
OPTIMISE DISPLAY SETTINGS
Windows XP can look sexy but displaying all the visual items can waste system resources. To optimize>
1.Go to Start
2. Click Settings
3. Click Control Panel
4. Click System
5. Click Advanced tab
6. In the Performance tab click Settings
7. Leave only the following ticked:
- Show shadows under menus
- Show shadows under mouse pointer
- Show translucent selection rectangle
- Use drop shadows for icons labels on the desktop
- Use visual styles on windows and buttons
You may have noticed that everytime you open my computer to browse folders that there is a slight delay. This is because Windows XP automatically searches for network files and printers everytime you open Windows Explorer. To fix this and to increase browsing significantly:
1. Open My Computer
2. Click on Tools menu
3. Click on Folder Options
4. Click on the View tab.
5. Uncheck the Automatically search for network folders and printers check box
6. Click Apply
7. Click Ok
8. Reboot your computer
DISABLE UNNECESSARY SERVICES
Because Windows XP has to be all things to all people it has many services running that take up system resources that you will never need. Below is a list of services that can be disabled on most machines:
Alerter
Clipbook
Computer Browser
Distributed Link Tracking Client
Fast User Switching
Help and Support - (If you use Windows Help and Support leave this enabled)
Human Interface Access Devices
Indexing Service
IPSEC Services
Messenger
Netmeeting Remote Desktop Sharing (disabled for extra security)
Portable Media Serial Number
Remote Desktop Help Session Manager (disabled for extra security)
Remote Procedure Call Locator
Remote Registry (disabled for extra security)
Remote Registry Service
Secondary Logon
Routing & Remote Access (disabled for extra security)
Server
SSDP Discovery Service - (Unplug n' Pray will disable this)
Telnet
TCP/IP NetBIOS Helper
Upload Manager
Universal Plug and Play Device Host
Windows Time
Wireless Zero Configuration (Do not disable if you use a wireless network)
Workstation
To disable these services:
Go to Start and then Run and type "services.msc"
Doubleclick on the service you want to change
Change the startup type to 'Disable"
Find who is Invisible on Yahoo messenger ..(Yahoo messenger tricks)
1. Firstly open your yahoo messenger main window and double click on the name of the person whom you want to check. The chat window will open obviously.
2. Click IMVironment button, select See all IMVironments, select Yahoo! Tools or Interactive Fun, and click on Doodle. After loading the Doodle imvironment there can be two possibilitiesi. If the user is offline Doodle are will show this "waiting for your friend to load Doodle" continuously .See in the picture below:
ii. If the user is online (but in invisible mode), after few seconds (it can take up to one minute, depending on your connection speed), you should get a blank page like in the picture below. So you know that the user is online.
How can Increase the speed of your internet connection without a new modem..
There is a setting located in your windows registry called the Maximum Transfer Unit (MTU). This determines the size of the packets of data sent between your and your server. In Windows 95, this setting is has a value of 1,500 bytes when the actual size of internet packets is 1,000 bytes. This can sometimes slow things down. To remedy the situation, simply follow these steps>
1. In the registry editor (Start > Run > regedit.exe), navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans. In the NetTrans folder you should find another folder named "000x" in which x represents a fourth digit. Right-click on the "000x" folder and select New and StringValue. Rename the item that appears in the panel on the right side to MaxMTU, then double-click it to bring up the Edit String box and give it a velue of 1002.
2. Remember to keep playing with the MaxMTU value until you feel that your internet connection has greatly sped up. Some people report huge speed gains using this tricks, while others hardly notice a difference. In any case, it's definetly worth a try.
Folder Options Missing..(WinXp) (HOW TO FIX THIS..???)
2. Now goto User Configuration > Administrative templates > Windows Component > Windows Explorer.
3. Click on Windows Explorer you will find the 3rd option on the right side of screen "Removes the Folder Option menu item from the Tools menu"
Just check it, if it is not configured then change it to enable by double clicking on it and after applying again set it to not configured.
4. I hopes that you will find the option after restarting windows.