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

Friday, 30 September 2016

How to Improve Cyber Security

How to make your PC secure from all the threats in the online world and improve cyber security? Not sure? Then read on. Here is a list of things you should know to improve your online cyber security:-

1. Anti-virus : Probably one of the first thing which comes into one's mind when thinking about security. An anti-virus is an inevitable tool for the security of a PC. One can either choose a paid version of the anti-virus of his choice or opt for the equally effective free antivirus. Before choosing the anti-virus, it is necessary to check whether the anti-virus has resident protection or not. Resident Protection automatically detects viruses when they are loaded into the memory and takes the appropriate action thus saving a user from sitting hours in front of the PC scanning for viruses. It is important to check regularly for updates. Also do a quick scan (scanning Windows folder, Registry, Documents and recent downloads) at least once a week and a full scan at least once a month even if your PC appears fine.


2. Anti-spyware: A spyware is a program which collects private information and sends it to its programmer. Spywares are considered more dangerous than viruses as they steal private information like Windows registration number, bank account details, credit card's information, site logins, which can be used to harm a user in all possible ways. Login Accounts to social networks like Faceboo seem to be the prime target. Thus, it is necessary to have a good anti-spyware software with resident protection , registry monitoring and browser monitoring. Again it is the user's choice to either opt for a paid one or a free one. It is important to enable the automatic update function in the anti-spyware software and to do a quick scan of the PC once a week. It is also necessary do a full scan once every month for best results.

3. Firewall: A firewall prevents unauthorized or malicious applications from reaching a computer. A firewall is basically needed to protect a PC against Trojans, spyware, worms, hackers, hijackers and other known and unknown threats. However, a firewall must not be assumed an alternative to the anti-virus or anti-spyware software. Before choosing a firewall, the most important thing to keep in mind is the ease of use and the amount of customization possible. An often overlooked factor upon choosing a firewall is the amount of resources consumed by it. Keeping all these factors in mind, a good firewall software(free or paid) must be chosen. It is important to read the alerts displayed by it carefully, and select an appropriate action to do.



4. Anti-spam: Anti-spam software has become important because of the amount of spam messages received by internet users frequently. These spam messages are the most common cause of cyber crime. Installing one and using it is easy. So don't worry about how to use one. The only difficult thing is to be patient with it. Its performance will improve over time. You can download any of the free anti-spam available over the web or can opt for a paid version.

5. Windows Update: A very important aspect of PC security is updating Windows. It is necessary to enable Automatic Updates in Windows which help in getting the latest security fixes. Getting these updates will help Windows work better and make one's working more secure.

6. Backing Up: It is important to back up all your important data to have a copy of it whenever needed in case of a data loss due to malware.

How To Make Computer Secure

Here are some tips which will enable you to make your PC more secure.

Anti-virus

1. Never, ever turn off the resident protection of your antivirus even if it decreases performance. Upgrade if necessary.

2. Keep your virus definitions up-to-date. Use the automatic update feature of your anti-virus and try not to ignore the "Do you want to update now" message however often it might pop up.

3. Even if you update regularly and you have not seen any suspicious activity on your PC, do a deep scan at least once a month.

4. Always create an emergency boot disk and keep it in a safe place.

5. Run a deep scan in safe mode at least once every two months to kill viruses that would otherwise remain hidden.

Firewalls

1. If you are unsure about the alert displayed by your firewall, try searching it on the internet.

2. A firewall is a powerful tool that requires an understanding of how the program works and exactly what it is doing and whether it is secure or not. Reading the help files is extremely important in successful configuration of your firewall.

3. If you are running a third party firewall,be sure to turn off the Windows Firewall.

4. You can temporarily disable a firewall by right clicking the icon in the tray. This is handy when you know a site is one you can trust but your firewall is blocking it. But remember to re-enable it as soon as possible.

5. Read firewall notices carefully when they pop up so that you don't let a bad thing in or prevent good traffic.


Anti-Spyware

1. You should regularly check for updates. Enable the automatic update feature.

2. Remember to do a scan every now and then, or schedule scans if your program allows it. If you don't want to sit that long for scans to complete, use a single folder for all your downloads, then scan only that folder, Windows installation folder and the Registry. Alternately, you can do a quick scan if your program allows it.



Anti-Spam

1. Be patient with anti-spam software, it will get better over time.

2. Even if it looks that your anti-spam software is working great, periodically check the 'Spam' folder for good mail. None of the anti-spam software is perfect right now.

3. Don't give your anti-spam software too much rules, because it will not learn anything then. It is better if it learns on its own.

How to Disable Disable USB ports on Windows PC via Registry

With this trick, you can disable access to your USB(Universal Serial Bus) ports on your Windows based PC to prevent people from taking out data without permission or spreading viruses through the use of USB (pen and flash) drives.

To use this trick to disable USB ports, follow the steps given below:-


  1. Click on Start.
  2. Click on Run. If you cannot find RUN, type it in the search box.
  3. Type "regedit" without quotes. This will launch the Registry Editor.
  4. Navigate to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor.
  5. In the work area, double click on Start.
  6. In the Value Data box, enter 4.
  7. Click on OK.
  8. Close Registry Editor and refresh your desktop.
  9. To re-enable access to your USB ports, enter 3 in the Value Data box in Step 6.
Try it yourself to make your PC invulnerable from data theft and malware which spread through USB ports. This works on Windows XP, Windows Vista, Windows 7 and Windows 8.

Note: This trick also disables access to your USB connected peripheral devices. So, do not use it if you have USB connected keyboard and mouse.

How to use a keybaord as a mouse

If your mouse is not working and you don't wish to wait till you get a new mouse, you would definitely like to know how you can use your keyboard as mouse. It is easy to use your mouse as keyboard in windows using the On Screen Keyboard utility, but it is also possible to do the reverse.

All you need to do is:


Windows XP Users:-
  1. Go to Control Panel.
  2. Then click on Switch to Classic View.
  3. Then Click on Accessibility Options.
  4. Then Click on the Mouse Tab.
  5. Select Use MouseKeys.
  6. Click on OK.
  7. Then activate NumberLock (by pressing the NumLk key).
  8. You should hear a beep sound.
  9. Now you can control the mouse pointer using the arrow keys on the numeric keypad.






Windows 8, Windows 7 and Vista Users:



  1. Open Ease of Access Center by clicking the Start button , clicking Control Panel, clicking Ease of Access, and then clicking Ease of Access Center.
  2. Click Make the mouse easier to use.
  3. Under Control the mouse with the keyboard, select the Turn on Mouse Keys check box.

You can also increase the acceleration and speed of your mouse movements according to your needs.

You can alternately press the Alt+Shift+Num Lock combination to instantly activate Mouse keys.


For laptops, this will only work if your keyboard has a numeric keypad or alternate keys which you can enable by pressing the Number Lock or the Function key.




How to Recover Deleted files in Windows with Free Tools

Have you ever deleted a file that you did not wish to and wanted to recover it but did not find it in the recycle bin? You probably deleted it permanently with Shift+Delete or emptied the Recycle Bin. Now what? Don't worry, you may still have a chance to get it back. This article lists some free software that can recover deleted files from your hard drive or any other storage device instantly.

But how do the software mentioned below undelete deleted files?

    When files are deleted, Windows does not delete them from your hard disk. It marks the storage space as empty for new data to be written and deletes the index entry that tells the location of those files. Unless, new files are written on that space, the deleted files are still recoverable. That's what allows these software to recover deleted files.

There are many free softwares that allow users to do this. Some of them are given below:-

1) Pandora Recovery

                   Pandora Recovery is a free software that offers a wizard based interface for recovering files. It allows you to browse a drive's individual folders to look for deleted files. It also allows you search for a deleted file based on its name, file size, creation date and last access time. Its deep scan allows you to recover files that other software might have missed. Although deep scan does not return a file's original name and location, it still is effective to recover data from drives with corrupted file tables and drives that were recently formatted. It can even recover data from CDs and DVDs.

2) TOKIWA DataRecovery

                 At just over 200KB, Tokiwa DataRecovery is the smallest file recovery program in the market. It supports undeletion from FAT 12, FAT16, FAT32 and NTFS file systems. It also supports recovering NTFS compressed and EFS encrypted files. This software supports Windows and is portable as well. It also has a file shredder that allows you to wipe out files in a manner that they cannot be recovered again.

3) Recuva

                Another great freeware, Recuva offers a wizard based interface to unerase files. Recuva offers scanning deleted files based on their type (music, pictures, videos etc.). It also allows deep scanning in case a file you deleted is unrecoverable via normal search. Like TOKIWA DataRecovery, Recuva also offers securely deleting files. Recuva also has a portable version that you can keep in your flash drive.
    All of these recovery software support recovery from memory sticks, digital camera cards and MP3 players. They support undeleting all types of pictures, software, movies and documents from both FAT and NTFS formatted drives. They work on Windows 8.1, Windows 8, Windows 7, Windows Vista and Windows XP.





Some important tips to increase the chances of getting your deleted files back:-

           1) When a file is deleted accidentally on a storage device, make sure that you don't do anything on it as doing that would increase the chances of new data being written over your deleted files; which would make file recovery impossible.

          2) If you have deleted files on your main computer (the one you are using right now), do not browse the internet, download new software or shut it down. Keep it running and go to another computer, download one of the software mentioned above that is portable and save it on a flash drive. Then plugin the flash drive in your current system and perform file recovery. Regardless of whether you accidentally delete files a lot or not, make sure to always have that software in your flash drive in case you accidentally delete important files.





        3) If one software fails to recover your deleted file, it does not mean that another one wouldn't recover it too.

How to make a Keyboard Disco

Keyboards usually have small LEDs which indicate whether different types of locks are activated or not. Here is a trick to use the lights of your keyboard in a more creative manner in Windows.

This trick uses a simple Visual Basic Script which when activated makes your Scroll lock, Caps lock and Num lock LEDs flash in a cool rhythmic way which gives the perception of a live disco on your keyboard.


To make your own live disco, follow the steps given below:-

1. Open Notepad.
2. Copy paste the exact code given below:-


Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
3. Save the file as Disco.vbs or "*.vbs".

Double click on the Saved file to see the LED lights on your keyboard go crazy and make your own cool disco.

This trick has been tested on Windows XP, Windows Vista, Windows 7 and Windows 8 and found to be working perfectly.

You can disable the keyboard disco by starting Task Manager and ending the wscript.exe process.

How to change Processor Name permanently

Hi guys, In this post I'm gonna show you how to change Processor Name.
  Steps :-
1.  Open Notepad.
2.  Copy and paste the exact code given below:-


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0]
"ProcessorNameString"="My Processor name 50000MHz"
To change the processor name, edit the part of the code given in blue. Also understand that \0 in the above code should only be present if Windows store your processor name at that location. Open the Registry Editor and navigate to the above mentioned keys to check whether or not to include the \0.

3.  Click on File Menu, click on Save As and select "All Types" in the Save as Type option. Save the file as ProcessorNameChange.reg or *.reg.
4.  Create a new shortcut on your desktop. Enter regedit / S "Location of the .reg file" as the location of the item. For example, enter regedit /S "C:\Processor Name.reg" if your registry file is located in the root of C:\ drive.
5. Copy the created Shortcut file.
6.  Navigate to C:\Documents and Settings\All Users\Start Menu\Programs\Startup (in Windows XP) or to C:\Users\ User-Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (in Windows 8, Windows 7 and Windows Vista. Also remember that AppData is a hidden folder.)  if C: is your System drive.
7.  Paste the copied file.


This registry file would now execute each time when Windows starts and the Processor Name String would be modified each time. This means that even upon restarting your computer, you will see that the changed processor name is permanent. 

How to Lock a Folder With Password Using Free Folder Protector

Lock Folder WindowsAll of us have some files and folders that we consider private. They can be anything from our business documents to pictures of friends and family. These are files that we don't want other people using our computer to know about. As Windows offers no way to protect our private information, most of us get in awkward situations when these files are discovered by unwanted people.


Surely, you can store this information in a hidden folder. The only problem is that anyone can easily search the contents of a hidden folder using Windows Search itself.

The only viable solution is storing this content in a password protected folder so that only those people knowing the password of the folder can access it. There are many folder locking programs available online but the problem is that most of the good ones are paid. Even if you do manage to get a good free one, you will be looked at suspiciously when people see a folder locker in the list of your installed programs.
If you too find yourself in a similar situation, you can try Folder Protector, a password protector for Windows folders that is not only free but is also portable meaning that it does not need to be installed. Just click on the exe file and the program will start running. I have created this program based on suggestions and feature requests that I have received by email over the last two years.

Folder Protector

                Folder Protector offers each user a protected folder that can only be opened by entering the password in FolderProtector. Unlike most security programs, Folder Protector is small in size (nearly 58KB) and does not show the folder that it is protecting. This gives an additional advantage that people who don't know the password do not have a target to try and hack their way into. As the software is portable, you can hide it or even delete it after protecting your folder and no one will have a clue that it was used. Then whenever you need to access protected files, you can re-download the program from internet, enter the password and access your protected files.
Important:
          1) This program uses a simple method to lock files and should not be used to protect truly sensitive information. It is best to encrypt that kind of information.

          2) Do not refresh your Windows when your folder is locked. Doing that will delete your files. 


How to use Folder Protector?
          When you run Folder Protector for the first time, the program will ask you for a password that you want to use. Enter a password that you can remember as this will be the password to your protected folder.



         After entering the password, the program will open a folder named SecuredFILES. This is your protected folder. You can add all your private files in this folder. This folder is located at the Desktop. After adding all your files, you may close this folder.

       Then, you can use the menu in the program to lock your folder. To lock the folder, type lock as your action. After successfully locking the folder, FolderProtector will display that the folder is locked.

              
Unlocking the protected folder is easy. Just type unlock as your action. Then the program will ask you to enter your password. Upon successfully entering the password, the program will display the contents of your protected folder.

Changing the Password: Just type change as your action. The program will ask you for your current password. Upon successful entry of the current password, the program will ask for your new password and change it instantly.

Windows Compatibility: This program has been successfully tested on Windows 8.1, Windows 8, Windows 7, Windows Vista and Windows XP.

How to make your computer greet you every time you start Windows

Do you watch movies? Have you always loved the way how Computers in movies welcome their users by calling out their names? I bet that you too would want to know how you can achieve similar results on your PC and have a computer said welcome.

Then you are at the right place, this article describes exactly how you can make your computer welcome you like this.

With this trick, you can make your Computer welcome you in its computerized voice. You can make your Windows based computer say "Welcome to your PC, Username."

Make Windows Greet you with a Custom Voice Message at Startup

To use this trick, follow the instructions given below:-


  1. Click on Start. Navigate to All Programs, Accessories and Notepad.
  2. Copy and paste the exact code given below. 
                          Dim speaks, speech
                         speaks="Welcome to your PC, Username"
                         Set speech=CreateObject("sapi.spvoice")
                         speech.Speak speaks

     3.  Replace Username with your own name.
     4.  Click on File Menu, Save As, select All Types in Save as Type option, and save the file as Welcome.vbs or "*.vbs".
     5.  Copy the saved file.
     6.  Navigate to C:\Documents and Settings\All Users\Start Menu\Programs\Startup (in Windows XP) and to C:\Users\ {User-Name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (in Windows 10, Windows 8, Windows 7 and Windows Vista) if C: is your System drive. AppData is a hidden folder. So, you will need to select showing hidden folders in Folder options to locate it. If you have trouble locating the startup folder, press Windows key+R and type shell:startup in the Run dialog box and press Enter. The startup folder will open.
     7.  Paste the file.
Now when the next time you start your computer, Windows will welcome you in its own computerized voice.

Note: For best results, it is recommended to change sound scheme to No Sounds.
You can change the sound scheme to No Sounds by following the steps given below:-

  1. Go to Control Panel.
  2. Then click on Switch to Classic View.
  3. Then Click on Sounds and Audio Devices.
  4. Then Click on the Sounds Tab.
  5. Select No Sounds from the Sound Scheme option.
  6. If you wish to save your Previous Sound Scheme, you can save it by clicking Yes in the popup menu.
  7. Click on OK.
                               
Try it yourself to see how it works. In my personal opinion, this is an excellent trick. Whenever I start my PC in front of anybody and the PC welcomes me, the fellow is left wondering how brilliant a computer do I have.

Make your Computer Talk with you using VBScript

Have you ever wondered how can you make your computer speak whatever you input to it like in the movies? Would it not be fun? If only it was possible! Rejoice, because now it is possible. Well, if you wish to know how to do this, then you have come to the right place. With this trick, you can create a script in Windows which will make your computer speak whatever you input to it.


To create one such talk script, follow the steps given below:-
Steps
  1. Open Notepad.
  2. Copy and paste the exact code given below.
          Dim Message, Speak
          Message=InputBox("Enter text","Speak")
          Set Speak=CreateObject("sapi.spvoice")
          Speak.Speak Message 
    3. Click on File Menu, Save As, select All Types in Save as Type option, and save the file as Speak.vbs or "*.vbs".
    4.  Double click on the saved file, a window will open like the one in the image. Enter some text in enter text column and click OK.

Now your Computer will speak / talk what you typed in Step 4. Try it yourself. 

Windows Compatibility: This VBS file can be executed on all versions of Windows including Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10.

Personal Experience: I personally showed this trick to many of my friends and they were literally left awestruck. You too can impress your friends by making your PC talk and be the computer wiz.

Thursday, 22 September 2016

Useful Keyboard Shortcuts for Windows Computers

While most of us are already aware of obvious keyboard shortcuts like “Alt+F4” and “Ctrl+C”, there are some obscure shortcuts which most of us tend to overlook. These keyboard shortcuts are not only useful for the average PC user but for advanced users as well. This article contains many such amazing keyboard shortcuts which if used properly could save a lot of time and effort. So let's get started.

Windows key+D: This shortcut is the keyboard equivalent of “Show the Desktop”. It is useful for quickly minimizing every open window when someone walks in and you are doing some private work.



Ctrl+Shift+Esc: This shortcut directly starts the task manager. While Alt+Ctrl+Del was used to bring out the Task Manager in Windows XP and earlier versions, in Windows 10, Windows 8.1, Windows 8 and Windows 7, it just brings up the lock this computer screen.

Ctrl+Click: This shortcut is useful for opening a link in a background tab. This is useful when you have to load a page without leaving the current one.

Alt+Print Screen: takes the screenshot of the current active window as opposed to just Print Screen which takes the screenshot of the entire screen.

Shift+Click for Yes to All and No to All: If you have a lot of dialog boxes asking yes and no question, just shift+click Yes or No on one to yes all or no all.

Ctrl+C on an error dialog box to copy its contents: Suppose your computer is giving an error message and you want to copy its contents to send to the support guy, what do you do? Just press Ctrl+C while the dialog box is highlighted and its contents will be copied to your clipboard.

Ctrl+T: This keyboard shortcut opens a new tab in internet browsers.

Ctrl+Shift+T: Reopens the last closed tab.

Ctrl+Shift+N: This shortcut opens a new incognito window in Google Chrome.

Ctrl+Shift+P: Opens a new private window in Mozilla Firefox.

Alt+Enter after writing the domain name in the address bar of your browser to insert .com automatically.

Shift+Enter inserts .net domain name extension.

Ctrl+W: This shortcut closes the current tab in your browser quickly.

Ctrl+Backspace: This shortcut deletes the last word you have typed. It is useful in case you typed in a wrong word and want to delete it quickly.

Ctrl+Left or Right Arrow key: This shortcut allows you to move the cursor one word at a time instead of the default one character at a time.

Ctrl++: This shortcut allows you to zoom in web pages in web browsers. Useful when text on a web page is too small to read properly. Ctrl+Scroll wheel can also zoom in documents, file thumbnails and icons in Windows 10, Windows 8.1, Windows 8, Windows 7 and Windows Vista.

Ctrl+-: This shortcut does the reverse of the previous shortcut.

Ctrl+0: Reset the webpage's zoom.

Windows key+M: Minimizes all the open windows.

Ctrl+L: This shortcut allows you to quickly jump to the address bar of your web browser.

Windows key+Pause/Break: Quickly open the system properties dialog box.

Ctrl+Shift+Delete: This shortcut opens the option to delete your browser's history, cookies, cache and other details that it stores while you browse the internet. This shortcut is extremely useful for the privacy conscious.

Windows Key+L: This shortcut locks your computer.

Ctrl+H: makes the history appear.

CTRL+B: Bold CTRL+U: Underline CTRL+I: Italic.

Alt+Select: This shortcut allows you to select rectangular blocks of text in Word processors, something that is not possible with simple select.

F2: Allows you to rename the selected file.

Holding Shift while inserting a device with removable storage prevents automatic run.

Ctrl+F: This keyboard shortcut opens the Find option in any program.

Ctrl+S: If you are working on a software and want to quickly save your progress, this shortcut will come in handy.

Ctrl+Home and Ctrl+End: Useful for quickly going to the top and bottom of a page.

Ctrl+P: Useful for printing the current page.

Space Bar: While viewing a web page in a browser, pressing space bar moves the page down.

Alt+Tab: Useful for quickly cycling between running applications. Press along with Shift to cycle backwards.

Ctrl+Tab: Cycle between tabs in your browser.

Ctrl+F5: Clears the cache and refreshes the current tab.

Shift+Right click: Open alternate right click options.

Alt+Double click: Open the file's properties. Alt+Enter can also be used for this.
 

How to know if someone is hacking your computer/ Trace a Hacker using command prompt

Want to know if someone is hacking your computer? Command Prompt can help you find if someone you don't know is connected to your computer stealing private data. Just execute netstat -a and the command prompt will return a list of computers that your computer is connected to. In the results returned, Proto column gives the type of data transmission taking place (TCP or UDP) , Local address column gives the port with which your computer is connected to an external computer and the Foreign Address column gives the external computer you are connected to along with the port being used for the connection. State gives the state of the connection (whether a connection is actually established, or waiting for transmission or is “Timed Out”).
 
    These tricks work on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP and all previous versions of Windows.

How to know if your neighbours are stealing your WiFi connection using command prompt

Command Prompt can let you know if someone is connected to your Local Area Connection and using it. Just follow the steps:-
1) Open your browser and visit http://192.168.1.1 or http://192.168.0.1 depending on your router.
2) Find the tab that mentions “Attached Devices” or something similar.
3) Find the computer name, IP address and MAC Address (sometimes called Physical Address or Hardware Address) of your computer using the previous trick.
4 )Compare it with those displayed by your router in Step 2. If you notice some strange devices, then your neighbour has been sneaking in on your internet connection and it is best to add a password.

   These tricks work on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP and all previous versions of Windows.

How to know your IP address, DNS Server's address and a lot more about your Internet Connection using command prompt

Command Prompt can even let you know your IP address. Just type ipconfig/ all in the command prompt and press Enter. Along with your IP address and DNS servers, command prompt will also return a ton of information like your host name, primary DNS suffix, node type, whether IP Routing ,Wins Proxy, and DHCP are enabled, your network adapter's description, your physical (MAC) address etc .

   These tricks work on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP and all previous versions of Windows.

how to Shutdown Your Computer or a Remote PC using Command Prompt

Most of us shutdown our computers using the power button given in the Start menu. Some of us use the physical power button on our machines. Very few people actually use other means of shutting down a computer and even less is the number of people who use the command prompt to shutdown a computer.

A reason for this is that most of us don't know that the command prompt can be used to not only shutdown, restart or log off our computer instantly but also to shutdown a remote computer provided you have administrative access. It can also be used to hibernate a computer and give a comment containing the reason for shutdown. This post will show you how to do all this.
Required
A computer running Windows (XP, Vista, 7, 8 or 8.1) with the command prompt working perfectly, i.e. not disabled by a virus.
Initial Steps
1) Press Windows Key + R.
2) Enter CMD and press Enter.

This will start the command prompt. Follow the instructions below depending on what you want to do.
Shutdown Local Machine (Your Computer)
Type "shutdown -s" without the quotes in the command prompt and press Enter. Shutdown is the command being executed and the switch -s tells the computer to shutdown.
  Restart your Local Computer
Type "shutdown -r" in the command prompt and press Enter. In this case, the command switch -r is telling the computer to restart after shutdown.

Log Off the Current User
Type "shutdown -l" in the command prompt and press Enter. The -l command switch tells the computer to log off.

Shutdown a Remote Computer
Type "shutdown -s -m \\name of the computer" in the command prompt and press Enter. Replace \\name of the computer with the actual name of the remote computer you are trying to shutdown. As mentioned earlier, you must have administrative access to the computer you are trying to shutdown. To know if you have administrative access, press Windows key + R and then type the name of the computer and press Enter.

Note: If you don't remember the name of the remote computer, you can look for it by opening a list of all the computers you are connected to by executing "net view" in command prompt.

If you can connect to the computer, you will be asked to login with your username and password. Upon entering them, a window will display the list of all the directories available to you. This should help you know whether you can or cannot shutdown the remote computer.
Hibernate a Local Computer
Type in "Rundll32.exe Powrprof.dll,SetSuspendState" without the quotes and press Enter. Your computer should hibernate, if it does not, then you must enable hibernation to do this.

Shutdown your or a remote computer after a specific time
Type "shutdown -s -t 60" to shutdown your computer after 60 seconds. Upon executing this, a countdown timer displaying a warning message will be shown. This command uses the -t command switch followed by a variable (which is 60 in this case) which represents the number of seconds after which the computer will shutdown.

Display a Message containing the reason for shutdown
Type shutdown -s  -t 500 -c "I am tired. I don't want to work anymore." (with the quotes) in the Command Prompt and press Enter. The -c switch is used in the code to give the reason for shutting down and what is followed in quotes will be displayed in the dialog box as the reason. This can be used to display all sorts of funny messages. One example :-

Skynet has become self aware. John Connor did not stop me. You can not use your PC anymore.

Stop a System Shutdown
Type "shutdown -a" and press Enter. This will stop the system from shutting down if the countdown to shut down has not reached 0.


  These tricks work on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows XP and all previous versions of Windows.

Wednesday, 21 September 2016

Notepad Tricks: Cool Notepad tricks for Windows/ Matrix Falling Code Effect - Notepad CMD (.BAT) Tricks

Notepad, the text editor that comes bundled in Windows is an excellent tool for text editing. But that is not the only thing for which notepad is famous. It is also famous for its tricks and hacks. Here is a roundup of some of the best and coolest tricks that you can try using Notepad.

Matrix Falling Code Effect - Notepad CMD (.BAT) Tricks

Inspired by the movie Matrix, this falling code trick is extremely popular on social networking websites. Copy and paste the code given below in Notepad and save the file as "Matrix.bat" or *.bat.


@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks
   
                                             Matrix Falling Code Effect - Notepad Trick
Upon running the bat file, you will see the "Matrix falling code" effect.

All these Notepad tricks are totally harmless and would not harm your PC in any way.  To close any of the VBS trick given, open task manager and close the wscript.exe process. These tricks work on Windows 8, Windows 7, Windows Vista and Windows XP.