Showing posts with label RUN AND COMMAND PROMPT TRICKS. Show all posts
Showing posts with label RUN AND COMMAND PROMPT TRICKS. Show all posts
Enable Administrator Account Using Command Prompt

Enable Administrator Account Using Command Prompt

In my previous post, I wrote about How To Add Administrator Account To Welcome Screen? using Registry. Now am telling about one more way to adding administrator account to welcome screen using CMD, follow these steps:
  • Run command prompt as Administrator.
  • Type command "net user administrator /active:yes"
  • You should see a message "The Command Completed Successfully."
  • Log out & you will see Administrator account on your welcome screen.
  • For hiding, enter command as "net user administrator /active:no"
Trick For Hiding Text In Notepad

Trick For Hiding Text In Notepad

Ever wondered about hiding text in notepad? With a simple trick you can hide any notepad text. Follow these simple steps:
  • Open CMD, go to the path where you want to save your text file (Like I entered the command as d: for saving text file in D drive)
  • Enter the command notepad hack.txt:hacked (hack is the name of the file).
  • A prompt window will ask for creating a new file, press Yes & write text whatever you want.
  • Save it by using Ctrl+S.
  • You have created text file with name hack in D drive. 
  • Open the file, it won't show anything.
  • For showing the text, again write the same command in DOS as notepad hack.txt:hacked
Note: You can also try as notepad hack.txt:hacked for hiding text in wordpad.
Make Your Own Run Command

Make Your Own Run Command

As we know that Run executes files which have path in system32 folder of windows. Like cmd, notepad are placed in system32 folders. So we can directly access these applications by entering just name of application in run box. Like typing Notepad in run will open Notepad. So in the similar way you can make your own run command. Follow these simple steps:
  • Copy any file or its shortcut (which you wanna to access through run Like any MP3 file with name abc.mp3) to C:\Windows\system32 folder.
  • Now type the file name in run box & press Enter.
How To Make Your Computer's Internal Speaker Beep?

How To Make Your Computer's Internal Speaker Beep?

Beep your internal speaker of computer using VBS and CMD trick:
  • Using CMD

    Type Ctrl+G in DOS & then press Enter. For long beep you can repeat the process like pressing Ctrl+G 10 times and then press Enter.

  • Using VBS

    Copy below written script and paste it on Notepad, save it with extension .vbs

    Set oWS = WScript.CreateObject("WScript.Shell")
    oWS.Run "%comspec% /c echo " & Chr(07), 0, True 

    For making beep that does not stop, try this code: 
     do
    Set oWS = WScript.CreateObject("WScript.Shell")
    oWS.Run "%comspec% /c echo " & Chr(07), 0, True
    loop
Note: For stop, go to Task Manager, Processes, Look for process with name wscript.exe and then click stop.
Trace Websites Path Using CMD

Trace Websites Path Using CMD

Do you know the power of command prompt in your windows? Well you can do anything using CMD if you wish. What important is to only be updated with it's commands. Here I'm telling about tracing websites path using command prompt.

Traceroute is a command which can show you the path a packet of information takes from your computer to one you specify. It will list all the routers it passes through until it reaches its destination, or fails to and is discarded. Follow these simple steps:
  • Go to start> run> Type cmd
  • Enter command like tracert www.basicsofhacking.com
  • That's all.