31 March 2011

Blocking CMD (Command Prompt)

The first question that comes to your mind might be : "Why would someone block the Command Prompt?"
There are some reasons to do this and one of the reasons is to prevent unwanted users from messing with your policies and having elevated privileges.

This trick is used by Internet Cafe Admins and IT Managers in many companies.

How to :

There are two simplest methods that can be used for this purpose. 

First Method :
  • Open notepad.exe
  • Type in the code below:
      dim reg
   set reg = CreateObject("Wscript.Shell")
   reg.RegWrite "HKCU\Software\Policies\Microsoft\Windows\System\DisableCMD", "1", "REG_DWORD"

  • Save it as DisableCMD.vbs
  • Run it by double-clicking on the file.
 Second Method :
  • Open cmd.exe
  • type in : reg add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /d 1 /t REG_DWORD
  • Press enter and close the CMD window. 

Now, having disabled the CMD, what if you wanted to re-enable it for some reason, such as when it is disabled by a virus?

We only have one option left (since I taught you only two methods and the second won't work because the CMD itself is blocked already), wchich is to use VBScript.

The steps would be :
  • Open notepad.exe 
  • Type in the code below:
      dim reg
   set reg = CreateObject("Wscript.Shell")
   reg.RegWrite "HKCU\Software\Policies\Microsoft\Windows\System\DisableCMD", "0", "REG_DWORD"

  • Save as EnableCMD.vbs
  • Double-click on the icon to run the script

Actually there are more methods in doing this(writing to the registry), such as :
-Using BAT Files
-Using CMD Files
-Using REG Files
-Directly editing the values from regedit.exe(Windows Registry Editor)
-etc.




Finally, thank you for reading this post. May this be useful.


Cyber Frost

30 March 2011

Getting your Computer's Machine Address (MAC)

Type this code in the notepad, then save as MAC.bat :

@Echo Off
Echo Checking MAC Address...
getmac


It should look like this :


Notepad - MAC


When saved as MAC.bat and run, it should look like this :

MAC.bat


P.S. : If you don't know which one the MAC Address is, it is 00-21-27-F6-83-57 in the picture...

Cyber Frost

29 March 2011

MiniLyrics, Adding Lyrics to your Windows Media Player

Have you ever wanted to listen to a new song without having to search the lyrics from the internet?
Here it is, MyniLyrics, an application that helps you download the lyrics, displaying it while you are listening to the song.

Click here to download MiniLyrics 7.0.676.

Note: You have to be connected to the internet to view the lyrics.

Thanks for reading, drop comments below if you have any questions.
Cyber Frost

Deep Freeze Vs. Antiviruses

I believe we all know these names below:
  • Kaspersky Antivirus
  • Norton Antivirus
  • AVG
  • ESET NOD32 Antivirus
  • Avira Antivirus
  • and many more...
And, maybe some of you have known the program Deep Freeze, a utility that can restore your computer to its former state(the date when you first installed Deep Freeze) when the computer is restarted.

In my opinion, this capability of Deep Freeze to restore a computer's state is more useful than antiviruses capability of removing virus, which they rarely succeed to do because they are blocked by the virus itself.

Therefore I suggest you to download and install the latest version of Deep Freeze in your computer. It is user-friendly, versatile, and easy-to-use. You can download the latest free version of Deep Freeze here.

Note: Please notice that the Free Version of the program protects only Drive C:, which is the most important drive in your computer, containing system files needed to boot your computer up. Drives other than C: will not be protected, please take note on this.

When you accidentally deleted an important file, simply restart and the file will be restored. However you should also take note that any changes you make in a Frozen state will not take effect. If you want to install any new programs, you should set the state to Thawed and restart your computer before you can install it. The same trick is used when you want to save/download a file, document, etc.


Hope this helps. Thank you for reading.

Cyber Frost

Javascript, Client-Side Website Editing

There's a javascript code that can be used to edit webpages, not by altering the HTML source, but by editing it visually right from your browser screen.


Here's the code:

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Simply copy it to the address bar of your browser and press enter.

When you have finished editing the webpage, you can capture it by using these methods:
   I. The Print Screen Method
      Using this method, here are the steps:
  1. Press the Print Screen key on your keyboard.
  2. Click Start>Run and type in mspaint.
  3. Press Enter.
  4. Press Ctrl+V(Paste).
  5. Save the picture.
   II. Using Programs to Capture
       There are several programs that you can use to do this job, which are:
  1. Snipping Tool, included in Windows itself(Vista or higher).
  2. Snippy , can be downloaded here.
  3. and many others, simply do a search on Google.

After you finished capturing all the pictures you need, simply refresh the page to exit editing mode.


Well, thank you for reading. Enjoy your day.

Cyber Frost

28 March 2011

My First Post

Now, here is my first post.


I haven't had time to post anything yet, but soon I will. So, be patient.

I will inform you when I update my blog. Thanks for reading.

Search